OK guys, I was serious when I said different background so to be sure I did not mess up (patch & co. are new tool for me) I will write every command I used:
#patch micron.c 0001-Fix-set_exposure-for-mt9v111-and-mt9v011.patch //it worked - I checked it - sorry if sounding silly :-) #make #sudo rmmod sn9c20x #insmod ./snc20x.ko #LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11 -zoom No good. I illuminated my face with a lamp and the oscillation started again. I have build the docs and found dev_sn9c20x_perform_soft_ae and as far as I understand you have yavg which must be between min_yavg and max_yavg and that new yavg is computed as linear function of the old yavg.(I have absolutely no idea where yavg comes from, but it seems I don't need to know that) OK. I believe that the oscilation can be stoped if instead of only using old_yavg we use old_yavg and older_yavg(the second generation old_yavg) and creating something analogues to "pendulum with attenuation" - "a second order recurrent series with negative real coefficient". I'm sorry if I am using funy words, it's just that I am a physics student and that's the way I'm accustomed to. OK. I will try to do it tomorrow(it's quite late hour here), but please stop me if am doing senseless stuff. Best regards Stefan Krastanov 2009/3/7 Vasily Khoruzhick <[email protected]> > On Sunday 08 March 2009 00:39:26 Brian Johnson wrote: > > Except that the exposure value for the micron cameras should be 12 > > bits long not 4 and so the set_exposure for the mt9v011 and mt9v111 is > > just plain wrong :-) Try the attached patch which shifts the exposure > > value left instead of right and see if things work any better. > > > > Uh, I've assumed that mt9v011_set_exposure is correct and didn't look into > datasheet :) > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
