[v2,2/3] omap3isp: ccdc: Add interlaced count field to isp_ccdc_device
Commit Message
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(-)
@@ -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;