1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 15:10:20 +00:00
mpv/video/filter
wm4 18b6c01d92 video: redo how colorspaces are handled
Instead of handling colorspaces with VFCTRLs/VOCTRLs, make them part of
the normal video format negotiation. The colorspace is passed down like
other video params with config/reconfig calls.

Forcing colorspaces (via the --colormatrix options and properties) is
handled differently too: if it's changed, completely reinit the video
chain. This is slower and requires a precise seek to the same position
to perform an update, but it's simpler and less bug-prone. Considering
switching the colorspace at runtime by user-interaction is a rather
obscure feature, this is a good change.

The colorspace VFCTRLs and VOCTRLs are still kept. The VOs rely on it,
and would have to be changed to get rid of them. We'll do that later,
and convert them incrementally instead of in one go.

Note that controlling the output range now always works on VO level.
Basically, this means you can't get vf_scale to output full-range YUV
for whatever reason. If that is really wanted, it should be a vf_scale
option. the previous behavior didn't make too much sense anyway.

This commit fixes a few bugs (such as playing RGB video and converting
that to YUV with vf_scale - a recent commit broke this and forced the
VO to display YUV as RGB if possible), and might introduce some new
ones.
2013-07-16 23:22:55 +02:00
..
pullup.c
pullup.h
vf_crop.c video: move handling of -x/-y/-xy options to VO 2013-01-23 10:55:00 +01:00
vf_delogo.c vf_delogo: copy in non-direct case, fix double-free 2013-05-26 17:13:09 +02:00
vf_divtc.c vf_divtc, vf_phase: Fix handling of subsampled formats 2013-04-10 00:22:00 +02:00
vf_dlopen.c fix compile, sorry 2013-06-16 17:26:28 +02:00
vf_dlopen.h
vf_down3dright.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_dsize.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_eq.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_expand.c video: move handling of -x/-y/-xy options to VO 2013-01-23 10:55:00 +01:00
vf_flip.c vf_flip: move flipping code to mp_image.c 2013-03-01 11:28:59 +01:00
vf_format.c vf_format: fix forcing output format 2013-01-17 16:40:07 +01:00
vf_gradfun.c video/filter: fix option parser memory leak 2013-05-18 17:45:55 +02:00
vf_hqdn3d.c Fix some cppcheck / scan-build warnings 2013-05-06 23:11:11 +02:00
vf_ilpack.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_lavfi.c video: add a new method to configure filters and VOs 2013-06-28 20:34:46 +02:00
vf_mirror.c video: move handling of -x/-y/-xy options to VO 2013-01-23 10:55:00 +01:00
vf_noformat.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_noise.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_phase.c vf_divtc, vf_phase: Fix handling of subsampled formats 2013-04-10 00:22:00 +02:00
vf_pp.c dec_video: get rid of two global variables 2013-05-21 00:45:42 +02:00
vf_pullup.c vf_pullup: remove check for MP_IMGFLAG_PLANAR 2013-01-13 20:04:12 +01:00
vf_rotate.c video: add a new method to configure filters and VOs 2013-06-28 20:34:46 +02:00
vf_scale.c video: redo how colorspaces are handled 2013-07-16 23:22:55 +02:00
vf_screenshot.c screenshot: minor simplification, prefer VF over VO 2013-01-30 23:41:22 +01:00
vf_softpulldown.c video: reset filters on seek 2013-01-20 03:25:44 +01:00
vf_stereo3d.c video/filter: fix option parser memory leak 2013-05-18 17:45:55 +02:00
vf_sub.c video: redo how colorspaces are handled 2013-07-16 23:22:55 +02:00
vf_swapuv.c vf_swapuv: support more image formats 2013-01-13 20:04:13 +01:00
vf_unsharp.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_vo.c video: add a new method to configure filters and VOs 2013-06-28 20:34:46 +02:00
vf_yadif.c Fix some cppcheck / scan-build warnings 2013-05-06 23:11:11 +02:00
vf.c video: redo how colorspaces are handled 2013-07-16 23:22:55 +02:00
vf.h vf: add vf_control wrapper 2013-07-15 01:49:26 +02:00