From 2c379e2e46071f2f355851eb36a1d13f6ad914c5 Mon Sep 17 00:00:00 2001 From: Jonathan Bian Date: Sun, 10 Mar 2013 22:34:51 -0700 Subject: [PATCH] Added VASliceParameterBufferVP8 to describe data partition related fields. --- va/va_dec_vp8.h | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/va/va_dec_vp8.h b/va/va_dec_vp8.h index db74f4d..0f45d44 100644 --- a/va/va_dec_vp8.h +++ b/va/va_dec_vp8.h @@ -155,16 +155,32 @@ typedef struct _VAPictureParameterBufferVP8 VABoolCoderContextVPX bool_coder_ctx; +} VAPictureParameterBufferVP8; + +/** + * \brief VP8 Slice Parameter Buffer Structure + * + * This structure conveys parameters related to data partitions and should be + * sent once per frame. + * + */ +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. + */ + unsigned int partition_data_offset; /* * offset to the first bit of MB from the first byte of slice data buffer */ unsigned int macroblock_offset; - -} VAPictureParameterBufferVP8; +} VASliceParameterBufferVP8; /** * \brief VP8 Coefficient Probability Data Buffer Structure -- 2.7.4