diff options
author | wm4 <wm4@nowhere> | 2020-05-12 23:10:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-12 23:10:14 +0200 |
commit | 0ff839d46742a0927752f6899688228b30df6a5f (patch) | |
tree | 3d17976ef6e17c1603e0cb907704c00e1f64416a /TOOLS/__init__.py | |
parent | 1e75f442b1454a1a4c16fc556e892150fd6ceec5 (diff) | |
download | mpv-0ff839d46742a0927752f6899688228b30df6a5f.tar.bz2 mpv-0ff839d46742a0927752f6899688228b30df6a5f.tar.xz |
draw_bmp: add integer blending for 8 bit formats
Whatever it's worth. Instead of doing a pretty stupid conversion to
float, just blend it directly. This works for most RGB formats that are
8 bits per component or below (the latter because we expand packed
fringe RGB formats for simplicity). For higher bit depth RGB this would
need extra code.
Diffstat (limited to 'TOOLS/__init__.py')
0 files changed, 0 insertions, 0 deletions