hardware/intel/libva
修订版 | 41c3748ba7a2bc0fb7bcccc9bbbaf1a313e1c691 (tree) |
---|---|
时间 | 2016-01-29 14:59:16 |
作者 | Wang, Ce <ce.wang@inte...> |
Commiter | Xiang, Haihao |
Add support for 10b vp9 decode
v2:
recover VAProfileVP9Profile1~3 from the original patch
v1:
initial
Signed-off-by: Sun, Maggie <maggie.sun@intel.com>
Signed-off-by: peng.chen <peng.c.chen@intel.com>
(cherry picked from commit 000622dad919387ac40f3ad48157d5db925c1ce9)
@@ -303,7 +303,10 @@ typedef enum | ||
303 | 303 | VAProfileH264StereoHigh = 16, |
304 | 304 | VAProfileHEVCMain = 17, |
305 | 305 | VAProfileHEVCMain10 = 18, |
306 | - VAProfileVP9Profile0 = 19 | |
306 | + VAProfileVP9Profile0 = 19, | |
307 | + VAProfileVP9Profile1 = 20, | |
308 | + VAProfileVP9Profile2 = 21, | |
309 | + VAProfileVP9Profile3 = 22 | |
307 | 310 | } VAProfile; |
308 | 311 | |
309 | 312 | /** |
@@ -182,10 +182,15 @@ typedef struct _VADecPictureParameterBufferVP9 | ||
182 | 182 | uint8_t segment_pred_probs[3]; |
183 | 183 | |
184 | 184 | /** \brief VP9 Profile definition |
185 | - * value can be 0 or 1. | |
186 | - */ | |
185 | + * value range [0..3]. | |
186 | + */ | |
187 | 187 | uint8_t profile; |
188 | 188 | |
189 | + /** \brief VP9 bit depth per sample | |
190 | + * same for both luma and chroma samples. | |
191 | + */ | |
192 | + uint8_t bit_depth; | |
193 | + | |
189 | 194 | /**@}*/ |
190 | 195 | |
191 | 196 | } VADecPictureParameterBufferVP9; |