[PATCH 2/2] [media] ov7670: Allow configuration of night mode

2011-01-10 Thread Roberto Rodriguez Alcala
From: Roberto Rodriguez Alcala Signed-off-by: Roberto Rodriguez Alcala --- drivers/media/video/ov7670.c | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c index c881a64

[PATCH 0/2] Add Camera Control Class to Support Night Mode Feature

2011-01-10 Thread Roberto Rodriguez Alcala
Hi, I'm sending this patch proposing to add a Camera Control Class to support Night Mode because there are a lot of cameras with that feature, and the implemented ones currently non stantard work arounds, like enabling it in certain resolutions or using another control class like WHITE_BALANCE.

[PATCH 1/2] [media] v4l2-ctrls: Add V4L2_CID_NIGHT_MODE control to support night mode

2011-01-10 Thread Roberto Rodriguez Alcala
From: Roberto Rodriguez Alcala Signed-off-by: Roberto Rodriguez Alcala --- drivers/media/video/v4l2-ctrls.c |2 ++ include/linux/videodev2.h|2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2

Question about Night Mode

2011-01-05 Thread Roberto Rodriguez Alcala
Hi, i'm interested in implement the Night Mode for the ov7370 driver, and it is done by modifyng 1 bit of the control register 11, but i'm unable to find a V4l2 user Control ID for that (Ex: V4L2-CID-NIGHT_MODE). I also think that the mentioned feature is quite common in cameras so my question is: