From 0e3c19e747e9185f8a4b09552775cb37c9ca31d4 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Fri, 10 May 2013 10:28:51 +0800 Subject: va: Add a flag to signal APP whether the driver support raw packed header Modify the comments for VAEncPackedHeaderRawData as well Signed-off-by: Xiang, Haihao --- va/va.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'va') diff --git a/va/va.h b/va/va.h index c6c98d4..a65e2db 100644 --- a/va/va.h +++ b/va/va.h @@ -393,6 +393,8 @@ typedef struct _VAConfigAttrib { #define VA_ENC_PACKED_HEADER_SLICE 0x00000004 /** \brief Driver supports misc packed headers. e.g. SEI for H.264. */ #define VA_ENC_PACKED_HEADER_MISC 0x00000008 +/** \brief Driver supports raw packed header, see VAEncPackedHeaderRawData */ +#define VA_ENC_PACKED_HEADER_RAW_DATA 0x0000000C /**@}*/ /** @name Attribute values for VAConfigAttribEncInterlaced */ @@ -706,8 +708,9 @@ typedef enum { * \brief Packed raw header. * * Packed raw data header can be used by the client to insert a header - * into the bitstream data buffer at the point it is passed, without - * any handling or interpretation by the implementation. + * into the bitstream data buffer at the point it is passed, the driver + * will handle the raw packed header based on "has_emulation_bytes" field + * in the packed header parameter structure. */ VAEncPackedHeaderRawData = 4, /** \brief Misc packed header. See codec-specific definitions. */ -- cgit v1.2.3