hardware/intel/libva
Revisión | 2c379e2e46071f2f355851eb36a1d13f6ad914c5 (tree) |
---|---|
Tiempo | 2014-02-13 16:07:31 |
Autor | Jonathan Bian <jonathan.bian@inte...> |
Commiter | Xiang, Haihao |
Added VASliceParameterBufferVP8 to describe data partition related fields.
@@ -155,16 +155,32 @@ typedef struct _VAPictureParameterBufferVP8 | ||
155 | 155 | |
156 | 156 | VABoolCoderContextVPX bool_coder_ctx; |
157 | 157 | |
158 | +} VAPictureParameterBufferVP8; | |
159 | + | |
160 | +/** | |
161 | + * \brief VP8 Slice Parameter Buffer Structure | |
162 | + * | |
163 | + * This structure conveys parameters related to data partitions and should be | |
164 | + * sent once per frame. | |
165 | + * | |
166 | + */ | |
167 | +typedef struct _VASliceParameterBufferVP8 | |
168 | +{ | |
158 | 169 | /* Partitions */ |
159 | 170 | unsigned char num_of_partitions; |
160 | 171 | unsigned int partition_size[9]; |
172 | + /* | |
173 | + * slice data buffer of VASliceDataBufferType is used to send the | |
174 | + * partition data. This field specifies the offset to the first byte of | |
175 | + * partition data in the buffer. | |
176 | + */ | |
177 | + unsigned int partition_data_offset; | |
161 | 178 | |
162 | 179 | /* |
163 | 180 | * offset to the first bit of MB from the first byte of slice data buffer |
164 | 181 | */ |
165 | 182 | unsigned int macroblock_offset; |
166 | - | |
167 | -} VAPictureParameterBufferVP8; | |
183 | +} VASliceParameterBufferVP8; | |
168 | 184 | |
169 | 185 | /** |
170 | 186 | * \brief VP8 Coefficient Probability Data Buffer Structure |