diff options
author | Jonathan Bian <jonathan.bian@intel.com> | 2013-03-14 16:36:38 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-02-13 15:07:39 +0800 |
commit | 389b9bc33cdb13ac37706ca8448136e0334866af (patch) | |
tree | cc212f2ac018528983e5be5970a3641cb112e3a0 | |
parent | 2c379e2e46071f2f355851eb36a1d13f6ad914c5 (diff) |
Changes to VASliceParameterBufferVP8 to make it consistent with slice parameter buffer structure for other formats.
-rw-r--r-- | va/va_dec_vp8.h | 29 |
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; /** |