summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-12 23:10:14 +0200
committerwm4 <wm4@nowhere>2020-05-12 23:10:14 +0200
commit0ff839d46742a0927752f6899688228b30df6a5f (patch)
tree3d17976ef6e17c1603e0cb907704c00e1f64416a /video/out/gpu
parent1e75f442b1454a1a4c16fc556e892150fd6ceec5 (diff)
downloadmpv-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 'video/out/gpu')
0 files changed, 0 insertions, 0 deletions