[Libva] [LIBVA][PATCH] Add the fourcc of I010 format

Zhao Yakui yakui.zhao at intel.com
Thu Nov 17 18:23:30 UTC 2016


I010 is another kind of 10-bit format. Its layout is similar to IYUV(I420).
And the lower 10-bit is used.

Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
 va/va.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/va/va.h b/va/va.h
index 88628a8..153a89b 100644
--- a/va/va.h
+++ b/va/va.h
@@ -2545,6 +2545,11 @@ VAStatus vaQuerySurfaceError(
 #define VA_FOURCC_P010          0x30313050
 #define VA_FOURCC_P016          0x36313050
 
+/**
+ * 10-bit Planar YUV 420 and occupy the lower 10-bit.
+ */
+#define VA_FOURCC_I010          0x30313049
+
 /* byte order */
 #define VA_LSB_FIRST		1
 #define VA_MSB_FIRST		2
-- 
2.8.3



More information about the Libva mailing list