[vlc-commits] dxva2: add more known pixel format
Steve Lhomme
git at videolan.org
Fri Mar 13 10:28:38 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Mar 10 15:52:44 2020 +0100| [ef3191943bf7e1fe495ea54203f6d31980cf5a86] | committer: Steve Lhomme
dxva2: add more known pixel format
This doesn't mean we can handle them, just that we log them properly.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef3191943bf7e1fe495ea54203f6d31980cf5a86
---
modules/codec/avcodec/dxva2.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index f2d8714ba2..050e54d46e 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -98,6 +98,10 @@ static const d3d9_format_t d3d_formats[] = {
{ "NV12", MAKEFOURCC('N','V','1','2'), VLC_CODEC_NV12 },
//{ "IMC3", MAKEFOURCC('I','M','C','3'), VLC_CODEC_YV12 },
{ "P010", MAKEFOURCC('P','0','1','0'), VLC_CODEC_P010 },
+ { "AYUV", MAKEFOURCC('A','Y','U','V'), VLC_CODEC_YUVA },
+ { "YUY2", MAKEFOURCC('Y','U','Y','2'), VLC_CODEC_YUYV },
+ { "Y410", MAKEFOURCC('Y','4','1','0'), VLC_CODEC_Y410 },
+ { "Y210", MAKEFOURCC('Y','2','1','0'), VLC_CODEC_Y210 },
{ NULL, 0, 0 }
};
More information about the vlc-commits
mailing list