Il giorno gio, 20/10/2011 alle 13.02 +0100, Andre DRASZIK ha scritto: > Hi, > > On Thu, 2011-10-20 at 12:46 +0200, Silvio Colombaro wrote: > > Through the camera driver I get a complete frame in one > > selectable color space, YUV444, YUV422, YUV411, RGB24, RGBA32, > > RGB48. > > [...] > > > documentation is clear, but I can not find the best way (and > > naturally more powerful) to transfer the frame into a > > DirectFB surface. > > Is this a V4L2 driver? You might be able to pass the DirectFB surface > into that V4L2 driver as a user buffer / mmap buffer, i.e. Lock() the > buffer and then pass the returned pointer inside the v4l2_buffer struct, > setting the appropriate flags.
I'm not using V4L2 driver. I get a frame directly into a buffer of my application. I've try to use IDirectFBSurface->Write but it's seems to be too slow. I need to watch this video in at least 25 fps for a fluid vision. There is another way to do this? Thanks. > > Cheers, > Andre' > > > _______________________________________________ > directfb-users mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
