hardware/intel/common/libva
修訂 | 992227debe1b5e25da53b2606b4f67c46eb7ad46 (tree) |
---|---|
時間 | 2017-11-17 06:54:22 |
作者 | carpalis <jerome.borsboom@carp...> |
Commiter | Xiang, Haihao |
Add fields for intensity compensation in VC-1 interlaced decoding
Intensity compensation in P interlaced field pictures needs more
elements from the VC-1 bitstream.
Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
@@ -2072,8 +2072,12 @@ typedef struct _VAPictureParameterBufferVC1 | ||
2072 | 2072 | uint32_t value; |
2073 | 2073 | } transform_fields; |
2074 | 2074 | |
2075 | + uint8_t luma_scale2; /* PICTURE_LAYER::LUMSCALE2 */ | |
2076 | + uint8_t luma_shift2; /* PICTURE_LAYER::LUMSHIFT2 */ | |
2077 | + uint8_t intensity_compensation_field; /* Index for PICTURE_LAYER::INTCOMPFIELD value in Table 109 (9.1.1.48) */ | |
2078 | + | |
2075 | 2079 | /** \brief Reserved bytes for future use, must be zero */ |
2076 | - uint32_t va_reserved[VA_PADDING_MEDIUM]; | |
2080 | + uint32_t va_reserved[VA_PADDING_MEDIUM - 1]; | |
2077 | 2081 | } VAPictureParameterBufferVC1; |
2078 | 2082 | |
2079 | 2083 | /** VC-1 Bitplane Buffer |