Blender Git Loki

Git Commits -> Revision 988fbb8

Revision 988fbb8 by Ton Roosendaal (master)
April 29, 2009, 11:20 (GMT)
bugfix #18609

This fixes a commit from Peter, revision 12931, Dec 17 2007
He added quick image scaling code, derived from ppmqscale,
http://libdv.sf.net

This implementation gave ugly banding. especially visible on
dark colors or byte images with very close colors.

Solution is to add correct rounding, seems to me normal for such
fixed point magic. Optimizing code and keeping quality is tricky
dudes! Results for scaling down in sequencer were bad for over a
year (2.47 and 2.48 both wrong).



Commit Details:

Full Hash: 988fbb88dc621d8f41d1b07a729ae5afc24efdaa
SVN Revision: 19973
Parent Commit: 32b70e3
Lines Changed: +17, -16

1 Modified Path:

/source/blender/imbuf/intern/scaling.c (+17, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021