summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-25 14:54:42 +0100
committerwm4 <wm4@nowhere>2013-01-13 20:04:11 +0100
commit3791c226b7f3bebbb63a96b61db67b9dc97ff9b8 (patch)
tree63245b495dffcc7a2d31c5f6697d9932120ed4bc /video/decode/vd_lavc.c
parent8751a0e261c0c7150874f78b23c7f1d3539883b5 (diff)
downloadmpv-3791c226b7f3bebbb63a96b61db67b9dc97ff9b8.tar.bz2
mpv-3791c226b7f3bebbb63a96b61db67b9dc97ff9b8.tar.xz
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.
Diffstat (limited to 'video/decode/vd_lavc.c')
0 files changed, 0 insertions, 0 deletions