summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intel.com>2013-03-10 22:34:51 -0700
committerXiang, Haihao <haihao.xiang@intel.com>2014-02-13 15:07:31 +0800
commit2c379e2e46071f2f355851eb36a1d13f6ad914c5 (patch)
tree9444613bd070720d0fb39464d371ea842e00a98f
parent1b3cebbdbd545a0f279fc5bf94fcdd21afb82b24 (diff)
Added VASliceParameterBufferVP8 to describe data partition related fields.
-rw-r--r--va/va_dec_vp8.h20
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