summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Wang <yan.wang@linux.intel.com>2020-07-14 14:14:52 +0800
committerXinfengZhang <carl.zhang@intel.com>2020-08-13 16:00:07 +0800
commit37e320b780c49f7514eda882bca62a6d365a2ced (patch)
tree1d9435d8ca1a070a5c6af3f913a7d98569860674
parentb2e28d8277cac415426714f9f749807ab7bdafa2 (diff)
downloadlibva-37e320b780c49f7514eda882bca62a6d365a2ced.tar.gz
Add FOURCC code for Y212 and Y412 format.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
-rw-r--r--va/va.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index f3202dc..6577cf5 100644
--- a/va/va.h
+++ b/va/va.h
@@ -4052,6 +4052,12 @@ VAStatus vaSyncBuffer(
* with the bottom six bits ignored. The samples are in the order Y, U, Y, V.
*/
#define VA_FOURCC_Y210 0x30313259
+/** Y212: packed 12-bit YUV 4:2:2.
+ *
+ * Eight bytes represent a pair of pixels. Each sample is a two-byte little-endian value.
+ * The samples are in the order Y, U, Y, V.
+ */
+#define VA_FOURCC_Y212 0x32313259
/** Y216: packed 16-bit YUV 4:2:2.
*
* Eight bytes represent a pair of pixels. Each sample is a two-byte little-endian value.
@@ -4064,6 +4070,12 @@ VAStatus vaSyncBuffer(
* A, V, Y, U are found in bits 31:30, 29:20, 19:10, 9:0 respectively.
*/
#define VA_FOURCC_Y410 0x30313459
+/** Y412 packed 12-bit YUVA 4:4:4.
+ *
+ * Each pixel is a set of four samples, each of which is a two-byte little-endian value.
+ * The samples are in the order A, V, Y, U.
+ */
+#define VA_FOURCC_Y412 0x32313459
/** Y416: packed 16-bit YUVA 4:4:4.
*
* Each pixel is a set of four samples, each of which is a two-byte little-endian value.