[EMAIL PROTECTED] schrieb:
> Hi,
> 
> I have written a sample program (based on wcggrabber), to grab the video 
> frames from the
> 
> video device.
> 
> How would I go about trying to display the captured frames using 
> directFB? Should I use IDirectFBImageProvider
> 
> or the IDirectFBDataBuffer?

IDirectFBSurface::Lock() gives you access to the surface pixel data.
You can memcpy your frames line by line into the surface.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to