hardware/intel/libva
リビジョン | 05f296c6b8177601d816b45cd6256865b7ba8f57 (tree) |
---|---|
日時 | 2015-12-07 13:51:52 |
作者 | Zhao Yakui <yakui.zhao@inte...> |
コミッター | Xiang, Haihao |
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)
@@ -2281,6 +2281,11 @@ VAStatus vaQuerySurfaceError( | ||
2281 | 2281 | #define VA_FOURCC_RGBP 0x50424752 |
2282 | 2282 | #define VA_FOURCC_BGRP 0x50524742 |
2283 | 2283 | #define VA_FOURCC_411R 0x52313134 /* rotated 411P */ |
2284 | +/** | |
2285 | + * Planar YUV 4:2:2. | |
2286 | + * 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes | |
2287 | + */ | |
2288 | +#define VA_FOURCC_YV16 0x36315659 | |
2284 | 2289 | |
2285 | 2290 | /* byte order */ |
2286 | 2291 | #define VA_LSB_FIRST 1 |