[vlc-commits] dxgi_fmt: allow hardware decoding to Y210 (4:2:2 10 bit)
    Steve Lhomme 
    git at videolan.org
       
    Fri Mar 13 10:28:46 CET 2020
    
    
  
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 13 09:22:00 2020 +0100| [002850be535de21ff690c2aa04e6a2b098162be7] | committer: Steve Lhomme
dxgi_fmt: allow hardware decoding to Y210 (4:2:2 10 bit)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=002850be535de21ff690c2aa04e6a2b098162be7
---
 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 44cdef4990..72ff1dc126 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -74,6 +74,7 @@ static const d3d_format_t d3d_formats[] = {
 #ifdef BROKEN_PIXEL
     { "Y416",     DXGI_FORMAT_Y416,           VLC_CODEC_I444_16L,     16, 1, 1, { DXGI_FORMAT_R16G16B16A16_UINT } },
 #endif
+    { "VA_Y210",  DXGI_FORMAT_Y210,           VLC_CODEC_D3D11_OPAQUE_10B, 10, 1, 2, { DXGI_FORMAT_R16G16B16A16_UNORM } },
 #ifdef UNTESTED
     { "Y210",     DXGI_FORMAT_Y210,           VLC_CODEC_I422_10L,     10, 1, 2, { DXGI_FORMAT_R16G16B16A16_UNORM } },
     { "Y410",     DXGI_FORMAT_Y410,           VLC_CODEC_I444,         10, 1, 1, { DXGI_FORMAT_R10G10B10A2_UNORM } },
    
    
More information about the vlc-commits
mailing list