summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2017-07-09 10:48:36 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-09-27 12:49:34 +0800
commit8035c8afd8bc2f93c012aa861de73366addaa659 (patch)
tree669867924ee417669ef85125de39272778dca508
parent3bd33daaf3a537da8dbe2c63fb53fd256468c7a7 (diff)
downloadlibva-8035c8afd8bc2f93c012aa861de73366addaa659.tar.gz
va: Add the fourcc of I420 format
i965 will return the I420 in vaQuerySurfaceAttributes, but va.h didn't add the pre-define fourcc, and will deprecate IYUV because it same as I420 but most user perfer I420. Signed-off-by: Jun Zhao <jun.zhao@intel.com>
-rw-r--r--va/va.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 8d7e3c8..e60f67c 100644
--- a/va/va.h
+++ b/va/va.h
@@ -2615,7 +2615,9 @@ VAStatus vaQuerySurfaceError(
#define VA_FOURCC_NV11 0x3131564e
#define VA_FOURCC_YV12 0x32315659
#define VA_FOURCC_P208 0x38303250
+/* IYUV same as I420, but most user perfer I420, will deprecate it */
#define VA_FOURCC_IYUV 0x56555949
+#define VA_FOURCC_I420 0x30323449
#define VA_FOURCC_YV24 0x34325659
#define VA_FOURCC_YV32 0x32335659
#define VA_FOURCC_Y800 0x30303859