vlc | branch: master | Steve Lhomme <[email protected]> | Wed May 11 16:01:22 2016 +0200| [2cf9d8c1cb8e4d0348edc3f4212dd1e3e2f333fb] | committer: Jean-Baptiste Kempf
dxgi_fmt: we can't handle I420 like NV12 in the shader Pixel interpolation in the sampler has no idea it's dealing with 3 planes and mixes wrong pixel data together. This will result in a filter being introduced to turn I420 to NV12 or RGB. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2cf9d8c1cb8e4d0348edc3f4212dd1e3e2f333fb --- modules/video_chroma/dxgi_fmt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c index 9772652..be44b00 100644 --- a/modules/video_chroma/dxgi_fmt.c +++ b/modules/video_chroma/dxgi_fmt.c @@ -57,8 +57,6 @@ static const dxgi_format_t dxgi_formats[] = { }; static const d3d_format_t d3d_formats[] = { - { "I420", DXGI_FORMAT_NV12, VLC_CODEC_I420, DXGI_FORMAT_R8_UNORM, DXGI_FORMAT_R8G8_UNORM }, - { "YV12", DXGI_FORMAT_NV12, VLC_CODEC_YV12, DXGI_FORMAT_R8_UNORM, DXGI_FORMAT_R8G8_UNORM }, { "NV12", DXGI_FORMAT_NV12, VLC_CODEC_NV12, DXGI_FORMAT_R8_UNORM, DXGI_FORMAT_R8G8_UNORM }, { "VA_NV12", DXGI_FORMAT_NV12, VLC_CODEC_D3D11_OPAQUE, DXGI_FORMAT_R8_UNORM, DXGI_FORMAT_R8G8_UNORM }, #ifdef BROKEN_PIXEL _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
