On 28 February 2010 19:55, Jean-Francois Moine <moinejf@xxxxxxx> wrote: > On Sun, 28 Feb 2010 20:18:50 +0100 > Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> wrote: > >> Maybe we could just use >> V4L2_CID_POWER_LINE_FREQUENCY_DISABLED = 0, >> V4L2_CID_POWER_LINE_FREQUENCY_50HZ = 1, >> >> It looks like the code matches the DISABLED state (writing 0 to the >> register). Mosalam? > > I don't know the ov772x sensor. I think it should look like the ov7670 > where there are 3 registers to control the light frequency: one > register tells if light frequency filter must be used, and which > frequency 50Hz or 60Hz; the two other ones give the filter values for > each frequency. > I think it's safe to go with disabled/50hz. Perhaps later if needed can patch it to control the filter values. Since it seems there is no flickering in the 60hz regions at available frame rates, and this register almost perfectly removes light flickers in the 50hz regions (by modifying exposure/frame rate). Mosalam -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html