From 3ece9ca2c70917c9399dac4c530a7017103d057b Mon Sep 17 00:00:00 2001 From: Jonathan Bian Date: Thu, 14 Mar 2013 16:36:38 -0700 Subject: Changes to VASliceParameterBufferVP8 to make it consistent with slice parameter buffer structure for other formats. --- va/va_dec_vp8.h | 29 ++++++++++++++++++----------- 1 file 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; /** -- cgit v1.2.1