[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)
commit1f69fd970dfdd9872c83f62864b2557d686948cb
tree44222f1582394542bea0881cdc854013b87b598a
parent059dc1d9841f061e5767b95822fb4035ad7559fc
[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