diff options
author | Xinpeng Sun <xinpeng.sun@intel.com> | 2020-01-15 12:40:35 +0800 |
---|---|---|
committer | XinfengZhang <carl.zhang@intel.com> | 2020-06-09 21:42:27 +0800 |
commit | a307f426f82fa495c7b14e15e625614f16788d9c (patch) | |
tree | 975e21bd36c08c2c52fa756ccc174df3586893e9 | |
parent | 829bde77a157d237f8e665c11952c16fe95e33cf (diff) | |
download | libva-a307f426f82fa495c7b14e15e625614f16788d9c.tar.gz |
add fourcc code for P012 format
Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com>
-rw-r--r-- | va/va.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |