summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap3isp/ispccdc.h
diff options
context:
space:
mode:
authorLaurent Pinchart2012-04-20 10:47:49 +0200
committerMauro Carvalho Chehab2012-05-08 19:13:14 +0200
commita64909b806b156fd4579c948bbbdb15095f55058 (patch)
tree7e69b3a7e5043eb259886e16bf16104b87647489 /drivers/media/video/omap3isp/ispccdc.h
parent[media] omap3isp: Mark probe and cleanup functions with __devinit and __devexit (diff)
downloadkernel-qcow2-linux-a64909b806b156fd4579c948bbbdb15095f55058.tar.gz
kernel-qcow2-linux-a64909b806b156fd4579c948bbbdb15095f55058.tar.xz
kernel-qcow2-linux-a64909b806b156fd4579c948bbbdb15095f55058.zip
[media] omap3isp: ccdc: Add selection support on output formatter source pad
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>
Diffstat (limited to 'drivers/media/video/omap3isp/ispccdc.h')
-rw-r--r--drivers/media/video/omap3isp/ispccdc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/omap3isp/ispccdc.h b/drivers/media/video/omap3isp/ispccdc.h
index 6d0264bab75b..966bbf8a1262 100644
--- a/drivers/media/video/omap3isp/ispccdc.h
+++ b/drivers/media/video/omap3isp/ispccdc.h
@@ -147,6 +147,7 @@ struct ispccdc_lsc {
* @subdev: V4L2 subdevice
* @pads: Sink and source media entity pads
* @formats: Active video formats
+ * @crop: Active crop rectangle on the OF source pad
* @input: Active input
* @output: Active outputs
* @video_out: Output video node
@@ -173,6 +174,7 @@ struct isp_ccdc_device {
struct v4l2_subdev subdev;
struct media_pad pads[CCDC_PADS_NUM];
struct v4l2_mbus_framefmt formats[CCDC_PADS_NUM];
+ struct v4l2_rect crop;
enum ccdc_input_entity input;
unsigned int output;