On Tue, 2 Mar 2010 11:26:15 +0000 "M.Ebrahimi" <m.ebrahimi@xxxxxxxx> wrote: > 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 > Mosalam did you spot the register from a PS3 usb dump or by looking at the sensor datasheet? Thanks, Antonio -- Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Attachment:
pgpeK7TgZUPqn.pgp
Description: PGP signature