diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2014-03-27 09:54:49 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-03-31 14:42:07 +0800 |
commit | 238b914bba8cc41076c14eb2d37938f2f705e78f (patch) | |
tree | a9f4186898e0834395eba462f45a75ac53c46b05 | |
parent | d842f0a3ead81d550d26b1d2fa35e4510b8238af (diff) | |
download | libva-238b914bba8cc41076c14eb2d37938f2f705e78f.tar.gz |
Add the new YV16 fourcc code
Some input sources require YV16, which is described as the following:
Planar YUV4:2:2; 8 bit Y plane, followed by 8 bit 2x1 subsampled
V and U planes.
V1->V2: Follow Gwenole and Haihao to update the comment
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
-rw-r--r-- | va/va.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2631,6 +2631,11 @@ VAStatus vaQuerySurfaceError( #define VA_FOURCC_RGBP 0x50424752 #define VA_FOURCC_BGRP 0x50524742 #define VA_FOURCC_411R 0x52313134 /* rotated 411P */ +/** + * Planar YUV 4:2:2. + * 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes + */ +#define VA_FOURCC_YV16 0x36315659 /* byte order */ #define VA_LSB_FIRST 1 |