[media] omap3isp: resizer: Improved resizer rsz factor formula
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Fri, 18 Feb 2011 12:41:51 +0000 (09:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Apr 2011 10:41:19 +0000 (07:41 -0300)
commit8dc1e75e9dc2fa3f5fa2e98be670118366beac92
treea19233decf3db99a9abb827f5ddc0bcfbbd6bc6d
parentf792e4f6ac12d45b0eca12f505295c48182a8fd2
[media] omap3isp: resizer: Improved resizer rsz factor formula

Round properly the rsz factor so that we get highest rsz so that the input
width (or height) is highest possible smaller or equal to what the user
asks.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/ispresizer.c