va: Add a flag to signal APP whether the driver support raw packed header
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 10 May 2013 02:28:51 +0000 (10:28 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 28 May 2013 08:32:08 +0000 (16:32 +0800)
Modify the comments for VAEncPackedHeaderRawData as well

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
va/va.h

diff --git a/va/va.h b/va/va.h
index c6c98d4..a65e2db 100644 (file)
--- 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. */