Hi Lukas, Good work, I've been always looking for a way to implement such a feature in LiveCam. I think I just missed the part where you do the average color (or the reference white point) for the whole picture. I do understand also, that there are other ways to apply white balancing, i.e different algorithms.
libv4l is definitely the way to go, and such a routine, you wrote, can be heavily optimized using MMX/SSEx instructions for x86 machines. Lukas, I think you'll have to post your patch to the original author for inclusion in future releases. I'm going to hack LiveCam again, to make it libv4l friendly... I still don't understand how the Windows driver can get a much better picture, though. Regards, Ilyes Gouta. On Tue, Sep 9, 2008 at 4:02 PM, Lukáš Karas <[EMAIL PROTECTED]> wrote: > Hi All > This message is not directly about m560x driver, but about libv4l library. > > I am implemented software white balance for bayer input format in to libv4l. > This is good solution for hardware, that white balance not support directly. > You can see effect with this lib on image: > http://www.karry.wz.cz/img/blog/libv4l_white_balance.png > (m5602/s5k83a) > > Complete source code these edited library you can download from: > http://www.karry.wz.cz/download/libv4l-0.4.3_bayer_white_balance.tar.gz > > And patch for version 0.4.3 : > http://www.karry.wz.cz/download/libv4l-0.4.3_bayer_white_balance.patch > > Regards Lukas. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > M560x-driver-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
