[vlc-commits] dxgi_fmt: map DXGI_FORMAT_R10G10B10A2_UNORM to VLC_CODEC_RGBA10
Steve Lhomme
git at videolan.org
Tue Feb 20 16:07:21 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Feb 20 15:27:06 2018 +0100| [7710fedb7d6a420c983deec93091fd7de323b4ac] | committer: Steve Lhomme
dxgi_fmt: map DXGI_FORMAT_R10G10B10A2_UNORM to VLC_CODEC_RGBA10
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7710fedb7d6a420c983deec93091fd7de323b4ac
---
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 aa13498c44..7437b3578c 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -85,6 +85,7 @@ static const d3d_format_t d3d_formats[] = {
{ "R8G8B8A8", DXGI_FORMAT_R8G8B8A8_UNORM, VLC_CODEC_RGBA, 8, 1, 1, { DXGI_FORMAT_R8G8B8A8_UNORM } },
{ "VA_RGBA", DXGI_FORMAT_R8G8B8A8_UNORM, VLC_CODEC_D3D11_OPAQUE, 8, 1, 1, { DXGI_FORMAT_R8G8B8A8_UNORM } },
{ "R8G8B8X8", DXGI_FORMAT_B8G8R8X8_UNORM, VLC_CODEC_RGB32, 8, 1, 1, { DXGI_FORMAT_B8G8R8X8_UNORM } },
+ { "RGB10A2", DXGI_FORMAT_R10G10B10A2_UNORM, VLC_CODEC_RGBA10, 10, 1, 1, { DXGI_FORMAT_R10G10B10A2_UNORM } },
{ "B5G6R5", DXGI_FORMAT_B5G6R5_UNORM, VLC_CODEC_RGB16, 5, 1, 1, { DXGI_FORMAT_B5G6R5_UNORM } },
{ "I420_OPAQUE", DXGI_FORMAT_420_OPAQUE, VLC_CODEC_D3D11_OPAQUE, 8, 2, 2, { DXGI_FORMAT_UNKNOWN } },
More information about the vlc-commits
mailing list