Files
veejay/veejay-current/plugins/README
Niels Elburg 418fc2a164 moved
git-svn-id: svn://code.dyne.org/veejay/trunk@58 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2004-12-01 11:27:17 +00:00

34 lines
666 B
Plaintext

Veejay Plugins
See dummy.c for a working example
A minimal Veejay Plugin has these functions:
VJPluginInfo *Info(void *context);
int Init(void *context)
void Process( void *context, void *info, void *picture )
Optional functions are:
void Event( void *context, const char *args )
void Free(void *context)
Veejay calls the plugin's function 'Process' when a new frame is ready,
the void pointer info should be casted to a VJFrameInfo structure,
the void pointer picture should be casted to a VJFrame structure.
The VJFrame structure contains the datafields for the Frame, VJFrameInfo
structure holds some informative fields for your plugin.