Hi all, I'm working with an embedded system that use directfb for the user gtk application. I need to display video grabbed from a camera inside the gtk user interface. I've alreary a basic V4L2 driver for the camera device. I'm thinking how to implement this and I found two ways:
1) use the video provider for V4L: what type of method (READ, MMAP) is used by the video provider for V4L ? where can I find an example of use of video provider for V4L ? 2) modify the V4L driver to support overlay: inside the V4L driver I grab data from sensor, prepare the new frame buffer (overlaying with the current frame buffer with gtk application) and when the LCD controller ends the current frame, swap the frame buffer with the new one (double buffering) changing the pointer used by the LCD controller. What happens to directfb if I change the pointer of the buffer used from the LCD controller to display the buffer ? Any suggestion ? Best regards, -- Matteo VIT DAVE Srl - Electronics System House via Forniz 2/1 33080 Porcia (PN) - Italy Telephone: +39.0434.921215 Telefax: +39.0434.1994030 web: www.dave.eu e-mail: [EMAIL PROTECTED] how to reach us: http://mail.map24.com/dave _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
