| 1 |
/* |
| 2 |
* Copyright © 2014 Intel Corporation |
| 3 |
* |
| 4 |
* Permission is hereby granted, free of charge, to any person obtaining a |
| 5 |
* copy of this software and associated documentation files (the |
| 6 |
* "Software"), to deal in the Software without restriction, including |
| 7 |
* without limitation the rights to use, copy, modify, merge, publish, |
| 8 |
* distribute, sub license, and/or sell copies of the Software, and to |
| 9 |
* permit persons to whom the Software is furnished to do so, subject to |
| 10 |
* the following conditions: |
| 11 |
* |
| 12 |
* The above copyright notice and this permission notice (including the |
| 13 |
* next paragraph) shall be included in all copies or substantial portions |
| 14 |
* of the Software. |
| 15 |
* |
| 16 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 17 |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 18 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. |
| 19 |
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR |
| 20 |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 21 |
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 22 |
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 23 |
* |
| 24 |
*/ |
| 25 |
|
| 26 |
#ifndef _GEN8_POST_PROCESSING_H_ |
| 27 |
#define _GEN8_POST_PROCESSING_H_ |
| 28 |
|
| 29 |
VAStatus pp_null_initialize(VADriverContextP ctx, struct i965_post_processing_context *pp_context, |
| 30 |
const struct i965_surface *src_surface, |
| 31 |
const VARectangle *src_rect, |
| 32 |
struct i965_surface *dst_surface, |
| 33 |
const VARectangle *dst_rect, |
| 34 |
void *filter_param); |
| 35 |
|
| 36 |
VAStatus |
| 37 |
gen8_pp_plx_avs_initialize(VADriverContextP ctx, struct i965_post_processing_context *pp_context, |
| 38 |
const struct i965_surface *src_surface, |
| 39 |
const VARectangle *src_rect, |
| 40 |
struct i965_surface *dst_surface, |
| 41 |
const VARectangle *dst_rect, |
| 42 |
void *filter_param); |
| 43 |
|
| 44 |
VAStatus |
| 45 |
gen8_pp_nv12_blending_initialize(VADriverContextP ctx, struct i965_post_processing_context *pp_context, |
| 46 |
const struct i965_surface *src_surface, |
| 47 |
const VARectangle *src_rect, |
| 48 |
struct i965_surface *dst_surface, |
| 49 |
const VARectangle *dst_rect, |
| 50 |
void *filter_param); |
| 51 |
|
| 52 |
void |
| 53 |
gen8_pp_vfe_state(VADriverContextP ctx, |
| 54 |
struct i965_post_processing_context *pp_context); |
| 55 |
|
| 56 |
void |
| 57 |
gen8_interface_descriptor_load(VADriverContextP ctx, |
| 58 |
struct i965_post_processing_context *pp_context); |
| 59 |
|
| 60 |
void |
| 61 |
gen8_pp_curbe_load(VADriverContextP ctx, |
| 62 |
struct i965_post_processing_context *pp_context); |
| 63 |
|
| 64 |
void |
| 65 |
gen8_pp_object_walker(VADriverContextP ctx, |
| 66 |
struct i965_post_processing_context *pp_context); |
| 67 |
|
| 68 |
void |
| 69 |
gen8_pp_states_setup(VADriverContextP ctx, |
| 70 |
struct i965_post_processing_context *pp_context); |
| 71 |
|
| 72 |
VAStatus |
| 73 |
gen8_pp_initialize(VADriverContextP ctx, |
| 74 |
struct i965_post_processing_context *pp_context, |
| 75 |
const struct i965_surface *src_surface, |
| 76 |
const VARectangle *src_rect, |
| 77 |
struct i965_surface *dst_surface, |
| 78 |
const VARectangle *dst_rect, |
| 79 |
int pp_index, |
| 80 |
void *filter_param); |
| 81 |
|
| 82 |
void |
| 83 |
gen8_post_processing_context_common_init(VADriverContextP ctx, |
| 84 |
void *data, |
| 85 |
struct pp_module *pp_modules, |
| 86 |
int num_pp_modules, |
| 87 |
struct intel_batchbuffer *batch); |
| 88 |
|
| 89 |
#endif |