mpv/core
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
..
input Merge branch 'remove_old_demuxers' 2013-07-14 17:59:26 +02:00
timeline Merge branch 'remove_old_demuxers' 2013-07-14 17:59:26 +02:00
asxparser.c Cleanup some include statements 2013-07-12 22:16:26 +02:00
asxparser.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
av_common.c core: add common function to initialize AVPacket 2013-06-03 22:40:07 +02:00
av_common.h core: add common function to initialize AVPacket 2013-06-03 22:40:07 +02:00
av_log.c av_log: change how ffmpeg log messages are formatted 2013-06-22 20:34:47 +02:00
av_log.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
av_opts.c vf_lavfi: allow setting avopts 2013-05-26 16:44:18 +02:00
av_opts.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
bstr.c bstr: add bstrspn() 2013-04-21 03:47:05 +02:00
bstr.h bstr: add bstrto0() 2013-04-21 03:47:05 +02:00
charset_conv.c sub: libguess support for -subcp 2013-06-25 00:11:57 +02:00
charset_conv.h sub: add subtitle charset conversion 2013-06-25 00:11:56 +02:00
codecs.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
codecs.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
command.c video: redo how colorspaces are handled 2013-07-16 23:22:55 +02:00
command.h input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
cpudetect.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
cpudetect.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
encode.h encode_lavc: simplify encoding status output; remove percentage 2013-06-20 11:17:13 +02:00
encode_lavc.c core: change open_stream and demux_open signature 2013-07-12 21:56:40 +02:00
encode_lavc.h encode_lavc: simplify encoding status output; remove percentage 2013-06-20 11:17:13 +02:00
m_config.c options: use case-sensitive comparsion for options 2013-05-15 15:30:06 +02:00
m_config.h core: add --reset-on-next-file option 2013-04-10 21:32:46 +02:00
m_option.c Remove internal network support 2013-07-07 19:42:38 +02:00
m_option.h m_option, vf: add label support 2013-05-23 01:02:24 +02:00
m_property.c input: make input command deprecation warnings visible 2013-03-26 01:29:38 +01:00
m_property.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
m_struct.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
m_struct.h m_struct: try to be more standard C 2013-07-12 18:40:08 +02:00
mp_common.c cleanup: remove duplicated function, move escape parsing function 2013-02-16 23:24:46 +01:00
mp_common.h mp_common: add MPMAX/MPMIN macros 2013-07-15 23:53:58 +02:00
mp_core.h core: move video refresh function to mplayer.c 2013-07-16 23:14:55 +02:00
mp_memory_barrier.h core: add a spsc ringbuffer implementation 2013-06-16 18:20:39 +02:00
mp_msg.c encoding: when output is pipe: or pipe:1, avoid mp_msg to stdout 2013-04-15 13:30:21 +02:00
mp_msg.h encoding: when output is pipe: or pipe:1, avoid mp_msg to stdout 2013-04-15 13:30:21 +02:00
mp_osd.h osd: always update already visible OSD bar on seeks 2013-02-16 20:50:05 +01:00
mp_ring.c mp_ring: make mp_ring_read_cb provide an exact amount of bytes 2013-07-13 10:25:39 +02:00
mp_ring.h mp_ring: improve documentation 2013-07-13 10:33:07 +02:00
mp_talloc.h video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
mplayer.c video: redo how colorspaces are handled 2013-07-16 23:22:55 +02:00
options.c sd_ass: scale blur by original video size if requested 2013-07-15 02:01:37 +02:00
options.h sd_ass: scale blur by original video size if requested 2013-07-15 02:01:37 +02:00
parser-cfg.c parser-cfg: fix profile-desc 2013-02-18 17:01:25 +01:00
parser-cfg.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
parser-mpcmd.c options: fix exit code when using help options 2013-05-15 16:02:52 +02:00
parser-mpcmd.h options: fix exit code when using help options 2013-05-15 16:02:52 +02:00
path.c command: add screenshot_to_file command 2013-07-08 20:37:11 +02:00
path.h command: add screenshot_to_file command 2013-07-08 20:37:11 +02:00
playlist.c playlist: don't add entries in reverse 2013-07-05 14:07:56 +02:00
playlist.h command: add some playlist manipulation commands 2013-07-02 13:23:26 +02:00
playlist_parser.c core: change open_stream and demux_open signature 2013-07-12 21:56:40 +02:00
playlist_parser.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
resolve.h core: add libquvi 0.9 support 2013-06-28 15:47:35 +02:00
resolve_quvi.c core: rename mplayer.h and quvi.c 2013-06-28 15:40:28 +02:00
resolve_quvi9.c core: add libquvi 0.9 support 2013-06-28 15:47:35 +02:00
screenshot.c command: add screenshot_to_file command 2013-07-08 20:37:11 +02:00
screenshot.h command: add screenshot_to_file command 2013-07-08 20:37:11 +02:00
subopt-helper.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
subopt-helper.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
version.c build: make the "built on" report opt-out 2013-07-11 09:27:01 +02:00