vlc | branch: master | Steve Lhomme <[email protected]> | Fri Mar 13 08:27:50 
2020 +0100| [ed9988f015caa8e40e05e7ffe26125dba290c442] | committer: Steve Lhomme

dxgi_fmt: allow hardware decoding to YUY2 (4:2:2 8 bit)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ed9988f015caa8e40e05e7ffe26125dba290c442
---

 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 7a951394a6..44cdef4990 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -70,6 +70,7 @@ static const d3d_format_t d3d_formats[] = {
     { "VA_P010",  DXGI_FORMAT_P010,           VLC_CODEC_D3D11_OPAQUE_10B, 10, 
2, 2, { DXGI_FORMAT_R16_UNORM,      DXGI_FORMAT_R16G16_UNORM } },
     { "VA_AYUV",  DXGI_FORMAT_AYUV,           VLC_CODEC_D3D11_OPAQUE,      8, 
1, 1, { DXGI_FORMAT_R8G8B8A8_UNORM } },
     { "YUY2",     DXGI_FORMAT_YUY2,           VLC_CODEC_YUYV,              8, 
1, 2, { DXGI_FORMAT_R8G8B8A8_UNORM } },
+    { "VA_YUY2",  DXGI_FORMAT_YUY2,           VLC_CODEC_D3D11_OPAQUE,      8, 
1, 2, { DXGI_FORMAT_R8G8B8A8_UNORM } },
 #ifdef BROKEN_PIXEL
     { "Y416",     DXGI_FORMAT_Y416,           VLC_CODEC_I444_16L,     16, 1, 
1, { DXGI_FORMAT_R16G16B16A16_UINT } },
 #endif

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to