[vlc-commits] direct3d9: add support for Y410 (4:4:4 10 bit) rendering

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


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 13 08:42:21 2020 +0100| [7fbe530406f4532ae22208084c8c1ae19386dfb7] | committer: Steve Lhomme

direct3d9: add support for Y410 (4:4:4 10 bit) rendering

Via DXVA-HD conversion to RGB or possibly StretchRect if it supports it.

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

 modules/video_output/win32/direct3d9.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 72f49fd543..06f1ab22bb 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1355,6 +1355,7 @@ static const d3d9_format_t d3d_formats[] = {
     { "DXA9_444",   MAKEFOURCC('A','Y','U','V'),    VLC_CODEC_D3D9_OPAQUE,  0,0,0 },
     { "DXA9_10",    MAKEFOURCC('P','0','1','0'),    VLC_CODEC_D3D9_OPAQUE_10B, 0,0,0 },
     { "DXA9_10_422", MAKEFOURCC('Y','2','1','0'),   VLC_CODEC_D3D9_OPAQUE_10B, 0,0,0 },
+    { "DXA9_10_444", MAKEFOURCC('Y','4','1','0'),   VLC_CODEC_D3D9_OPAQUE_10B, 0,0,0 },
     { "UYVY",       D3DFMT_UYVY,    VLC_CODEC_UYVY,  0,0,0 },
     { "YUY2",       D3DFMT_YUY2,    VLC_CODEC_YUYV,  0,0,0 },
     { "X8R8G8B8",   D3DFMT_X8R8G8B8,VLC_CODEC_RGB32, 0xff0000, 0x00ff00, 0x0000ff },



More information about the vlc-commits mailing list