[vlc-commits] direct3d11: add RGBA support
Steve Lhomme
git at videolan.org
Tue May 26 09:37:27 CEST 2015
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon May 25 13:49:45 2015 +0200| [b0e7dcafeec8153158f184d2a2964f4c464f0282] | committer: Jean-Baptiste Kempf
direct3d11: add RGBA support
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0e7dcafeec8153158f184d2a2964f4c464f0282
---
modules/video_output/msw/direct3d11.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/msw/direct3d11.c b/modules/video_output/msw/direct3d11.c
index 8ed4598..af68a5a 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -87,6 +87,7 @@ static const d3d_format_t d3d_formats[] = {
{ "Y410", DXGI_FORMAT_Y410, VLC_CODEC_I444_10L, DXGI_FORMAT_R10G10B10A2_UNORM, 0 },
{ "NV11", DXGI_FORMAT_NV11, VLC_CODEC_I411, DXGI_FORMAT_R8_UNORM, DXGI_FORMAT_R8G8_UNORM },
#endif
+ { "R8G8B8A8", DXGI_FORMAT_R8G8B8A8_UNORM, VLC_CODEC_RGBA, DXGI_FORMAT_R8G8B8A8_UNORM, 0 },
{ "B8G8R8A8", DXGI_FORMAT_B8G8R8A8_UNORM, VLC_CODEC_BGRA, DXGI_FORMAT_B8G8R8A8_UNORM, 0 },
{ "R8G8B8X8", DXGI_FORMAT_B8G8R8X8_UNORM, VLC_CODEC_RGB32, DXGI_FORMAT_B8G8R8X8_UNORM, 0 },
{ "B5G6R5", DXGI_FORMAT_B5G6R5_UNORM, VLC_CODEC_RGB16, DXGI_FORMAT_B5G6R5_UNORM, 0 },
More information about the vlc-commits
mailing list