diff options
author | Jonathan Bian <jonathan.bian@intle.com> | 2014-09-28 16:21:17 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-12-07 14:02:44 +0800 |
commit | 2acfdb3a5e38e092db1f01ada84f190e7e9fbb24 (patch) | |
tree | 9539b70f5a7dde31f3fa6147aa47546566de3d50 | |
parent | 403173baf8084dba215423f8687594d932b2045a (diff) | |
download | libva-2acfdb3a5e38e092db1f01ada84f190e7e9fbb24.tar.gz |
Added 10-bit YUV RT format value and fourcc codes
(cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)
-rw-r--r-- | va/va.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -461,6 +461,9 @@ typedef struct _VAConfigAttrib { #define VA_RT_FORMAT_YUV444 0x00000004 #define VA_RT_FORMAT_YUV411 0x00000008 #define VA_RT_FORMAT_YUV400 0x00000010 +/** YUV formats with more than 8 bpp */ +#define VA_RT_FORMAT_YUV420_10BPP 0x00000100 +/** RGB formats */ #define VA_RT_FORMAT_RGB16 0x00010000 #define VA_RT_FORMAT_RGB32 0x00020000 /* RGBP covers RGBP and BGRP fourcc */ @@ -2286,6 +2289,11 @@ VAStatus vaQuerySurfaceError( * 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes */ #define VA_FOURCC_YV16 0x36315659 +/** + * 10-bit and 16-bit Planar YUV 4:2:0. + */ +#define VA_FOURCC_P010 0x30313050 +#define VA_FOURCC_P016 0x36313050 /* byte order */ #define VA_LSB_FIRST 1 |