OSDN Git Service

Changes to VASliceParameterBufferVP8 to make it consistent with slice parameter buffe...
authorJonathan Bian <jonathan.bian@intel.com>
Thu, 14 Mar 2013 23:36:38 +0000 (16:36 -0700)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 13 Feb 2014 07:07:39 +0000 (15:07 +0800)
va/va_dec_vp8.h

index 0f45d44..a3526f7 100644 (file)
@@ -161,25 +161,32 @@ typedef struct  _VAPictureParameterBufferVP8
  * \brief VP8 Slice Parameter Buffer Structure
  *
  * This structure conveys parameters related to data partitions and should be 
- * sent once per frame.
+ * sent once per frame. Slice data buffer of VASliceDataBufferType is used
+ * to send the partition data.
  *
  */
 typedef struct  _VASliceParameterBufferVP8
 {
-    /* Partitions */
-    unsigned char num_of_partitions;
-    unsigned int partition_size[9];
-    /* 
-     * slice data buffer of VASliceDataBufferType is used to send the 
-     * partition data. This field specifies the offset to the first byte of 
-     * partition data in the buffer.
+    /*
+     * number of bytes in the slice data buffer for the partitions 
      */
-    unsigned int partition_data_offset;
-
+    unsigned int slice_data_size;
+    /*
+     * offset to the first byte of partition data
+     */
+    unsigned int slice_data_offset;
+    /*
+     * see VA_SLICE_DATA_FLAG_XXX definitions
+     */
+    unsigned int slice_data_flag; 
     /*
-     * offset to the first bit of MB from the first byte of slice data buffer
+     * offset to the first bit of MB from the first byte of partition data
      */
     unsigned int macroblock_offset;
+
+    /* Partitions */
+    unsigned char num_of_partitions;
+    unsigned int partition_size[9];
 } VASliceParameterBufferVP8;
 
 /**