On Wed, 27 Apr 2011 16:27:55 +0200, Daniel Vetter daniel@ffwll.ch wrote:
On Wed, Apr 27, 2011 at 3:32 PM, Jerome Glisse j.glisse@gmail.com wrote:
On Wed, Apr 27, 2011 at 8:19 AM, Daniel Vetter daniel@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
Or just specify the source size. You already know the output size... -Chris