1 /* Goom Project 2 * Copyright (C) <2003> Jean-Christophe Hoelt <jeko@free.fr> 3 * 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. 8 * 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. 13 * 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. 18 */ 19 #ifndef _VISUAL_FX_H 20 #define _VISUAL_FX_H 21 22 #include "goom_config_param.h" 23 #include "goom_graphic.h" 24 #include "goom_typedefs.h" 25 26 struct _VISUAL_FX { 27 void (*init) (struct _VISUAL_FX *_this, PluginInfo *info); 28 void (*free) (struct _VISUAL_FX *_this); 29 void (*apply) (struct _VISUAL_FX *_this, Pixel *src, Pixel *dest, PluginInfo *info); 30 void *fx_data; 31 32 PluginParameters *params; 33 }; 34 35 #endif 36