dmBuffer(3dm) dmBuffer(3dm)
dmBufferGetGLPoolParams - configures pool parameters required for use by
graphics
#include <dmedia/dm_buffer.h>
DMstatus dmBufferGetGLPoolParams( const DMparams *imageParams, DMparams *poolParams )
dmBufferGetGLPoolParams configures the poolParams given the constrains in
DM_IMAGE_WIDTH, DM_IMAGE_HEIGHT and DM_IMAGE_PACKING must be set to valid
values for the poolParams to be configured properly.
The poolParams must also be configured by other subsystems (like dmIC and
VL) before or after it has been configured by this call if the buffer
pool is to be shared among the various subsystems (See also
dmBufferCreatePool(3dm) ).
If the poolParams cannot be altered (due to, for example,
incompatibilities between pool requirements by various subsystems and/or
the application) DM_FAILURE is returned and an error can be retrieved
using dmGetError(3dm)
dmICGetSrcPoolParams(3dm), dmICGetDstPoolParams(3dm),
vlDMPoolGetParams(3dm), dmBufferCreatePool(3dm), dmGetError(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|