diff options
author | Jun Zhao <mypopydev@gmail.com> | 2017-07-09 10:48:36 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-27 12:49:34 +0800 |
commit | 8035c8afd8bc2f93c012aa861de73366addaa659 (patch) | |
tree | 669867924ee417669ef85125de39272778dca508 | |
parent | 3bd33daaf3a537da8dbe2c63fb53fd256468c7a7 (diff) | |
download | libva-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |