[Libva] [PATCH 2/6] Added VASliceParameterBufferVP8 to describe data partition related fields.
Xiang, Haihao
haihao.xiang at intel.com
Thu Feb 13 08:39:34 CET 2014
From: Jonathan Bian <jonathan.bian at intel.com>
---
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
--
1.7.9.5
More information about the Libva
mailing list