]> git.baikalelectronics.ru Git - kernel.git/commit
[media] omap3isp: preview: Add crop support on the sink pad
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 21 Sep 2011 23:05:45 +0000 (20:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:33:52 +0000 (18:33 -0200)
commit2aefc6025ee58269e1854e4e11bb322ac9fb62ae
tree44222f1582394542bea0881cdc854013b87b598a
parent976e3d31a62c85fe0f0195aefa5aac8729dea22f
[media] omap3isp: preview: Add crop support on the sink pad

The crop rectangle takes the preview engine internal cropping
requirements into account. The smallest allowable margins are 14 columns
and 8 rows when reading from memory, and 18 columns and 8 rows when
processing data on the fly from the CCDC.

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