diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2014-03-27 09:54:49 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-12-07 14:02:34 +0800 |
commit | 403173baf8084dba215423f8687594d932b2045a (patch) | |
tree | ef09096fccbd3364b45123214dd67e4d3b3d30ca | |
parent | 959776b6f77401779c3d2fe7d2e731061e2408f5 (diff) | |
download | libva-403173baf8084dba215423f8687594d932b2045a.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>
(cherry picked from commit 238b914bba8cc41076c14eb2d37938f2f705e78f)
-rw-r--r-- | va/va.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2281,6 +2281,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 |