[Libva] [PATCH 42/42] va: Add a flag to signal APP whether the driver support raw packed header

Xiang, Haihao haihao.xiang at intel.com
Mon May 13 00:52:06 PDT 2013


Modify the comments for VAEncPackedHeaderRawData as well

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
 va/va.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/va/va.h b/va/va.h
index 127278c..6fe742a 100644
--- a/va/va.h
+++ b/va/va.h
@@ -423,6 +423,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 */
@@ -736,8 +738,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. */
-- 
1.7.4.1



More information about the Libva mailing list