diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-20 21:18:53 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-22 00:25:15 +0400 |
commit | 9de7af4d5bbff7998c09e854b2999359ac1b2721 (patch) | |
tree | a7341a039b59cc0bde5af9590a673c79dc117503 /drivers/media/platform/omap3isp/ispccdc.h | |
parent | bcb4e0efd1380d93866df51ec5d8dfaa026537ad (diff) | |
download | linux-9de7af4d5bbff7998c09e854b2999359ac1b2721.tar.xz |
[media] omap3isp: ccdc: Add support for BT.656 YUV format at the CCDC input
Query the CCDC input media bus type from the subdev connected to the
CCDC sink pad and configure the CCDC accordingly to support BT.656
synchronization.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Enrico Butera <ebutera@users.sourceforge.net>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispccdc.h')
-rw-r--r-- | drivers/media/platform/omap3isp/ispccdc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/ispccdc.h b/drivers/media/platform/omap3isp/ispccdc.h index dd999be7f82e..c325b8901159 100644 --- a/drivers/media/platform/omap3isp/ispccdc.h +++ b/drivers/media/platform/omap3isp/ispccdc.h @@ -113,6 +113,7 @@ struct ispccdc_lsc { * @lsc: Lens shading compensation configuration * @update: Bitmask of controls to update during the next interrupt * @shadow_update: Controls update in progress by userspace + * @bt656: Whether the input interface uses BT.656 synchronization * @underrun: A buffer underrun occurred and a new buffer has been queued * @state: Streaming state * @lock: Serializes shadow_update with interrupt handler @@ -141,6 +142,7 @@ struct isp_ccdc_device { unsigned int update; unsigned int shadow_update; + bool bt656; unsigned int underrun:1; enum isp_pipeline_stream_state state; spinlock_t lock; |