summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-26 21:13:58 +0100
committerwm4 <wm4@nowhere>2013-01-13 20:04:13 +0100
commitc3788543f55199fc729a49f1402a9e13aaefbd85 (patch)
treebbb7d26875e9dcb03b096e048c18fb256abba00b /video/img_format.h
parente16fab8822b8c7fe6b8623d78da449cb2e93eeef (diff)
downloadmpv-c3788543f55199fc729a49f1402a9e13aaefbd85.tar.bz2
mpv-c3788543f55199fc729a49f1402a9e13aaefbd85.tar.xz
vf_expand: support more image formats
This did random things with some image formats, including 10 bit formats. Fixes the mp_image_clear() function too. This still has some caveats: - doesn't clear alpha to opaque (too hard with packed RGB, and is rarely needed) - sets luma to 0 for mpeg-range YUV, instead of the lowest possible value (e.g. 16 for 8 bit)
Diffstat (limited to 'video/img_format.h')
0 files changed, 0 insertions, 0 deletions