[vlc-commits] dxgi_fmt: allow hardware decoding to Y410 (4:4:4 10 bit)

Steve Lhomme git at videolan.org
Fri Mar 13 10:28:48 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 13 09:22:51 2020 +0100| [3a2aa3deeb3d61f7f75322f1874e6d575bb5a09f] | committer: Steve Lhomme

dxgi_fmt: allow hardware decoding to Y410 (4:4:4 10 bit)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a2aa3deeb3d61f7f75322f1874e6d575bb5a09f
---

 modules/video_chroma/dxgi_fmt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index 72ff1dc126..fd42585608 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -75,6 +75,7 @@ static const d3d_format_t d3d_formats[] = {
     { "Y416",     DXGI_FORMAT_Y416,           VLC_CODEC_I444_16L,     16, 1, 1, { DXGI_FORMAT_R16G16B16A16_UINT } },
 #endif
     { "VA_Y210",  DXGI_FORMAT_Y210,           VLC_CODEC_D3D11_OPAQUE_10B, 10, 1, 2, { DXGI_FORMAT_R16G16B16A16_UNORM } },
+    { "VA_Y410",  DXGI_FORMAT_Y410,           VLC_CODEC_D3D11_OPAQUE_10B, 10, 1, 1, { DXGI_FORMAT_R10G10B10A2_UNORM } },
 #ifdef UNTESTED
     { "Y210",     DXGI_FORMAT_Y210,           VLC_CODEC_I422_10L,     10, 1, 2, { DXGI_FORMAT_R16G16B16A16_UNORM } },
     { "Y410",     DXGI_FORMAT_Y410,           VLC_CODEC_I444,         10, 1, 1, { DXGI_FORMAT_R10G10B10A2_UNORM } },



More information about the vlc-commits mailing list