mpv/video/filter
wm4 5dba244c22 filters: extend vf_format so that it can convert color parameters
Form some reason (and because of my fault), vf_format converts image
formats, but nothing else. For example, setting the "colormatrix"
sub-parameter would not convert it to the new value, but instead
overwrite the metadata (basically "reinterpreting" the image data
without changing it).

Make the historical mistake worse, and go all the way and extend it such
that it can perform a conversion. For compatibility reasons, this needs
to be requested explicitly. (Maybe this would deserve a separate filter
to begin with, but things are messed up anyway. Feel free to suggest an
elegant and simple solution.)

This demonstrates how zimg can properly perform some conversions which
swscale cannot (see examples added to vf.rst).

Stupidly this requires 2 code paths, one for conversion, and one for
overriding the parameters.

Due to the filter bullshit (what was I thinking), this requires quite
some acrobatics that would not be necessary without these abstractions.
On the other hand, it'd definitely be more of a mess without it. Oh
whatever.
2019-10-21 01:38:25 +02:00
..
refqueue.c video: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
refqueue.h video: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
vf_d3d11vpp.c video: remove mp_image_params.hw_flags field 2019-10-17 22:43:14 +02:00
vf_fingerprint.c vf_fingerprint: don't print fallback warning on each frame 2019-10-21 01:38:25 +02:00
vf_format.c filters: extend vf_format so that it can convert color parameters 2019-10-21 01:38:25 +02:00
vf_sub.c video: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
vf_vapoursynth.c vf_vapoursynth: fix crashing memory management mistake 2019-10-03 00:48:12 +02:00
vf_vavpp.c video: remove vf_vavpp from automatic deinterlace property 2019-10-02 19:21:42 +02:00
vf_vdpaupp.c video: make --deinterlace and HW deinterlace filters always deinterlace 2018-02-13 17:45:29 -08:00