mpv/filters
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
..
f_auto_filters.c f_auto_filters: use f_autoconvert for hw download 2019-10-02 23:13:26 +02:00
f_auto_filters.h
f_autoconvert.c filters: extend vf_format so that it can convert color parameters 2019-10-21 01:38:25 +02:00
f_autoconvert.h filters: extend vf_format so that it can convert color parameters 2019-10-21 01:38:25 +02:00
f_decoder_wrapper.c video, demux: rip out unused spherical metadata code 2019-10-17 22:49:26 +02:00
f_decoder_wrapper.h Implement backwards playback 2019-09-19 20:37:04 +02:00
f_demux_in.c f_demux_in: give it a slightly better filter name 2018-02-05 02:47:14 -08:00
f_demux_in.h video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
f_hwtransfer.c f_hwtransfer: add a mp_hwdownload filter 2019-10-02 21:14:58 +02:00
f_hwtransfer.h f_hwtransfer: add a mp_hwdownload filter 2019-10-02 21:14:58 +02:00
f_lavfi.c f_lavfi: support setting common filter options like "threads" 2018-04-29 02:21:32 +03:00
f_lavfi.h f_lavfi: fix typo in comment 2018-02-13 17:45:29 -08:00
f_output_chain.c f_output_chain: remove a redundant variable 2018-04-29 02:21:32 +03:00
f_output_chain.h f_output_chain: fix typo 2018-04-15 23:11:33 +03:00
f_swresample.c audio: fix segfault caused by incorrect number of planes 2019-02-23 00:21:54 +02:00
f_swresample.h swresample: limit output size of audio frames 2018-02-03 05:01:29 -08:00
f_swscale.c filters: extend vf_format so that it can convert color parameters 2019-10-21 01:38:25 +02:00
f_swscale.h filters: extend vf_format so that it can convert color parameters 2019-10-21 01:38:25 +02:00
f_utils.c filters: add another dumb helper 2019-10-02 21:09:30 +02:00
f_utils.h filters: add another dumb helper 2019-10-02 21:09:30 +02:00
filter.c filter: hide warning when disconnecting pins drops frames 2018-04-29 02:21:32 +03:00
filter.h f_output_chain: log status of auto filters 2018-04-29 02:21:32 +03:00
filter_internal.h
frame.c Implement backwards playback 2019-09-19 20:37:04 +02:00
frame.h Implement backwards playback 2019-09-19 20:37:04 +02:00
user_filters.c video: add vf_fingerprint and a skip-logo script 2019-09-19 20:37:05 +02:00
user_filters.h video: add vf_fingerprint and a skip-logo script 2019-09-19 20:37:05 +02:00