Discussion:
[LIBVA][PATCH] Add the fourcc of I010 format
(too old to reply)
Zhao Yakui
2016-11-17 18:23:30 UTC
Permalink
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 <***@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
Xiang, Haihao
2016-11-21 02:06:20 UTC
Permalink
Thank for the patch, applied.
Post by Zhao Yakui
I010 is another kind of 10-bit format. Its layout is similar to IYUV(I420).
And the lower 10-bit is used.
---
 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
Loading...