video-dither: Use saturated add when adding ordered dither for > 8 bit targets
Otherwise our 16 bit integers are going to overflow in intermediate calculations, causing video to become mostly black. https://bugzilla.gnome.org/show_bug.cgi?id=755392
This commit is contained in:
parent
1fb85733f5
commit
8239da2311
@ -2550,5 +2550,5 @@ x4 convsuswb d, p
|
||||
.temp 8 m
|
||||
|
||||
loadpq m, masks
|
||||
x4 addw p, d, e1
|
||||
x4 addusw p, d, e1
|
||||
x4 andnw d, m, p
|
||||
|
Loading…
x
Reference in New Issue
Block a user