chroma: chain: handle resize converter fmt changes
commit7fd02feb6c6be674066b68c2f53776a5504f4657
authorThomas Guillem <thomas@gllm.fr>
Mon, 19 Mar 2018 16:39:05 +0000 (19 17:39 +0100)
committerThomas Guillem <thomas@gllm.fr>
Mon, 19 Mar 2018 17:30:01 +0000 (19 18:30 +0100)
tree64f751806652342481d82d814cd77f684427cd87
parent288b9abe9fcb4ff39fafc7482193194cb2d37637
chroma: chain: handle resize converter fmt changes

This fixes the transform filter from the chain converter. Consequently, this
fixes transform filters with HW decoders.

Recent improvements in copy_cache_t allow to have correct performances for most
use cases. This is far from perfect, but doing 4K HW decoding and SW transform
is slightly better than doing 4K SW decoding and SW transform (tested on
Linux/Windows).

Obviously, the best solution is to do this transformation with shaders. This
will be possible in VLC 4.0 with future gl/d3d filters API.

Fixes #19096
modules/video_chroma/chain.c