mpv/video
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
..
decode video: generally try to align image data on 64 bytes 2019-09-19 20:37:05 +02:00
filter filters: extend vf_format so that it can convert color parameters 2019-10-21 01:38:25 +02:00
out wayland: fix presentation time 2019-10-20 19:50:10 +00:00
csputils.c csputils: fix outdated comment 2019-10-20 16:00:32 +02:00
csputils.h video: add pure gamma TRC curves for 2.0, 2.4 and 2.6. 2019-09-27 13:21:41 +02:00
d3d.c video: remove mp_image_params.hw_flags field 2019-10-17 22:43:14 +02:00
d3d.h
fmt-conversion.c build: lower required FFmpeg version 2019-10-20 19:41:18 +02:00
fmt-conversion.h
hwdec.c
hwdec.h video: remove mp_image_params.hw_flags field 2019-10-17 22:43:14 +02:00
image_loader.c image_writer: move convert_image() to player/screenshot.c 2019-09-14 23:02:39 +02:00
image_loader.h
image_writer.c image_writer: add webp-compression option 2019-09-14 23:02:39 +02:00
image_writer.h image_writer: add webp-compression option 2019-09-14 23:02:39 +02:00
img_format.c img_format: add RGB30 format 2019-10-20 19:41:18 +02:00
img_format.h img_format: add RGB30 format 2019-10-20 19:41:18 +02:00
mp_image.c mp_image: infer XYZ as BT.2020 instead of BT.709 2019-10-20 16:07:21 +02:00
mp_image.h video, demux: rip out unused spherical metadata code 2019-10-17 22:49:26 +02:00
mp_image_pool.c mp_image_pool: expose a function for reporting hw download format 2019-10-02 21:07:14 +02:00
mp_image_pool.h mp_image_pool: expose a function for reporting hw download format 2019-10-02 21:07:14 +02:00
sws_utils.c sws_utils: improve zimg fallback messages 2019-10-21 01:38:25 +02:00
sws_utils.h sws_utils: provide function to check whether a format pair is supported 2019-10-20 19:41:18 +02:00
vaapi.c vaapi: remove hacks for pre-libva2 log callbacks 2019-10-18 15:37:16 +02:00
vaapi.h vo_gpu: hwdec_vaapi: Suppress format errors when probing 2019-07-08 01:57:02 +02:00
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
zimg.c zimg: minor name consistency improvement 2019-10-21 01:38:25 +02:00
zimg.h video: add zimg wrapper 2019-10-20 02:17:31 +02:00