On Wed, Apr 27, 2011 at 3:32 PM, Jerome Glisse <j.glisse at gmail.com> wrote: > On Wed, Apr 27, 2011 at 8:19 AM, Daniel Vetter <daniel at ffwll.ch> wrote: >> float scale_x, scale_y; > > No float in kernel. Would have to use fixed point.
Bleh, of course ;-) 32bit with a 16 bit shift should be good enough for all scaling needs -Daniel -- Daniel Vetter daniel.vetter at ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch