[media] omap3isp: ccdc: Add selection support on output formatter source pad
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / media / video / omap3isp / ispccdc.h
index 6d0264bab75b0566c21e7939b39679a73a0a3d3a..966bbf8a12627e2ae447f8d4ab7f2b41b8b6c0ad 100644 (file)
@@ -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;