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

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


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

direct3d9: add support for Y210 (4:2:2 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=bf7e3ee83bcfb3f3d0bf63e27d4711af661533a5
---

 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 62cd5bbd8c..72f49fd543 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1354,6 +1354,7 @@ static const d3d9_format_t d3d_formats[] = {
     { "DXA9_422",   MAKEFOURCC('Y','U','Y','2'),    VLC_CODEC_D3D9_OPAQUE,  0,0,0 },
     { "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 },
     { "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