[vlc-commits] DXGI: map P010 to DXGI format
Jean-Baptiste Kempf
git at videolan.org
Fri Jul 8 16:18:39 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 8 16:15:17 2016 +0200| [1d2eb95c361b8b0668d84224d8e9758fe6f298d9] | committer: Jean-Baptiste Kempf
DXGI: map P010 to DXGI format
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d2eb95c361b8b0668d84224d8e9758fe6f298d9
---
modules/video_chroma/dxgi_fmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index e78a4d1..300eaf3 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -66,7 +66,7 @@ static const d3d_format_t d3d_formats[] = {
{ "Y416", DXGI_FORMAT_Y416, VLC_CODEC_I444_16L, DXGI_FORMAT_R16G16B16A16_UINT, 0 },
#endif
#ifdef UNTESTED
- { "P010", DXGI_FORMAT_P010, VLC_CODEC_I420_10L, DXGI_FORMAT_R16_UNORM, DXGI_FORMAT_R16_UNORM },
+ { "P010", DXGI_FORMAT_P010, VLC_CODEC_P10, DXGI_FORMAT_R16_UNORM, DXGI_FORMAT_R16_UNORM },
{ "Y210", DXGI_FORMAT_Y210, VLC_CODEC_I422_10L, DXGI_FORMAT_R16G16B16A16_UNORM, 0 },
{ "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 },
More information about the vlc-commits
mailing list