Files
veejay/veejay-26nov04/plugins
Niels Elburg 8993ffdb73 Initial revision
git-svn-id: svn://code.dyne.org/veejay/trunk@27 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2004-10-27 23:48:49 +00:00
..
2004-10-27 23:48:49 +00:00
2004-10-27 23:48:49 +00:00
2004-10-27 23:48:49 +00:00
2004-10-27 23:48:49 +00:00
2004-10-27 23:48:49 +00:00
2004-10-27 23:48:49 +00:00
2004-10-27 23:48:49 +00:00


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.