]> git.karo-electronics.de Git - linux-beck.git/commit
[media] omap3isp: resizer: Center the crop rectangle
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 Feb 2011 12:41:49 +0000 (09:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 13 Apr 2011 13:33:58 +0000 (10:33 -0300)
commit8eca7a004ef9fec2fdca8a2b4b65410ff1515b80
tree9b6991fefec70e92d7c14d90f67cdd427f459833
parent21d2b9587f93302d4f13bf3d99482f3642f48b96
[media] omap3isp: resizer: Center the crop rectangle

When the crop rectangle needs to be modified to match hardware
requirements, center the resulting rectangle on the requested rectangle
instead of removing pixels from the right and bottom sides only.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/ispresizer.c