dxva2: add more known pixel format
authorSteve Lhomme <robux4@ycbcr.xyz>
Tue, 10 Mar 2020 14:52:44 +0000 (15:52 +0100)
committerSteve Lhomme <robux4@ycbcr.xyz>
Fri, 13 Mar 2020 09:28:17 +0000 (10:28 +0100)
This doesn't mean we can handle them, just that we log them properly.

modules/codec/avcodec/dxva2.c

index f2d8714..050e54d 100644 (file)
@@ -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 }
 };