1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/demux
wm4 06ccd9f671 video: simplify decoder pixel format handling
Simplify the decoder pixel format handling by making it handle only
the case vd_lavc needs: a video stream always decodes to a single
pixel format.

Remove the handling for multiple pixel formats, and remove the
codecs.conf pixel format declarations that are left.

Remove the handling of "ambiguous" pixel formats like YV12 vs. I420 (via
VDCTRL_QUERY_FORMAT etc.). This is only a problem if the video chain
supports I420, but not YV12, which doesn't seem to be the case anywhere,
and in fact would not have any advantage.

Make the "flip" flag a global per-codec flag, rather than a pixel format
specific flag. (Some ffmpeg decoders still return a flipped image, so
this has to be done manually.) Also fix handling of the flip operation:
do not overwrite the global flip option, and make the --flip option
invert the codec flip option rather than overriding it.
2013-01-13 17:39:31 +01:00
..
asf.h
asfguid.h
asfheader.c
asfheader.h
aviheader.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
aviheader.h stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
aviprint.c
aviprint.h
demux_asf.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_avi.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_cue.c
demux_edl.c
demux_lavf.c demux_lavf: avio_flush in DEMUXER_CTRL_RESYNC 2013-01-10 12:36:13 +01:00
demux_mf.c demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
demux_mkv.c demux_mkv: work around bad OutputSamplingFrequency values 2013-01-13 13:25:57 +01:00
demux_mng.c
demux_mpg.c demux_mpg, ass_mp: fix warnings 2012-12-28 08:40:40 +01:00
demux_packet.h stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_rawaudio.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_rawvideo.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_ts.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_ts.h
demux.c demux: fix behavior with files that have sparse video packets 2012-12-11 00:37:55 +01:00
demux.h configure: remove __builtin_expect check 2013-01-13 13:55:22 +01:00
ebml.c
ebml.h
extension.c
matroska.h
mf.c Replace strsep() uses 2013-01-13 17:32:39 +01:00
mf.h demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
mp3_hdr.c
mp3_hdr.h
mp_taglists.c audio/decode: remove ad_pcm and use ad_lavc for PCM 2012-12-11 00:37:54 +01:00
mp_taglists.h
mpeg_hdr.c
mpeg_hdr.h
ms_hdr.h
parse_es.c
parse_es.h
stheader.h video: simplify decoder pixel format handling 2013-01-13 17:39:31 +01:00
video.c demux: fix behavior with files that have sparse video packets 2012-12-11 00:37:55 +01:00