Module: Mesa
Branch: main
Commit: 2b6301e870f03c3d65e3087a15240e4b6d2c34e3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b6301e870f03c3d65e3087a15240e4b6d2c34e3

Author: Honglei Huang <[email protected]>
Date:   Thu Dec 15 16:02:09 2022 +0800

virgl/video: Add support for hevc10bit decoding.

Add P010 CONV_FORMAT to support virgl hevc10bit decoding.

Signed-off-by: Honglei Huang <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Reviewed-by: Boyuan Zhang <[email protected]>
Reviewed-by: Daniel Almeida <[email protected]>
Reviewed-by: Feng Jiang <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22108>

---

 src/gallium/drivers/virgl/virgl_encode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/virgl/virgl_encode.c 
b/src/gallium/drivers/virgl/virgl_encode.c
index f0097c0d825..7fbc7d03ba0 100644
--- a/src/gallium/drivers/virgl/virgl_encode.c
+++ b/src/gallium/drivers/virgl/virgl_encode.c
@@ -312,6 +312,7 @@ static const enum virgl_formats 
virgl_formats_conv_table[PIPE_FORMAT_COUNT] = {
    CONV_FORMAT(ASTC_10x10_SRGB)
    CONV_FORMAT(ASTC_12x10_SRGB)
    CONV_FORMAT(ASTC_12x12_SRGB)
+   CONV_FORMAT(P010)
 };
 
 enum virgl_formats pipe_to_virgl_format(enum pipe_format format)

Reply via email to