0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video
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
..
decode video: simplify decoder pixel format handling 2013-01-13 17:39:31 +01:00
filter video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00
out vo_direct3d: simplify 2013-01-13 17:39:31 +01:00
csputils.c
csputils.h
fmt-conversion.c video: silence warnings for missing libavutils pixel formats 2012-12-14 21:34:56 +01:00
fmt-conversion.h
image_writer.c video: fix bogus uses of mp_image.w/width 2012-11-21 19:58:51 +01:00
image_writer.h
img_format.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
img_format.h video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
memcpy_pic.h memcpy_pic: kill useless/dangerous optimization 2012-11-25 23:40:07 +01:00
mp_image.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
mp_image.h video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00
sws_utils.c sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00