diff options
author | Chen, Jason K <jason.k.chen@intel.com> | 2018-12-06 17:14:01 +0800 |
---|---|---|
committer | XinfengZhang <carl.zhang@intel.com> | 2019-05-14 23:19:20 -0700 |
commit | 520b9e54f95d722654ccf034f01a7f5bc043d338 (patch) | |
tree | fe8e5bd05b7b7ea7add5248a220959b1c896c992 /va/va.h | |
parent | 87dcca01a57a2c1b486c0b3ca108a0b349649510 (diff) | |
download | libva-2.5.0.pre3.tar.gz |
Add new definition for input/output surface flag2.5.0.pre3
The added bits in input_surface_flag/output_surface_flag are used to specify the sample type for scaling of interlaced content.
Signed-off-by: Chen, Jason K <jason.k.chen@intel.com>
Diffstat (limited to 'va/va.h')
-rw-r--r-- | va/va.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -214,10 +214,18 @@ typedef int VAStatus; /** Return status type from functions */ #define VA_STATUS_ERROR_NOT_ENOUGH_BUFFER 0x00000025 #define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF -/** De-interlacing flags for vaPutSurface() */ +/** + * 1. De-interlacing flags for vaPutSurface() + * 2. Surface sample type for input/output surface flag + * - Progressive: VA_FRAME_PICTURE + * - Interleaved: VA_TOP_FIELD_FIRST, VA_BOTTOM_FIELD_FIRST + * - Field: VA_TOP_FIELD, VA_BOTTOM_FIELD +*/ #define VA_FRAME_PICTURE 0x00000000 #define VA_TOP_FIELD 0x00000001 #define VA_BOTTOM_FIELD 0x00000002 +#define VA_TOP_FIELD_FIRST 0x00000004 +#define VA_BOTTOM_FIELD_FIRST 0x00000008 /** * Enabled the positioning/cropping/blending feature: |