35937bfd3b6c3ccc0cf9f01e1f9c2a4babdeebfd
[platform/upstream/gst-plugins-good.git] / gst / goom / goom.h
1 #ifndef _GOOMCORE_H
2 #define _GOOMCORE_H
3
4 #include "goom_config.h"
5 #include "goom_plugin_info.h"
6
7 #define NB_FX 10
8
9 PluginInfo *goom_init (guint32 resx, guint32 resy);
10 void goom_set_resolution (PluginInfo *goomInfo, guint32 resx, guint32 resy);
11
12 /*
13  * forceMode == 0 : do nothing
14  * forceMode == -1 : lock the FX
15  * forceMode == 1..NB_FX : force a switch to FX n# forceMode
16  */
17 guint32 *goom_update (PluginInfo *goomInfo, gint16 data[2][512], int forceMode, float fps);
18
19 /* returns 0 if the buffer wasn't accepted */
20 int goom_set_screenbuffer(PluginInfo *goomInfo, void *buffer);
21
22 void goom_close (PluginInfo *goomInfo);
23
24 #endif