diff options
author | wm4 <wm4@nowhere> | 2012-12-26 21:13:58 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:13 +0100 |
commit | c3788543f55199fc729a49f1402a9e13aaefbd85 (patch) | |
tree | bbb7d26875e9dcb03b096e048c18fb256abba00b /osdep | |
parent | e16fab8822b8c7fe6b8623d78da449cb2e93eeef (diff) | |
download | mpv-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 'osdep')
0 files changed, 0 insertions, 0 deletions