1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-08 15:18:00 +00:00
mpv/video
wm4 3791c226b7 draw_bmp: better way to find 444 format
Even though #ifdef ACCURATE is removed, the result should be about the
same. The fallback is only used by packed YUV formats (YUYV, NV12), and
doing 16 bit for them instead of 8 bit is not useful.

A side effect is that Y8 (gray) is not converted drawing subs, and for
alpha formats, the alpha plane is not removed. This means the number of
planes after upsampling can be 1-4 (1: gray, 2: gray+alpha, 3: planar,
4: planar+alpha). The code has to be adjusted accordingly to work on the
color planes only. Also remove the workaround for the chroma shift 31
hack.
2013-01-13 20:04:11 +01:00
..
decode video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
filter video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
out video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
csputils.c
csputils.h
fmt-conversion.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
fmt-conversion.h
image_writer.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
image_writer.h
img_format.c draw_bmp: better way to find 444 format 2013-01-13 20:04:11 +01:00
img_format.h draw_bmp: better way to find 444 format 2013-01-13 20:04:11 +01:00
img_fourcc.h video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
memcpy_pic.h memcpy_pic: kill useless/dangerous optimization 2012-11-25 23:40:07 +01:00
mp_image_pool.c mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image_pool.h mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image.c video: cleanup: move and rename vf_mpi_clear and vf_clone_attributes 2013-01-13 20:04:11 +01:00
mp_image.h video: cleanup: replace old mp_image function names 2013-01-13 20:04:11 +01:00
sws_utils.c video: cleanup: replace old mp_image function names 2013-01-13 20:04:11 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h video/out: replace VFCAP_TIMER with vo->untimed, fix vo_image and vo_lavc 2013-01-13 20:04:10 +01:00