summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang, Ce <ce.wang@intel.com>2016-01-27 15:03:36 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2016-01-29 13:59:16 +0800
commit41c3748ba7a2bc0fb7bcccc9bbbaf1a313e1c691 (patch)
treeebe9dcd73a96c330ca0755fe800770dfb1209452
parent98e84c2251adb17c817eb96c95da8cc2b60a5329 (diff)
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)
-rw-r--r--va/va.h5
-rw-r--r--va/va_dec_vp9.h9
2 files changed, 11 insertions, 3 deletions
diff --git a/va/va.h b/va/va.h
index fb3066f..5dcc34e 100644
--- 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;
/**
diff --git a/va/va_dec_vp9.h b/va/va_dec_vp9.h
index 2deddb0..37252be 100644
--- a/va/va_dec_vp9.h
+++ b/va/va_dec_vp9.h
@@ -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;