[vlc-commits] dxgi_fmt: allow hardware decoding to AYUV (4:4:4 8 bit)
Steve Lhomme
git at videolan.org
Fri Mar 13 10:28:43 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 13 08:17:16 2020 +0100| [84666be679949c3734e4439faa22e567e707714a] | committer: Steve Lhomme
dxgi_fmt: allow hardware decoding to AYUV (4:4:4 8 bit)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84666be679949c3734e4439faa22e567e707714a
---
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 9f26448fd8..7a951394a6 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -68,6 +68,7 @@ static const d3d_format_t d3d_formats[] = {
{ "VA_NV12", DXGI_FORMAT_NV12, VLC_CODEC_D3D11_OPAQUE, 8, 2, 2, { DXGI_FORMAT_R8_UNORM, DXGI_FORMAT_R8G8_UNORM } },
{ "P010", DXGI_FORMAT_P010, VLC_CODEC_P010, 10, 2, 2, { DXGI_FORMAT_R16_UNORM, DXGI_FORMAT_R16G16_UNORM } },
{ "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 } },
#ifdef BROKEN_PIXEL
{ "Y416", DXGI_FORMAT_Y416, VLC_CODEC_I444_16L, 16, 1, 1, { DXGI_FORMAT_R16G16B16A16_UINT } },
More information about the vlc-commits
mailing list