]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0ae20b6eb7bcd304f99fe256346a59d061a6a69f
treea19233decf3db99a9abb827f5ddc0bcfbbd6bc6d
parenta3c6090982689b8e20b938b048059985f334780f
[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