aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc
diff options
context:
space:
mode:
authorGravatar Bin Jin <bjin1990@gmail.com>2015-12-08 22:22:08 +0000
committerGravatar wm4 <wm4@nowhere>2015-12-09 00:36:48 +0100
commit6d36c432ab926cd0333b4a1fb61b77cab57c522f (patch)
tree81fa984c3ba34030ef87110d7fa9024e172e72c2 /etc
parent45ae0716be3319bac4585b8fedac529a0809a44c (diff)
vo_opengl: fix precision loss of fruit dithering matrix
With default setting, the matrix for fruit dithering requires 12 bits precision (values from 0/4096 to 4095/4096). But 16-bit float provides only 10 bits. In addition, when `dither-size-fruit=8` is set, 16 bits are required from the texture format. Fix this by attempting to use 16 bit integer texture first. This is still not precise, but should be better than using a half float.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions