Hi Hanz.
I was writing some improvements to libv4l last week.
At first, I added possibility control "software white ballance"
and "software rotate" (in libv4l) via standart ioctl.
Library for these controls select first unuse CIDs after
V4L2_CID_PRIVATE_BASE.
Second, I looked for some way how control image in Skype (or mplayer).
Because Skype for Linux has neither video control component.
I wrote possibility send ioctl to device via shared memory
by second application. Library for either device create new thread.
This thread create new shared memory, array of ipc semaphors
and wait for incoming requirements (ioctls).
So, second application (process) can send ioctl via this memory
and control video sending to first app!
You can see sreencast with these improvements on:
http://www.karry.wz.cz/download/libv4l_control_screencast.avi
Patch for libv4l version 0.5.0 :
http://www.karry.wz.cz/download/libv4l-0.5.0_control.patch
Modified libv4l :
http://www.kasrry.wz.cz/download/libv4l-0.5.0_control.tar.gz
And sample application for control video via shm:
http://www.karry.wz.cz/download/v4lctrl-0.2.tar.gz
I know, some constructions aren't beautiful, but it work.
What you thinking about this? Could you add this patch
to your library?
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