[v2,2/3] omap3isp: ccdc: Add interlaced count field to isp_ccdc_device

Message ID 1318166803-7392-3-git-send-email-martinez.javier@gmail.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Javier Martinez Canillas Oct. 9, 2011, 1:26 p.m. UTC
  When configured in interlaced field mode, the ISP CCDC has to know which
sub-frame of the current frame is processing.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
---
 drivers/media/video/omap3isp/ispccdc.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
  

Patch

diff --git a/drivers/media/video/omap3isp/ispccdc.h b/drivers/media/video/omap3isp/ispccdc.h
index 54811ce..8863eea 100644
--- a/drivers/media/video/omap3isp/ispccdc.h
+++ b/drivers/media/video/omap3isp/ispccdc.h
@@ -134,6 +134,7 @@  struct ispccdc_lsc {
  * @wait: Wait queue used to stop the module
  * @stopping: Stopping state
  * @ioctl_lock: Serializes ioctl calls and LSC requests freeing
+ * @interlaced_cnt: Sub-frame count for an interlaced video frame
  */
 struct isp_ccdc_device {
 	struct v4l2_subdev subdev;
@@ -164,6 +165,7 @@  struct isp_ccdc_device {
 	wait_queue_head_t wait;
 	unsigned int stopping;
 	struct mutex ioctl_lock;
+	unsigned int interlaced_cnt;
 };
 
 struct isp_device;