dmPMGetSourceAUsage(3dm)
dmPMGetSourceAUsage, dmPMGetSourceBUsage, dmPMGetDestUsage - retrieves the usage bitmask of the plugin
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME dmPMGetSourceAUsage, dmPMGetSourceBUsage, dmPMGetDestUsage - retrieves the usage bitmask of the plugin SYNOPSIS #include <dmedia/fx_plugin_mgr.h> int dmPMGetSourceAUsage ( DMplugin* plugin ) int dmPMGetSourceBUsage ( DMplugin* plugin ) int dmPMGetDestUsage ( DMplugin* plugin ) PARAMETERS plugin A pointer to a DMplugin, which was created with dmPMInitPlugin or dmPMInitDirectory. DESCRIPTION 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: 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 CAVEATS Calling dmPMGetSourceAUsage, dmPMGetSourceBUsage, or dmPMGetDestUsage will cause the plugin to be loaded with dlopen(3) if it is not already loaded. RETURN VALUES 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. SEE ALSO dmPMCreateManager(3dm), dmPMInitPlugin(3dm), dmGetError(3dm).