diff options
author | wm4 <wm4@nowhere> | 2012-12-25 14:54:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:11 +0100 |
commit | 3791c226b7f3bebbb63a96b61db67b9dc97ff9b8 (patch) | |
tree | 63245b495dffcc7a2d31c5f6697d9932120ed4bc /compat/libav.h | |
parent | 8751a0e261c0c7150874f78b23c7f1d3539883b5 (diff) | |
download | mpv-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 'compat/libav.h')
0 files changed, 0 insertions, 0 deletions