[vlc-commits] direct3d9: add support for AYUV (4:4:4 8 bit) rendering

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


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 13 08:39:27 2020 +0100| [9ec0d83a05be7225d5b918cac618576c8f1e2c87] | committer: Steve Lhomme

direct3d9: add support for AYUV (4:4:4 8 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=9ec0d83a05be7225d5b918cac618576c8f1e2c87
---

 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 553d4be8c3..62cd5bbd8c 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1352,6 +1352,7 @@ static const d3d9_format_t d3d_formats[] = {
     { "NV12",       MAKEFOURCC('N','V','1','2'),    VLC_CODEC_NV12,  0,0,0 },
     { "DXA9",       MAKEFOURCC('N','V','1','2'),    VLC_CODEC_D3D9_OPAQUE,  0,0,0 },
     { "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 },
     { "UYVY",       D3DFMT_UYVY,    VLC_CODEC_UYVY,  0,0,0 },
     { "YUY2",       D3DFMT_YUY2,    VLC_CODEC_YUYV,  0,0,0 },



More information about the vlc-commits mailing list