diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-10-24 01:47:31 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-03-20 00:26:22 +0100 |
commit | 5f622a1d768c847f5652122d5aa2e9e9ccc274db (patch) | |
tree | 277957513ce3e493b705600bdbe8ac7ec4537ee9 /isp/omap3isp.c | |
parent | cbd64859e6c1509b0f2ee7728cb66b120d52c45e (diff) |
isp: Add crop support for the viewfinder
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/omap3isp.c')
-rw-r--r-- | isp/omap3isp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/isp/omap3isp.c b/isp/omap3isp.c index ef6350a..e5a8227 100644 --- a/isp/omap3isp.c +++ b/isp/omap3isp.c @@ -1120,6 +1120,7 @@ static int omap3_isp_viewfinder_setup_pipeline(struct omap3_isp_device *isp) } int omap3_isp_viewfinder_setup(struct omap3_isp_device *isp, + struct v4l2_rect *crop, struct v4l2_mbus_framefmt *ofmt) { struct omap3_isp_pool *pool; @@ -1137,7 +1138,7 @@ int omap3_isp_viewfinder_setup(struct omap3_isp_device *isp, /* Try the format. */ ret = omap3_isp_pipeline_try_format(isp, &isp->viewfinder, - &isp->sensor.format, ofmt, NULL); + &isp->sensor.format, ofmt, crop); if (ret < 0) return ret; |