diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2013-05-10 10:28:51 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-05-28 16:32:08 +0800 |
commit | 0e3c19e747e9185f8a4b09552775cb37c9ca31d4 (patch) | |
tree | 1fe5025fad0c1f1132be4b4d46ce927b17b576dd /va | |
parent | d288216b3bac744390b3823b91679d2f6732b008 (diff) |
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 <haihao.xiang@intel.com>
Diffstat (limited to 'va')
-rw-r--r-- | va/va.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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. */ |