VLDMBUFFERSEND(3dm) VLDMBUFFERSEND(3dm)
vlDMBufferSend - send a DMbuffer to video out.
#include <dmedia/vl.h>
int vlDMBufferSend(VLServer svr, VLPath path, DMbuffer dmbuffer);
vlDMBufferSend puts the DMbuffer on the specified paths output drain
queue. Care must be taken not to overflow this queue by adding buffers
faster than the video library can dequeue them and send them out. This
call should be synchronized with VLTransferComplete events from the path
which indicates a buffer has been sent out.
vlDMBufferSend returns 0 if successful, otherwise it returns -1 and
vlErrno is set to indicate the error.
This function is obsolete. vlDMBufferPutValid should be used instead.
See vlintro (3dm) and VL_EXT_EVENT_RECV (3dm).
When using glXAssociateDMPbufferSGIX to pass DMbuffers between video and
OpenGL on the O2 platform, VL_LAYOUT should be set to VL_LAYOUT_GRAPHICS.
This way, the video libary will expect DMbuffers in the format used
internally by OpenGL.
vlDMBufferPutValid(3dm), vlEventToDMBuffer(3dm), vlintro(3dm)
VLDMBUFFERSEND(3dm) VLDMBUFFERSEND(3dm)
vlDMBufferSend - send a DMbuffer to video out.
#include <dmedia/vl.h>
int vlDMBufferSend(VLServer svr, VLPath path, DMbuffer dmbuffer);
vlDMBufferSend puts the DMbuffer on the specified paths output drain
queue. Care must be taken not to overflow this queue by adding buffers
faster than the video library can dequeue them and send them out. This
call should be synchronized with VLTransferComplete events from the path
which indicates a buffer has been sent out.
vlDMBufferSend returns 0 if successful, otherwise it returns -1 and
vlErrno is set to indicate the error.
This function is obsolete. vlDMBufferPutValid should be used instead.
See vlintro (3dm) and VL_EXT_EVENT_RECV (3dm).
When using glXAssociateDMPbufferSGIX to pass DMbuffers between video and
OpenGL on the O2 platform, VL_LAYOUT should be set to VL_LAYOUT_GRAPHICS.
This way, the video libary will expect DMbuffers in the format used
internally by OpenGL.
vlDMBufferPutValid(3dm), vlEventToDMBuffer(3dm), vlintro(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|