summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intel.com>2013-03-14 16:36:38 -0700
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-08-27 11:16:44 +0200
commit3ece9ca2c70917c9399dac4c530a7017103d057b (patch)
tree126c23f79c4608827d41fc52d67a5b858f67a119
parentc047a8dac7d4312bf10365613a4152498edfdb7f (diff)
downloadlibva-3ece9ca2c70917c9399dac4c530a7017103d057b.tar.gz
Changes to VASliceParameterBufferVP8 to make it consistent with slice parameter buffer structure for other formats.
-rw-r--r--va/va_dec_vp8.h29
1 files changed, 18 insertions, 11 deletions
diff --git a/va/va_dec_vp8.h b/va/va_dec_vp8.h
index 0f45d44..a3526f7 100644
--- a/va/va_dec_vp8.h
+++ b/va/va_dec_vp8.h
@@ -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;
/**