From 99d61001e9494aa214fb328a32ed2abd1656c28d Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Thu, 13 Jun 2019 16:47:35 -0700 Subject: [PATCH] virgl_hw: add YUV support Add corresponding entries from p_format.h Reviewed-by: Gert Wollny Reviewed-by: Emil Velikov Signed-off-by: Gurchetan Singh --- src/virgl_hw.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/virgl_hw.h b/src/virgl_hw.h index ab53b76..3104e1b 100644 --- a/src/virgl_hw.h +++ b/src/virgl_hw.h @@ -138,6 +138,12 @@ enum virgl_formats { VIRGL_FORMAT_L32_FLOAT = 160, VIRGL_FORMAT_L32A32_FLOAT = 161, + VIRGL_FORMAT_YV12 = 163, + VIRGL_FORMAT_YV16 = 164, + VIRGL_FORMAT_IYUV = 165, /**< aka I420 */ + VIRGL_FORMAT_NV12 = 166, + VIRGL_FORMAT_NV21 = 167, + VIRGL_FORMAT_R8_UINT = 177, VIRGL_FORMAT_R8G8_UINT = 178, VIRGL_FORMAT_R8G8B8_UINT = 179,