OSDN Git Service

Add support for 10b vp9 decode
authorWang, Ce <ce.wang@intel.com>
Wed, 27 Jan 2016 07:03:36 +0000 (15:03 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 29 Jan 2016 05:40:59 +0000 (13:40 +0800)
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>
va/va.h
va/va_dec_vp9.h

diff --git a/va/va.h b/va/va.h
index fb3066f..5dcc34e 100644 (file)
--- a/va/va.h
+++ b/va/va.h
@@ -303,7 +303,10 @@ typedef enum
     VAProfileH264StereoHigh             = 16,
     VAProfileHEVCMain                   = 17,
     VAProfileHEVCMain10                 = 18,
-    VAProfileVP9Profile0                = 19
+    VAProfileVP9Profile0                = 19,
+    VAProfileVP9Profile1                = 20,
+    VAProfileVP9Profile2                = 21,
+    VAProfileVP9Profile3                = 22
 } VAProfile;
 
 /**
index 2deddb0..37252be 100644 (file)
@@ -182,10 +182,15 @@ typedef struct  _VADecPictureParameterBufferVP9
     uint8_t                 segment_pred_probs[3];
 
     /** \brief VP9 Profile definition
-     *  value can be 0 or 1.
-     */
+     *  value range [0..3].
+      */
     uint8_t                 profile;
 
+    /** \brief VP9 bit depth per sample
+     *  same for both luma and chroma samples.
+     */
+    uint8_t                 bit_depth;
+
     /**@}*/
 
 } VADecPictureParameterBufferVP9;