diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2011-08-23 10:33:34 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2011-09-08 16:52:52 +0800 |
commit | def838f218a021a539c51469c989a833a09895f5 (patch) | |
tree | 7578a47bdd3fba287e000821c1bfd81052d622b4 | |
parent | aa66f4f47e1be80eb480c567168d985ae369c3ae (diff) | |
download | libva-def838f218a021a539c51469c989a833a09895f5.tar.gz |
Update from Jonathan
Add a "flags" field to VAProcInputParameterBuffer
The associated macro definitions are added as well
-rw-r--r-- | va/va.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2350,6 +2350,13 @@ typedef struct _VAProcPipelineParameterBuffer unsigned int output_background_color; } VAProcPipelineParameterBuffer; +/* + * flags for VAProcInputParameterBuffer + */ +#define VA_PROC_INPUT_PARAMETER_FRAME_PICTURE 0x00000000 /* surface holds a progressive frame */ +#define VA_PROC_INPUT_PARAMETER_TOP_FIELD_FIRST 0x00000001 /* surface holds two fields with top field first */ +#define VA_PROC_INPUT_PARAMETER_BOTTOM_FIELD_FIRST 0x00000002 /* surface holds two fields with bottom field first */ + typedef struct _VAProcInputParameterBuffer { VASurfaceID surface; @@ -2360,6 +2367,7 @@ typedef struct _VAProcInputParameterBuffer unsigned int num_backward_reference; VASurfaceID *forward_referrence; /* array of forward reference frames */ VASurfaceID *backward_reference; /* array of backward reference frames */ + unsigned int flags; } VAProcInputParameterBuffer; typedef struct _VAProcFilterBaseParameterBuffer |