]> git.baikalelectronics.ru Git - kernel.git/commit
[media] omap3isp: preview: Lower the crop margins
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 7 Dec 2012 10:48:55 +0000 (07:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 16:45:29 +0000 (14:45 -0200)
commitd0d499c07465e04550326c488110217009bb0061
tree18e271997cbf729b532313b88a2c1125f021c1a5
parentd82479de1e1f8acf30034e6edbdfba2c20b5be01
[media] omap3isp: preview: Lower the crop margins

The preview engine includes filters that consume columns and lines as
part of their operation, thus resulting in a cropped image. To allow
turning those filters on/off during streaming without affecting the
output image size, the driver adds additional cropping to make the total
number of cropped columns and lines constant regardless of which filters
are enabled.
This process needlessly includes the CFA filter, as whether the filter
is enabled only depends on the sink pad format, which can't change
during streaming.
Exclude the CFA filter from the preview engine margins.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/omap3isp/isppreview.c