hardware/intel/libva
Revision | 2acfdb3a5e38e092db1f01ada84f190e7e9fbb24 (tree) |
---|---|
Zeit | 2015-12-07 15:02:44 |
Autor | Jonathan Bian <jonathan.bian@intl...> |
Commiter | Xiang, Haihao |
Added 10-bit YUV RT format value and fourcc codes
(cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)
@@ -461,6 +461,9 @@ typedef struct _VAConfigAttrib { | ||
461 | 461 | #define VA_RT_FORMAT_YUV444 0x00000004 |
462 | 462 | #define VA_RT_FORMAT_YUV411 0x00000008 |
463 | 463 | #define VA_RT_FORMAT_YUV400 0x00000010 |
464 | +/** YUV formats with more than 8 bpp */ | |
465 | +#define VA_RT_FORMAT_YUV420_10BPP 0x00000100 | |
466 | +/** RGB formats */ | |
464 | 467 | #define VA_RT_FORMAT_RGB16 0x00010000 |
465 | 468 | #define VA_RT_FORMAT_RGB32 0x00020000 |
466 | 469 | /* RGBP covers RGBP and BGRP fourcc */ |
@@ -2286,6 +2289,11 @@ VAStatus vaQuerySurfaceError( | ||
2286 | 2289 | * 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes |
2287 | 2290 | */ |
2288 | 2291 | #define VA_FOURCC_YV16 0x36315659 |
2292 | +/** | |
2293 | + * 10-bit and 16-bit Planar YUV 4:2:0. | |
2294 | + */ | |
2295 | +#define VA_FOURCC_P010 0x30313050 | |
2296 | +#define VA_FOURCC_P016 0x36313050 | |
2289 | 2297 | |
2290 | 2298 | /* byte order */ |
2291 | 2299 | #define VA_LSB_FIRST 1 |