Discussion:
[directfb-users] Using DirectFB-rendered frames for further processing on CPU
Dong Hoon Van Uytsel
2012-01-26 12:10:53 UTC
Permalink
Dear DirectFB users

I have no experience with DirectFB so far. After perusal of the documentation on directfb.org, I was wondering whether the rendered result of DirectFB could be made available for further processing on CPU. Thinking in the direction of using the graphics hardware for compositing, pixel format conversion, 3d rendering, and using the rendered result for software compression and subsequent streaming or storage...

Anyone with experience or hints?

Best regards,
-dh
Andre DRASZIK
2012-01-26 12:50:16 UTC
Permalink
Hi,
Post by Dong Hoon Van Uytsel
I have no experience with DirectFB so far. After perusal of the documentation on directfb.org, I was wondering whether the rendered result of DirectFB could be made available for further processing on CPU. Thinking in the direction of using the graphics hardware for compositing, pixel format conversion, 3d rendering, and using the rendered result for software compression and subsequent streaming or storage...
Sure, you can always IDirectFBSurface::Lock() and ::Unlock() the surface
to access (get a pointer to) the pixel buffer.


Cheers,
Andre'
Dong Hoon Van Uytsel
2012-01-26 13:49:59 UTC
Permalink
Post by Andre DRASZIK
Post by Dong Hoon Van Uytsel
I have no experience with DirectFB so far. After perusal of the documentation on directfb.org, I was wondering whether the rendered result of DirectFB could be made available for further processing on CPU. Thinking in the direction of using the graphics hardware for compositing, pixel format conversion, 3d rendering, and using the rendered result for software compression and subsequent streaming or storage...
Sure, you can always IDirectFBSurface::Lock() and ::Unlock() the surface
to access (get a pointer to) the pixel buffer.
Thanks André and Haithem! Haithem also told to access the surface buffer with ret_ptr and ret_pitch.
Makes me eager to dive into DirectFB...

Loading...