summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinpeng Sun <xinpeng.sun@intel.com>2020-01-15 12:40:35 +0800
committerXinfengZhang <carl.zhang@intel.com>2020-06-09 21:42:27 +0800
commita307f426f82fa495c7b14e15e625614f16788d9c (patch)
tree975e21bd36c08c2c52fa756ccc174df3586893e9
parent829bde77a157d237f8e665c11952c16fe95e33cf (diff)
downloadlibva-a307f426f82fa495c7b14e15e625614f16788d9c.tar.gz
add fourcc code for P012 format
Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com>
-rw-r--r--va/va.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 4c170c3..318e99e 100644
--- a/va/va.h
+++ b/va/va.h
@@ -3988,6 +3988,12 @@ VAStatus vaQuerySurfaceError(
* The first plane contains Y, the second plane contains U and V in pairs of samples.
*/
#define VA_FOURCC_P010 0x30313050
+/** P012: two-plane 12-bit YUV 4:2:0.
+ *
+ * Each sample is a two-byte little-endian value with the bottom four bits ignored.
+ * The first plane contains Y, the second plane contains U and V in pairs of samples.
+ */
+#define VA_FOURCC_P012 0x32313050
/** P016: two-plane 16-bit YUV 4:2:0.
*
* Each sample is a two-byte little-endian value. The first plane contains Y, the second