]> git.baikalelectronics.ru Git - kernel.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)
commit351aae78e3dabbb936bd41560e83fb57f744b17f
tree9b6991fefec70e92d7c14d90f67cdd427f459833
parentcc00b1a6d4ff86f5ad21e05e700ad12a332c208e
[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