2 * Copyright (C) <2003> iOS-Software
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
22 #include "goom_config.h"
23 #include "goom_plugin_info.h"
27 PluginInfo *goom_init (guint32 resx, guint32 resy);
28 void goom_set_resolution (PluginInfo *goomInfo, guint32 resx, guint32 resy);
31 * forceMode == 0 : do nothing
32 * forceMode == -1 : lock the FX
33 * forceMode == 1..NB_FX : force a switch to FX n# forceMode
35 guint32 *goom_update (PluginInfo *goomInfo, gint16 data[2][512], int forceMode, float fps);
37 /* returns 0 if the buffer wasn't accepted */
38 int goom_set_screenbuffer(PluginInfo *goomInfo, void *buffer);
40 void goom_close (PluginInfo *goomInfo);