Brian Johnson schrieb:
Hmm odd it still claims to have a 8th and 9th bit stored in the vref register so what it just does not use the 7th bit then? Well heres a patch that implements a separate function for the ov7660 sensor though it treats the gain as linear which given they way the ov9650 senor appears to work may not be correct as wellOn Tue, Jan 27, 2009 at 10:01 AM, JoJo jojo <[email protected]> wrote:Yup, ov7660 gain register 0x00 values range is 0x00 to 0x7f but ov9650 uses other values as well :-( -JoJo On 1/27/09, Vasily Khoruzhick <[email protected]> wrote:On 27 January 2009 08:57:50 Brian Johnson wrote:Yes the ov7660 sensor that the 627b camera uses currently does not have gain support please try this quick patch and see if it works correctly for you.According to sensor datasheet, ov9650_set_gain will not work correctly for ov76xx sensors Regards Vasilly--~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
Just out of interest
Why do you use
a = b & 0x7f;
instead of
a = b >> 1;
?
GWater
signature.asc
Description: OpenPGP digital signature
