diff options
-rw-r--r-- | va/va.h | 2 | ||||
-rw-r--r-- | va/va_enc_mpeg2.h | 13 |
2 files changed, 15 insertions, 0 deletions
@@ -1643,6 +1643,8 @@ typedef enum VAEncMiscParameterTypeCustomRoundingControl = 17, /** \brief Buffer type used for FEI input frame level parameters */ VAEncMiscParameterTypeFEIFrameControl = 18, + /** \brief encode extension buffer, ect. MPEG2 Sequence extenstion data */ + VAEncMiscParameterTypeExtensionData = 19 } VAEncMiscParameterType; /** \brief Packed header type. */ diff --git a/va/va_enc_mpeg2.h b/va/va_enc_mpeg2.h index 06f0e63..43663bd 100644 --- a/va/va_enc_mpeg2.h +++ b/va/va_enc_mpeg2.h @@ -287,6 +287,19 @@ typedef struct _VAEncSliceParameterBufferMPEG2 { uint32_t va_reserved[VA_PADDING_LOW]; } VAEncSliceParameterBufferMPEG2; +typedef struct _VAEncMiscParameterExtensionDataSeqDisplayMPEG2 +{ + /** should always be 0x02 to identify it is Sequence Display Extension ISO-13818 */ + uint8_t extension_start_code_identifier; + /** these field should follow ISO-13818 6.3.6 */ + uint8_t video_format; + uint8_t colour_description; + uint8_t colour_primaries; + uint8_t transfer_characteristics; + uint8_t matrix_coefficients; + uint16_t display_horizontal_size; + uint16_t display_vertical_size; +} VAEncMiscParameterExtensionDataSeqDisplayMPEG2; /**@}*/ #ifdef __cplusplus |