diff options
author | Jonathan Bian <jonathan.bian@intel.com> | 2013-03-10 22:34:51 -0700 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-08-27 11:16:43 +0200 |
commit | 4f8267d7dd0d90c602dd3196afae8dbe80f9444f (patch) | |
tree | 1ba76e609d01fea9783173de7d48502ad30bb73e | |
parent | 9f8e033378d10251545086cb26203778d7c8d94f (diff) | |
download | libva-4f8267d7dd0d90c602dd3196afae8dbe80f9444f.tar.gz |
Added VASliceParameterBufferVP8 to describe data partition related fields.
-rw-r--r-- | va/va_dec_vp8.h | 20 |
1 files 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 |