OK,
I took a look at your old patch.
You put the described algorithm in the decompress function. But that doesn't exist anymore. So we need another place to put that function.

And once we find that place I want it so dynamic that I can put my "butten_pushed?" function into it, too.

So where will your algorithm be called?

(BTW - I'm wokring on the new autoexposure-CID now. Hope I get it done thiw week.)

GWater



Vasily Khoruzhick schrieb:
On Monday 24 November 2008 16:07:21 GWater wrote:
Where do you want to add this feature?

If I understand correctly this function has to be called every few seconds.

Anyway - I am actually in favour of such an "call constantly" slot
somewhere since I'd like to add support for the button on my cam.

Actually, it should be called for each frame, here's algo:

check that average luminance (Y_AVE) fits into stable region
if not, adjust exposure to get Y_AVE into stable region.

And as long as it is only for ov9650 sensors the performance problem
doesn't concern me much.

I'm still not sure that autoexposure works for OV7660 and OV7670 :)

And there's no performance problem at all, 15-30 comparisons per second is nothing for todays CPUs :)

GWater

Regards
Vasily

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to