dmFXGetDMBuffer - return the DMbuffer associated with a DMfxbuffer
DMstatus dmFXGetDMBuffer [Toc] [Back]
( DMfxbuffer* fxbuffer,
DMparams** returnFormat )
fxbuffer A buffer that was created with dmFXAllocateImageBuffers.
returnDMBuffer A pointer to a DMbuffer* to fill in.
Some implementations of DMfxbuffers use DMbuffers internally to hold
images. An application can get a pointer to this DMbuffer, if there is
one, by calling dmFXGetDMBuffer.
If there is an a DMbuffer associated with fxbuffer, then returnDMBuffer
will be set, returnFormat will be set to describe the format of the image
in the buffer, and DM_SUCCESS will be returned. Both returnDMBuffer and
returnFormat are valid only until the next operation on the same
If there is no associated DMbuffer, then DM_FAILURE is returned.
PPPPaaaaggggeeee 1111 [ Back ]