dmPMGetSourceAUsage(3dm) dmPMGetSourceAUsage(3dm)
dmPMGetSourceAUsage, dmPMGetSourceBUsage, dmPMGetDestUsage - retrieves
the usage bitmask of the plugin
#include <dmedia/fx_plugin_mgr.h>
int dmPMGetSourceAUsage
( DMplugin* plugin )
int dmPMGetSourceBUsage
( DMplugin* plugin )
int dmPMGetDestUsage
( DMplugin* plugin )
plugin A pointer to a DMplugin, which was created with dmPMInitPlugin
or dmPMInitDirectory.
dmPMGetSourceAUsage returns the usage bitmask of the source A. Possible
values are:
#define DM_BUF_INPUT_DIRECT 0x0001 /* reads from void *data */
#define DM_BUF_INPUT_TEXTURE 0x0002 /* uses OpenGL texturing */
#define DM_BUF_INPUT_DRAWPIXELS 0x0004 /* uses OpenGL pixel
drawing */ #define DM_BUF_INPUT_MOVIE 0x0008 /* used only by
application */ #define DM_BUF_INPUT_ALL 0xFFFF /* may use any kind
of input */
DM_BUF_INPUT_DIRECT reads from void *data
DM_BUF_INPUT_TEXTURE uses OpenGL texturing
DM_BUF_INPUT_DRAWPIXELS uses OpenGL pixel drawing
DM_BUF_INPUT_MOVIE used only by application
DM_BUF_INPUT_ALL may use any kind of input
dmPMGetSourceBUsage returns the usage bitmask of the source B (video
transitions only). Possible values are:
Page 1
dmPMGetSourceAUsage(3dm) dmPMGetSourceAUsage(3dm)
DM_BUF_INPUT_DIRECT reads from void *data
DM_BUF_INPUT_TEXTURE uses OpenGL texturing
DM_BUF_INPUT_DRAWPIXELS uses OpenGL pixel drawing
DM_BUF_INPUT_MOVIE used only by application
DM_BUF_INPUT_ALL may use any kind of input
dmPMGetDestUsage returns the usage bitmask of the destination. Possible
values are:
DM_BUF_OUTPUT_DIRECT writes to void *data
DM_BUF_OUTPUT_OPENGL renders with OpenGL
DM_BUF_OUTPUT_MOVIE used only by application
Calling dmPMGetSourceAUsage, dmPMGetSourceBUsage, or dmPMGetDestUsage
will cause the plugin to be loaded with dlopen(3) if it is not already
loaded.
dmPMGetSourceAUsage will return the usage bitmask of the source A.
dmPMGetSourceBUsage will return the usage bitmask of the source B.
dmPMGetDestUsage will return the the usage bitmask of the destination.
dmPMCreateManager(3dm), dmPMInitPlugin(3dm), dmGetError(3dm).
PPPPaaaaggggeeee 2222 [ Back ]
|