[Libva] [PATCH 1/3] Declare I010 support for QueryImageFormats

Mark Thompson sw at jkqxz.net
Mon Dec 5 17:49:43 UTC 2016


Signed-off-by: Mark Thompson <sw at jkqxz.net>
---
It's already returned as a usable surface format for the video processor, but is missing from the list returned by vaQueryImageFormats().

 src/i965_drv_video.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 79a2aec..d83427c 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -268,6 +268,8 @@ i965_image_formats_map[I965_MAX_IMAGE_FORMATS + 1] = {
       { VA_FOURCC_BGRX, VA_LSB_FIRST, 32, 24, 0x00ff0000, 0x0000ff00, 0x000000ff } },
     { I965_SURFACETYPE_YUV,
       { VA_FOURCC_P010, VA_LSB_FIRST, 24, } },
+    { I965_SURFACETYPE_YUV,
+      { VA_FOURCC_I010, VA_LSB_FIRST, 24, } },
 };
 
 /* List of supported subpicture formats */
-- 
2.10.2



More information about the Libva mailing list