On Saturday 07 March 2009 14:14:33 [email protected] wrote: > Hi all, > > After I installed your driver my cam works great but there is one > annoyance that plagues the good experience. On mixed light or too high > illumination the exposure starts changing from too bright to too dark > few times per second. As I am not acquainted with the inner-workings > of the driver I am not sure if this is some correction done in the > chip or something done in the driver. If it's the later I am willing > to pursue the mater my self, but I hope you can direct me to good > documentation on the subject as I am little short on time and can not > spend the effort to learn the whole architecture of the driver. As I > am may be from a different background I am also not really acquainted > with the git system, but I hope my coding skills will be enough (all > this if the exposure correction is done in the driver and there is > something to be done). > > Best regards > Stefan Krastanov > > PS: my camera is as reported by lsusb 0c45:6270 Microdia U-CAM PC > Camera NE878
Yep, it can happen if set_exposure function is not enough accurate. It seems there's only 16 exposure values for your sensor (line 562 in micron.c, buf[0] = (dev->vsettings.exposure >> 4), .exposure is 8 bit long, 2 ^ 4 == 16, and our autoexposure algo is too simple (it's linear correction with some calibration). If you want - you can improve it ;) Regards Vasily
signature.asc
Description: This is a digitally signed message part.
