summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vo.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-19 16:11:28 +0100
committerwm4 <wm4@nowhere>2015-12-19 16:11:34 +0100
commit47f2f554a3734078dabac2e740c22ad403e6a2c4 (patch)
treecc80a52f57949b9c7813a2cc6a5797cc2365110b /DOCS/man/vo.rst
parenta0519f1d188e3d3be8f0e78a71868d7cbf1cc11d (diff)
downloadmpv-47f2f554a3734078dabac2e740c22ad403e6a2c4.tar.bz2
mpv-47f2f554a3734078dabac2e740c22ad403e6a2c4.tar.xz
vo_opengl: handle alpha with odd bit widths too
Since alpha isn't pulled through the colormatrix (maybe it should?), we reject alpha formats with odd sizes, such as yuva444p10. But the awful tex_mul path in vo_opengl does this anyway (at some points even explicitly), which means there will be a subtle difference in handling of 16 bit yuv alpha formats. Make it consistent and always apply the range adjustment to the alpha component. This also means odd sizes like 10 bit are supported now. This assumes alpha uses the same "shifted" range as the yuv color channels for depths larger than 8 bit. I'm not sure whether this is actually the case.
Diffstat (limited to 'DOCS/man/vo.rst')
0 files changed, 0 insertions, 0 deletions