From 6eb6d5b9ac5c90693161413eeee3a32d33a3637f Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 28 Oct 2008 06:50:57 +0000 Subject: gst/goom/: Add license headers in all source files. Remove filter.c from Original commit message from CVS: * gst/goom/Makefile.am: * gst/goom/README: * gst/goom/config_param.c: * gst/goom/convolve_fx.c: * gst/goom/drawmethods.c: * gst/goom/drawmethods.h: * gst/goom/filters.c: * gst/goom/filters_mmx.s: * gst/goom/flying_stars_fx.c: * gst/goom/goom.h: * gst/goom/goom_config.h: * gst/goom/goom_config_param.h: * gst/goom/goom_core.c: * gst/goom/goom_filters.h: * gst/goom/goom_fx.h: * gst/goom/goom_graphic.h: * gst/goom/goom_plugin_info.h: * gst/goom/goom_tools.c: * gst/goom/goom_tools.h: * gst/goom/goom_typedefs.h: * gst/goom/goom_visual_fx.h: * gst/goom/graphic.c: * gst/goom/ifs.c: * gst/goom/ifs.h: * gst/goom/lines.c: * gst/goom/lines.h: * gst/goom/mathtools.c: * gst/goom/mathtools.h: * gst/goom/mmx.c: * gst/goom/motif_goom1.h: * gst/goom/motif_goom2.h: * gst/goom/plugin_info.c: * gst/goom/ppc_drawings.h: * gst/goom/ppc_zoom_ultimate.h: * gst/goom/sound_tester.c: * gst/goom/sound_tester.h: * gst/goom/surf3d.c: * gst/goom/surf3d.h: * gst/goom/tentacle3d.c: * gst/goom/tentacle3d.h: * gst/goom/v3d.c: * gst/goom/v3d.h: * gst/goom/xmmx.c: Add license headers in all source files. Remove filter.c from EXTRA_DIST, as its in SOURCES already. Mention the files in the REDME which are not used right now. Fixes #557709. --- gst/goom/Makefile.am | 4 +- gst/goom/README | 5 ++ gst/goom/config_param.c | 27 ++++--- gst/goom/convolve_fx.c | 18 +++++ gst/goom/drawmethods.c | 18 +++++ gst/goom/drawmethods.h | 18 +++++ gst/goom/filters.c | 18 +++++ gst/goom/filters_mmx.s | 24 +++++- gst/goom/flying_stars_fx.c | 18 +++++ gst/goom/goom.h | 18 +++++ gst/goom/goom_config.h | 18 +++++ gst/goom/goom_config_param.h | 18 +++++ gst/goom/goom_core.c | 28 +++++-- gst/goom/goom_filters.h | 20 ++++- gst/goom/goom_fx.h | 18 +++++ gst/goom/goom_graphic.h | 18 +++++ gst/goom/goom_plugin_info.h | 18 +++++ gst/goom/goom_tools.c | 18 +++++ gst/goom/goom_tools.h | 18 +++++ gst/goom/goom_typedefs.h | 18 +++++ gst/goom/goom_visual_fx.h | 27 ++++--- gst/goom/graphic.c | 18 +++++ gst/goom/ifs.c | 6 +- gst/goom/ifs.h | 31 +++++++- gst/goom/lines.c | 19 ++++- gst/goom/lines.h | 25 ++++-- gst/goom/mathtools.c | 181 +++++++++++++++++++++++-------------------- gst/goom/mathtools.h | 23 +++++- gst/goom/mmx.c | 26 +++++++ gst/goom/motif_goom1.h | 18 +++++ gst/goom/motif_goom2.h | 18 +++++ gst/goom/plugin_info.c | 18 +++++ gst/goom/ppc_drawings.h | 20 +++-- gst/goom/ppc_zoom_ultimate.h | 20 +++-- gst/goom/sound_tester.c | 20 ++++- gst/goom/sound_tester.h | 18 +++++ gst/goom/surf3d.c | 18 +++++ gst/goom/surf3d.h | 18 +++++ gst/goom/tentacle3d.c | 18 +++++ gst/goom/tentacle3d.h | 18 +++++ gst/goom/v3d.c | 18 +++++ gst/goom/v3d.h | 18 +++++ gst/goom/xmmx.c | 26 +++++++ 43 files changed, 838 insertions(+), 144 deletions(-) (limited to 'gst/goom') diff --git a/gst/goom/Makefile.am b/gst/goom/Makefile.am index 4360d9e2..da24afd9 100644 --- a/gst/goom/Makefile.am +++ b/gst/goom/Makefile.am @@ -18,7 +18,7 @@ if HAVE_CPU_I386 ARCH_FILES = $(MMX_FILES) ARCH_CFLAGS = -DBUILD_MMX endif - + libgstgoom_la_SOURCES = \ gstgoom.c gstgoom.h \ drawmethods.c drawmethods.h \ @@ -41,7 +41,7 @@ libgstgoom_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAG libgstgoom_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(LIBOIL_LIBS) libgstgoom_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -EXTRA_DIST = filters.c $(PPC_FILES) $(MMX_FILES) +EXTRA_DIST = $(PPC_FILES) $(MMX_FILES) .NOTPARALLEL: diff --git a/gst/goom/README b/gst/goom/README index 1b3736a1..87a5e9b1 100644 --- a/gst/goom/README +++ b/gst/goom/README @@ -6,3 +6,8 @@ Like the original library so is the Goom plugin available under the LGPL license This is based on goom2k4 with changes to plugin_info.c and mmx.h to use liboil for CPU detection and GStreamer-specific ifdef's for architecture detection. + +These files are not in use right now: +filters_mmx.s +goomsl* +surf3d.s diff --git a/gst/goom/config_param.c b/gst/goom/config_param.c index da07a34a..ba04b461 100644 --- a/gst/goom/config_param.c +++ b/gst/goom/config_param.c @@ -1,12 +1,21 @@ -/*---------------------------------------------------------------------------*/ -/* -** config_param.c -** Goom Project -** -** Created by Jean-Christophe Hoelt on Sat Jul 19 2003 -** Copyright (c) 2003 iOS. All rights reserved. -*/ -/*---------------------------------------------------------------------------*/ +/* Goom Project + * Copyright (C) <2003> Jean-Christophe Hoelt + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "goom_config_param.h" #include diff --git a/gst/goom/convolve_fx.c b/gst/goom/convolve_fx.c index e4697236..fd148041 100644 --- a/gst/goom/convolve_fx.c +++ b/gst/goom/convolve_fx.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "goom_fx.h" #include "goom_plugin_info.h" #include "goom_config.h" diff --git a/gst/goom/drawmethods.c b/gst/goom/drawmethods.c index 929564da..cd8163aa 100644 --- a/gst/goom/drawmethods.c +++ b/gst/goom/drawmethods.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "drawmethods.h" #define DRAWMETHOD_PLUS(_out,_backbuf,_col) \ diff --git a/gst/goom/drawmethods.h b/gst/goom/drawmethods.h index 76ad6ca0..cdf3d478 100644 --- a/gst/goom/drawmethods.h +++ b/gst/goom/drawmethods.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _DRAWMETHODS_H #define _DRAWMETHODS_H diff --git a/gst/goom/filters.c b/gst/goom/filters.c index 564e29a8..53351f1b 100644 --- a/gst/goom/filters.c +++ b/gst/goom/filters.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ // --- CHUI EN TRAIN DE SUPPRIMER LES EXTERN RESOLX ET C_RESOLY --- /* filter.c version 0.7 diff --git a/gst/goom/filters_mmx.s b/gst/goom/filters_mmx.s index 765f1588..964b5a6a 100644 --- a/gst/goom/filters_mmx.s +++ b/gst/goom/filters_mmx.s @@ -1,5 +1,21 @@ -;// file : mmx_zoom.s -;// author : JC Hoelt +; Goom Project +; Copyright (C) <2001> Jean-Christophe Hoelt +; +; This library is free software; you can redistribute it and/or +; modify it under the terms of the GNU Library General Public +; License as published by the Free Software Foundation; either +; version 2 of the License, or (at your option) any later version. +; +; This library is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +; Library General Public License for more details. +; +; You should have received a copy of the GNU Library General Public +; License along with this library; if not, write to the +; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +; Boston, MA 02111-1307, USA. +; ;// ;// history ;// 07/01/2001 : Changing FEMMS to EMMS : slower... but run on intel machines @@ -53,7 +69,7 @@ mmx_zoom: sarl $4,%eax movl %eax,-8(%ebp) -;// initialisation du mm7 à zero +;// initialisation du mm7 � zero movq (thezero), %mm7 movl mmx_zoom_size, %ecx @@ -170,7 +186,7 @@ decl %ecx pmullw %mm4, %mm1 pmullw %mm5, %mm2 - ;// ajout des valeurs obtenues à la valeur finale + ;// ajout des valeurs obtenues � la valeur finale paddw %mm1, %mm0 paddw %mm2, %mm0 diff --git a/gst/goom/flying_stars_fx.c b/gst/goom/flying_stars_fx.c index 9906c053..beed7504 100644 --- a/gst/goom/flying_stars_fx.c +++ b/gst/goom/flying_stars_fx.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "goom_fx.h" #include "goom_plugin_info.h" #include "goom_tools.h" diff --git a/gst/goom/goom.h b/gst/goom/goom.h index 35937bfd..ccfc3f2f 100644 --- a/gst/goom/goom.h +++ b/gst/goom/goom.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _GOOMCORE_H #define _GOOMCORE_H diff --git a/gst/goom/goom_config.h b/gst/goom/goom_config.h index e505882e..1098431c 100644 --- a/gst/goom/goom_config.h +++ b/gst/goom/goom_config.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include #if WORDS_BIGENDIAN diff --git a/gst/goom/goom_config_param.h b/gst/goom/goom_config_param.h index e3a75147..468c49ea 100644 --- a/gst/goom/goom_config_param.h +++ b/gst/goom/goom_config_param.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _CONFIG_PARAM_H #define _CONFIG_PARAM_H diff --git a/gst/goom/goom_core.c b/gst/goom/goom_core.c index b1aaba59..a6121d58 100644 --- a/gst/goom/goom_core.c +++ b/gst/goom/goom_core.c @@ -1,10 +1,22 @@ -/** -* file: goom_core.c - * author: Jean-Christophe Hoelt (which is not so proud of it) +/* Goom Project + * Copyright (C) <2003> Jean-Christophe Hoelt * - * Contains the core of goom's work. + * goom_core.c:Contains the core of goom's work. * - * (c)2000-2003, by iOS-software. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H @@ -155,7 +167,7 @@ goom_update (PluginInfo * goomInfo, gint16 data[2][512], int forceMode, guint32 pointWidth; guint32 pointHeight; int i; - float largfactor; /* elargissement de l'intervalle d'évolution des points */ + float largfactor; /* elargissement de l'intervalle d'�volution des points */ Pixel *tmp; ZoomFilterData *pzfd; @@ -221,7 +233,7 @@ goom_update (PluginInfo * goomInfo, gint16 data[2][512], int forceMode, } } - /* par défaut pas de changement de zoom */ + /* par d�faut pas de changement de zoom */ pzfd = NULL; /* @@ -575,7 +587,7 @@ goom_update (PluginInfo * goomInfo, gint16 data[2][512], int forceMode, } /* - * arreter de decrémenter au bout d'un certain temps + * arreter de decr�menter au bout d'un certain temps */ if ((goomInfo->cycle % 101 == 0) && (goomInfo->update.zoomFilterData.pertedec == 7)) { diff --git a/gst/goom/goom_filters.h b/gst/goom/goom_filters.h index f015499a..dfbcbc6f 100644 --- a/gst/goom/goom_filters.h +++ b/gst/goom/goom_filters.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef FILTERS_H #define FILTERS_H @@ -16,7 +34,7 @@ struct _ZOOM_FILTER_DATA unsigned char sqrtperte; int middleX, middleY; /* milieu de l'effet */ char reverse; /* inverse la vitesse */ - char mode; /* type d'effet à appliquer (cf les #define) */ + char mode; /* type d'effet � appliquer (cf les #define) */ /** @since June 2001 */ int hPlaneEffect; /* deviation horitontale */ int vPlaneEffect; /* deviation verticale */ diff --git a/gst/goom/goom_fx.h b/gst/goom/goom_fx.h index e672ece3..9da11093 100644 --- a/gst/goom/goom_fx.h +++ b/gst/goom/goom_fx.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _GOOM_FX_H #define _GOOM_FX_H diff --git a/gst/goom/goom_graphic.h b/gst/goom/goom_graphic.h index 9deaf5a9..7632205b 100644 --- a/gst/goom/goom_graphic.h +++ b/gst/goom/goom_graphic.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef GRAPHIC_H #define GRAPHIC_H diff --git a/gst/goom/goom_plugin_info.h b/gst/goom/goom_plugin_info.h index a745fea2..294afe84 100644 --- a/gst/goom/goom_plugin_info.h +++ b/gst/goom/goom_plugin_info.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _PLUGIN_INFO_H #define _PLUGIN_INFO_H diff --git a/gst/goom/goom_tools.c b/gst/goom/goom_tools.c index ebca69e2..4f9a6b2b 100644 --- a/gst/goom/goom_tools.c +++ b/gst/goom/goom_tools.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "goom_tools.h" #include diff --git a/gst/goom/goom_tools.h b/gst/goom/goom_tools.h index 08d00056..caaa219e 100644 --- a/gst/goom/goom_tools.h +++ b/gst/goom/goom_tools.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _GOOMTOOLS_H #define _GOOMTOOLS_H diff --git a/gst/goom/goom_typedefs.h b/gst/goom/goom_typedefs.h index 76036504..7188b4b8 100644 --- a/gst/goom/goom_typedefs.h +++ b/gst/goom/goom_typedefs.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _GOOM_TYPEDEFS_H #define _GOOM_TYPEDEFS_H diff --git a/gst/goom/goom_visual_fx.h b/gst/goom/goom_visual_fx.h index 6939ac80..6f6f964a 100644 --- a/gst/goom/goom_visual_fx.h +++ b/gst/goom/goom_visual_fx.h @@ -1,14 +1,23 @@ -#ifndef _VISUAL_FX_H -#define _VISUAL_FX_H - -/** - * File created on 2003-05-21 by Jeko. - * (c)2003, JC Hoelt for iOS-software. +/* Goom Project + * Copyright (C) <2003> Jean-Christophe Hoelt + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. * - * LGPL Licence. - * If you use this file on a visual program, - * please make my name being visible on it. + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. */ +#ifndef _VISUAL_FX_H +#define _VISUAL_FX_H #include "goom_config_param.h" #include "goom_graphic.h" diff --git a/gst/goom/graphic.c b/gst/goom/graphic.c index 2ee71a6d..64c02237 100644 --- a/gst/goom/graphic.c +++ b/gst/goom/graphic.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "goom_graphic.h" const Color BLACK = { 0, 0, 0 }; diff --git a/gst/goom/ifs.c b/gst/goom/ifs.c index 1a90e2dd..129aaff9 100644 --- a/gst/goom/ifs.c +++ b/gst/goom/ifs.c @@ -1,10 +1,8 @@ -/* - * ifs.c --- modified iterated functions system for goom. - */ - /*- * Copyright (c) 1997 by Massimino Pascal * + * ifs.c: modified iterated functions system for goom. + * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appear in all copies and that diff --git a/gst/goom/ifs.h b/gst/goom/ifs.h index fab04266..370a0bb5 100644 --- a/gst/goom/ifs.h +++ b/gst/goom/ifs.h @@ -1,5 +1,32 @@ -/* - * File created 11 april 2002 by JeKo +/*- + * Copyright (c) 1997 by Massimino Pascal + * + * ifs.h: modified iterated functions system for goom. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose and without fee is hereby granted, + * provided that the above copyright notice appear in all copies and that + * both that copyright notice and this permission notice appear in + * supporting documentation. + * + * This file is provided AS IS with no warranties of any kind. The author + * shall have no liability with respect to the infringement of copyrights, + * trade secrets or any patents by this file or any part thereof. In no + * event will the author be liable for any lost revenue or profits or + * other special, indirect and consequential damages. + * + * If this mode is weird and you have an old MetroX server, it is buggy. + * There is a free SuSE-enhanced MetroX X server that is fine. + * + * When shown ifs, Diana Rose (4 years old) said, "It looks like dancing." + * + * Revision History: + * 13-Dec-2003: Added some goom specific stuffs (to make ifs a VisualFX). + * 11-Apr-2002: jeko@ios-software.com: Make ifs.c system-indendant. (ifs.h added) + * 01-Nov-2000: Allocation checks + * 10-May-1997: jwz@jwz.org: turned into a standalone program. + * Made it render into an offscreen bitmap and then copy + * that onto the screen, to reduce flicker. */ #ifndef IFS_H diff --git a/gst/goom/lines.c b/gst/goom/lines.c index 027263aa..849fbe6e 100644 --- a/gst/goom/lines.c +++ b/gst/goom/lines.c @@ -1,5 +1,20 @@ -/* - * lines.c +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. */ #include "lines.h" diff --git a/gst/goom/lines.h b/gst/goom/lines.h index 9c6df924..6c2b47cd 100644 --- a/gst/goom/lines.h +++ b/gst/goom/lines.h @@ -1,12 +1,25 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + #ifndef _LINES_H #define _LINES_H -/* - * lines.h - * Goom - * Copyright (c) 2000-2003 iOS-software. All rights reserved. - */ - #include "goom_typedefs.h" #include "goom_graphic.h" #include "goom_config.h" diff --git a/gst/goom/mathtools.c b/gst/goom/mathtools.c index 4b275c62..84d5a964 100644 --- a/gst/goom/mathtools.c +++ b/gst/goom/mathtools.c @@ -1,95 +1,106 @@ -/*---------------------------------------------------------------------------*/ -/* -** mathtools.c -** Goom Project -** -** Created by Jeko on Sun Jul 20 2003 - ** Copyright (c) 2003 iOS. All rights reserved. -*/ -/*---------------------------------------------------------------------------*/ +/* Goom Project + * Copyright (C) <2003> Jean-Christophe Hoelt + * + * goom_core.c:Contains the core of goom's work. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "mathtools.h" float sin256[256] = { 0, 0.0245412, 0.0490677, 0.0735646, 0.0980171, 0.122411, 0.14673, 0.170962, - 0.19509, 0.219101, 0.24298, 0.266713, 0.290285, 0.313682, 0.33689, - 0.359895, 0.382683, 0.405241, 0.427555, 0.449611, 0.471397, 0.492898, - 0.514103, 0.534998, 0.55557, 0.575808, 0.595699, 0.615232, 0.634393, - 0.653173, 0.671559, 0.689541, 0.707107, 0.724247, 0.740951, 0.757209, - 0.77301, 0.788346, 0.803208, 0.817585, 0.83147, 0.844854, 0.857729, - 0.870087, 0.881921, 0.893224, 0.903989, 0.91421, 0.92388, 0.932993, - 0.941544, 0.949528, 0.95694, 0.963776, 0.970031, 0.975702, 0.980785, - 0.985278, 0.989177, 0.99248, 0.995185, 0.99729, 0.998795, 0.999699, 1, - 0.999699, 0.998795, 0.99729, 0.995185, 0.99248, 0.989177, 0.985278, - 0.980785, 0.975702, 0.970031, 0.963776, 0.95694, 0.949528, 0.941544, - 0.932993, 0.92388, 0.91421, 0.903989, 0.893224, 0.881921, 0.870087, - 0.857729, 0.844854, 0.83147, 0.817585, 0.803208, 0.788346, 0.77301, - 0.757209, 0.740951, 0.724247, 0.707107, 0.689541, 0.671559, 0.653173, - 0.634393, 0.615232, 0.595699, 0.575808, 0.55557, 0.534998, 0.514103, - 0.492898, 0.471397, 0.449611, 0.427555, 0.405241, 0.382683, 0.359895, - 0.33689, 0.313682, 0.290285, 0.266713, 0.24298, 0.219101, 0.19509, - 0.170962, 0.14673, 0.122411, 0.0980171, 0.0735646, 0.0490677, 0.0245412, - 1.22465e-16, -0.0245412, -0.0490677, -0.0735646, -0.0980171, -0.122411, - -0.14673, -0.170962, -0.19509, -0.219101, -0.24298, -0.266713, -0.290285, - -0.313682, -0.33689, -0.359895, -0.382683, -0.405241, -0.427555, - -0.449611, -0.471397, -0.492898, -0.514103, -0.534998, -0.55557, - -0.575808, -0.595699, -0.615232, -0.634393, -0.653173, -0.671559, - -0.689541, -0.707107, -0.724247, -0.740951, -0.757209, -0.77301, - -0.788346, -0.803208, -0.817585, -0.83147, -0.844854, -0.857729, - -0.870087, -0.881921, -0.893224, -0.903989, -0.91421, -0.92388, -0.932993, - -0.941544, -0.949528, -0.95694, -0.963776, -0.970031, -0.975702, - -0.980785, -0.985278, -0.989177, -0.99248, -0.995185, -0.99729, -0.998795, - -0.999699, -1, -0.999699, -0.998795, -0.99729, -0.995185, -0.99248, - -0.989177, -0.985278, -0.980785, -0.975702, -0.970031, -0.963776, - -0.95694, -0.949528, -0.941544, -0.932993, -0.92388, -0.91421, -0.903989, - -0.893224, -0.881921, -0.870087, -0.857729, -0.844854, -0.83147, - -0.817585, -0.803208, -0.788346, -0.77301, -0.757209, -0.740951, - -0.724247, -0.707107, -0.689541, -0.671559, -0.653173, -0.634393, - -0.615232, -0.595699, -0.575808, -0.55557, -0.534998, -0.514103, - -0.492898, -0.471397, -0.449611, -0.427555, -0.405241, -0.382683, - -0.359895, -0.33689, -0.313682, -0.290285, -0.266713, -0.24298, -0.219101, - -0.19509, -0.170962, -0.14673, -0.122411, -0.0980171, -0.0735646, - -0.0490677, -0.0245412 + 0.19509, 0.219101, 0.24298, 0.266713, 0.290285, 0.313682, 0.33689, + 0.359895, 0.382683, 0.405241, 0.427555, 0.449611, 0.471397, 0.492898, + 0.514103, 0.534998, 0.55557, 0.575808, 0.595699, 0.615232, 0.634393, + 0.653173, 0.671559, 0.689541, 0.707107, 0.724247, 0.740951, 0.757209, + 0.77301, 0.788346, 0.803208, 0.817585, 0.83147, 0.844854, 0.857729, + 0.870087, 0.881921, 0.893224, 0.903989, 0.91421, 0.92388, 0.932993, + 0.941544, 0.949528, 0.95694, 0.963776, 0.970031, 0.975702, 0.980785, + 0.985278, 0.989177, 0.99248, 0.995185, 0.99729, 0.998795, 0.999699, 1, + 0.999699, 0.998795, 0.99729, 0.995185, 0.99248, 0.989177, 0.985278, + 0.980785, 0.975702, 0.970031, 0.963776, 0.95694, 0.949528, 0.941544, + 0.932993, 0.92388, 0.91421, 0.903989, 0.893224, 0.881921, 0.870087, + 0.857729, 0.844854, 0.83147, 0.817585, 0.803208, 0.788346, 0.77301, + 0.757209, 0.740951, 0.724247, 0.707107, 0.689541, 0.671559, 0.653173, + 0.634393, 0.615232, 0.595699, 0.575808, 0.55557, 0.534998, 0.514103, + 0.492898, 0.471397, 0.449611, 0.427555, 0.405241, 0.382683, 0.359895, + 0.33689, 0.313682, 0.290285, 0.266713, 0.24298, 0.219101, 0.19509, + 0.170962, 0.14673, 0.122411, 0.0980171, 0.0735646, 0.0490677, 0.0245412, + 1.22465e-16, -0.0245412, -0.0490677, -0.0735646, -0.0980171, -0.122411, + -0.14673, -0.170962, -0.19509, -0.219101, -0.24298, -0.266713, -0.290285, + -0.313682, -0.33689, -0.359895, -0.382683, -0.405241, -0.427555, + -0.449611, -0.471397, -0.492898, -0.514103, -0.534998, -0.55557, + -0.575808, -0.595699, -0.615232, -0.634393, -0.653173, -0.671559, + -0.689541, -0.707107, -0.724247, -0.740951, -0.757209, -0.77301, + -0.788346, -0.803208, -0.817585, -0.83147, -0.844854, -0.857729, + -0.870087, -0.881921, -0.893224, -0.903989, -0.91421, -0.92388, -0.932993, + -0.941544, -0.949528, -0.95694, -0.963776, -0.970031, -0.975702, + -0.980785, -0.985278, -0.989177, -0.99248, -0.995185, -0.99729, -0.998795, + -0.999699, -1, -0.999699, -0.998795, -0.99729, -0.995185, -0.99248, + -0.989177, -0.985278, -0.980785, -0.975702, -0.970031, -0.963776, + -0.95694, -0.949528, -0.941544, -0.932993, -0.92388, -0.91421, -0.903989, + -0.893224, -0.881921, -0.870087, -0.857729, -0.844854, -0.83147, + -0.817585, -0.803208, -0.788346, -0.77301, -0.757209, -0.740951, + -0.724247, -0.707107, -0.689541, -0.671559, -0.653173, -0.634393, + -0.615232, -0.595699, -0.575808, -0.55557, -0.534998, -0.514103, + -0.492898, -0.471397, -0.449611, -0.427555, -0.405241, -0.382683, + -0.359895, -0.33689, -0.313682, -0.290285, -0.266713, -0.24298, -0.219101, + -0.19509, -0.170962, -0.14673, -0.122411, -0.0980171, -0.0735646, + -0.0490677, -0.0245412 }; float cos256[256] = { 0, 0.999699, 0.998795, 0.99729, 0.995185, 0.99248, 0.989177, 0.985278, - 0.980785, 0.975702, 0.970031, 0.963776, 0.95694, 0.949528, 0.941544, - 0.932993, 0.92388, 0.91421, 0.903989, 0.893224, 0.881921, 0.870087, - 0.857729, 0.844854, 0.83147, 0.817585, 0.803208, 0.788346, 0.77301, - 0.757209, 0.740951, 0.724247, 0.707107, 0.689541, 0.671559, 0.653173, - 0.634393, 0.615232, 0.595699, 0.575808, 0.55557, 0.534998, 0.514103, - 0.492898, 0.471397, 0.449611, 0.427555, 0.405241, 0.382683, 0.359895, - 0.33689, 0.313682, 0.290285, 0.266713, 0.24298, 0.219101, 0.19509, - 0.170962, 0.14673, 0.122411, 0.0980171, 0.0735646, 0.0490677, 0.0245412, - 6.12323e-17, -0.0245412, -0.0490677, -0.0735646, -0.0980171, -0.122411, - -0.14673, -0.170962, -0.19509, -0.219101, -0.24298, -0.266713, -0.290285, - -0.313682, -0.33689, -0.359895, -0.382683, -0.405241, -0.427555, - -0.449611, -0.471397, -0.492898, -0.514103, -0.534998, -0.55557, - -0.575808, -0.595699, -0.615232, -0.634393, -0.653173, -0.671559, - -0.689541, -0.707107, -0.724247, -0.740951, -0.757209, -0.77301, - -0.788346, -0.803208, -0.817585, -0.83147, -0.844854, -0.857729, - -0.870087, -0.881921, -0.893224, -0.903989, -0.91421, -0.92388, -0.932993, - -0.941544, -0.949528, -0.95694, -0.963776, -0.970031, -0.975702, - -0.980785, -0.985278, -0.989177, -0.99248, -0.995185, -0.99729, -0.998795, - -0.999699, -1, -0.999699, -0.998795, -0.99729, -0.995185, -0.99248, - -0.989177, -0.985278, -0.980785, -0.975702, -0.970031, -0.963776, - -0.95694, -0.949528, -0.941544, -0.932993, -0.92388, -0.91421, -0.903989, - -0.893224, -0.881921, -0.870087, -0.857729, -0.844854, -0.83147, - -0.817585, -0.803208, -0.788346, -0.77301, -0.757209, -0.740951, - -0.724247, -0.707107, -0.689541, -0.671559, -0.653173, -0.634393, - -0.615232, -0.595699, -0.575808, -0.55557, -0.534998, -0.514103, - -0.492898, -0.471397, -0.449611, -0.427555, -0.405241, -0.382683, - -0.359895, -0.33689, -0.313682, -0.290285, -0.266713, -0.24298, -0.219101, - -0.19509, -0.170962, -0.14673, -0.122411, -0.0980171, -0.0735646, - -0.0490677, -0.0245412, -1.83697e-16, 0.0245412, 0.0490677, 0.0735646, - 0.0980171, 0.122411, 0.14673, 0.170962, 0.19509, 0.219101, 0.24298, - 0.266713, 0.290285, 0.313682, 0.33689, 0.359895, 0.382683, 0.405241, - 0.427555, 0.449611, 0.471397, 0.492898, 0.514103, 0.534998, 0.55557, - 0.575808, 0.595699, 0.615232, 0.634393, 0.653173, 0.671559, 0.689541, - 0.707107, 0.724247, 0.740951, 0.757209, 0.77301, 0.788346, 0.803208, - 0.817585, 0.83147, 0.844854, 0.857729, 0.870087, 0.881921, 0.893224, - 0.903989, 0.91421, 0.92388, 0.932993, 0.941544, 0.949528, 0.95694, - 0.963776, 0.970031, 0.975702, 0.980785, 0.985278, 0.989177, 0.99248, - 0.995185, 0.99729, 0.998795, 0.999699 + 0.980785, 0.975702, 0.970031, 0.963776, 0.95694, 0.949528, 0.941544, + 0.932993, 0.92388, 0.91421, 0.903989, 0.893224, 0.881921, 0.870087, + 0.857729, 0.844854, 0.83147, 0.817585, 0.803208, 0.788346, 0.77301, + 0.757209, 0.740951, 0.724247, 0.707107, 0.689541, 0.671559, 0.653173, + 0.634393, 0.615232, 0.595699, 0.575808, 0.55557, 0.534998, 0.514103, + 0.492898, 0.471397, 0.449611, 0.427555, 0.405241, 0.382683, 0.359895, + 0.33689, 0.313682, 0.290285, 0.266713, 0.24298, 0.219101, 0.19509, + 0.170962, 0.14673, 0.122411, 0.0980171, 0.0735646, 0.0490677, 0.0245412, + 6.12323e-17, -0.0245412, -0.0490677, -0.0735646, -0.0980171, -0.122411, + -0.14673, -0.170962, -0.19509, -0.219101, -0.24298, -0.266713, -0.290285, + -0.313682, -0.33689, -0.359895, -0.382683, -0.405241, -0.427555, + -0.449611, -0.471397, -0.492898, -0.514103, -0.534998, -0.55557, + -0.575808, -0.595699, -0.615232, -0.634393, -0.653173, -0.671559, + -0.689541, -0.707107, -0.724247, -0.740951, -0.757209, -0.77301, + -0.788346, -0.803208, -0.817585, -0.83147, -0.844854, -0.857729, + -0.870087, -0.881921, -0.893224, -0.903989, -0.91421, -0.92388, -0.932993, + -0.941544, -0.949528, -0.95694, -0.963776, -0.970031, -0.975702, + -0.980785, -0.985278, -0.989177, -0.99248, -0.995185, -0.99729, -0.998795, + -0.999699, -1, -0.999699, -0.998795, -0.99729, -0.995185, -0.99248, + -0.989177, -0.985278, -0.980785, -0.975702, -0.970031, -0.963776, + -0.95694, -0.949528, -0.941544, -0.932993, -0.92388, -0.91421, -0.903989, + -0.893224, -0.881921, -0.870087, -0.857729, -0.844854, -0.83147, + -0.817585, -0.803208, -0.788346, -0.77301, -0.757209, -0.740951, + -0.724247, -0.707107, -0.689541, -0.671559, -0.653173, -0.634393, + -0.615232, -0.595699, -0.575808, -0.55557, -0.534998, -0.514103, + -0.492898, -0.471397, -0.449611, -0.427555, -0.405241, -0.382683, + -0.359895, -0.33689, -0.313682, -0.290285, -0.266713, -0.24298, -0.219101, + -0.19509, -0.170962, -0.14673, -0.122411, -0.0980171, -0.0735646, + -0.0490677, -0.0245412, -1.83697e-16, 0.0245412, 0.0490677, 0.0735646, + 0.0980171, 0.122411, 0.14673, 0.170962, 0.19509, 0.219101, 0.24298, + 0.266713, 0.290285, 0.313682, 0.33689, 0.359895, 0.382683, 0.405241, + 0.427555, 0.449611, 0.471397, 0.492898, 0.514103, 0.534998, 0.55557, + 0.575808, 0.595699, 0.615232, 0.634393, 0.653173, 0.671559, 0.689541, + 0.707107, 0.724247, 0.740951, 0.757209, 0.77301, 0.788346, 0.803208, + 0.817585, 0.83147, 0.844854, 0.857729, 0.870087, 0.881921, 0.893224, + 0.903989, 0.91421, 0.92388, 0.932993, 0.941544, 0.949528, 0.95694, + 0.963776, 0.970031, 0.975702, 0.980785, 0.985278, 0.989177, 0.99248, + 0.995185, 0.99729, 0.998795, 0.999699 }; diff --git a/gst/goom/mathtools.h b/gst/goom/mathtools.h index 0e2293c3..a123f485 100644 --- a/gst/goom/mathtools.h +++ b/gst/goom/mathtools.h @@ -1,4 +1,25 @@ -#ifndef MATHTOOLS_H +/* Goom Project + * Copyright (C) <2003> Jean-Christophe Hoelt + * + * goom_core.c:Contains the core of goom's work. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + + #ifndef MATHTOOLS_H #define MATHTOOLS_H diff --git a/gst/goom/mmx.c b/gst/goom/mmx.c index 73546a89..bc2a6c46 100644 --- a/gst/goom/mmx.c +++ b/gst/goom/mmx.c @@ -1,3 +1,29 @@ +/* mmx.c + + MultiMedia eXtensions GCC interface library for IA32. + + To use this library, simply include this header file + and compile with GCC. You MUST have inlining enabled + in order for mmx_ok() to work; this can be done by + simply using -O on the GCC command line. + + Compiling with -DMMX_TRACE will cause detailed trace + output to be sent to stderr for each mmx operation. + This adds lots of code, and obviously slows execution to + a crawl, but can be very useful for debugging. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT + LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR ANY PARTICULAR PURPOSE. + + 1997-99 by H. Dietz and R. Fisher + + Notes: + It appears that the latest gas has the pand problem fixed, therefore + I'll undefine BROKEN_PAND by default. +*/ + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst/goom/motif_goom1.h b/gst/goom/motif_goom1.h index 657d19e3..ba5a7d45 100644 --- a/gst/goom/motif_goom1.h +++ b/gst/goom/motif_goom1.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ static Motif CONV_MOTIF1 = { {15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, diff --git a/gst/goom/motif_goom2.h b/gst/goom/motif_goom2.h index 3a585f55..1ef1cbe1 100644 --- a/gst/goom/motif_goom2.h +++ b/gst/goom/motif_goom2.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ static Motif CONV_MOTIF2 = { {15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, diff --git a/gst/goom/plugin_info.c b/gst/goom/plugin_info.c index b5e1f463..68e0bf0a 100644 --- a/gst/goom/plugin_info.c +++ b/gst/goom/plugin_info.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst/goom/ppc_drawings.h b/gst/goom/ppc_drawings.h index ee438c28..8dd158d5 100644 --- a/gst/goom/ppc_drawings.h +++ b/gst/goom/ppc_drawings.h @@ -1,10 +1,20 @@ -/* - * ppc_drawings.h - * Goom +/* Goom Project + * Copyright (C) <2003> Guillaume Borios, iOS-Software * - * Created by Guillaume Borios on Sun Dec 28 2003. - * Copyright (c) 2003 iOS. All rights reserved. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. */ /* Generic PowerPC Code */ diff --git a/gst/goom/ppc_zoom_ultimate.h b/gst/goom/ppc_zoom_ultimate.h index b1c6031e..6c6a4ccc 100644 --- a/gst/goom/ppc_zoom_ultimate.h +++ b/gst/goom/ppc_zoom_ultimate.h @@ -1,10 +1,20 @@ -/* - * ppc_zoom_ultimate.h - * Goom +/* Goom Project + * Copyright (C) <2003> Guillaume Borios, iOS-Software * - * Created by Guillaume Borios on Sun Dec 28 2003. - * Copyright (c) 2003 iOS. All rights reserved. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. */ /* Generic PowerPC Code */ diff --git a/gst/goom/sound_tester.c b/gst/goom/sound_tester.c index 214ca0ef..c6e16103 100644 --- a/gst/goom/sound_tester.c +++ b/gst/goom/sound_tester.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "sound_tester.h" #include @@ -93,7 +111,7 @@ evaluate_sound (gint16 data[2][512], SoundInfo * info) if (info->goom_limit > 1) info->goom_limit = 1; - /* toute les 2 secondes : vérifier si le taux de goom est correct + /* toute les 2 secondes : v�rifier si le taux de goom est correct * et le modifier sinon.. */ if (info->cycle % 64 == 0) { if (info->speedvar < 0.01f) diff --git a/gst/goom/sound_tester.h b/gst/goom/sound_tester.h index 51545a80..a79bf2c5 100644 --- a/gst/goom/sound_tester.h +++ b/gst/goom/sound_tester.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _SOUND_TESTER_H #define _SOUND_TESTER_H diff --git a/gst/goom/surf3d.c b/gst/goom/surf3d.c index 6df9a926..588a5535 100644 --- a/gst/goom/surf3d.c +++ b/gst/goom/surf3d.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "surf3d.h" #include "goom_plugin_info.h" #include diff --git a/gst/goom/surf3d.h b/gst/goom/surf3d.h index 1592dfdf..83caa33d 100644 --- a/gst/goom/surf3d.h +++ b/gst/goom/surf3d.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _SURF3D_H #define _SURF3D_H diff --git a/gst/goom/tentacle3d.c b/gst/goom/tentacle3d.c index b283aa90..26d10700 100644 --- a/gst/goom/tentacle3d.c +++ b/gst/goom/tentacle3d.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include #include "v3d.h" diff --git a/gst/goom/tentacle3d.h b/gst/goom/tentacle3d.h index ad0858fa..7a7941ed 100644 --- a/gst/goom/tentacle3d.h +++ b/gst/goom/tentacle3d.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _TENTACLE3D_H #define _TENTACLE3D_H diff --git a/gst/goom/v3d.c b/gst/goom/v3d.c index 54e3c97d..f37141ed 100644 --- a/gst/goom/v3d.c +++ b/gst/goom/v3d.c @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "v3d.h" void diff --git a/gst/goom/v3d.h b/gst/goom/v3d.h index 7690847f..4257ccae 100644 --- a/gst/goom/v3d.h +++ b/gst/goom/v3d.h @@ -1,3 +1,21 @@ +/* Goom Project + * Copyright (C) <2003> iOS-Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #ifndef _V3D_H #define _V3D_H diff --git a/gst/goom/xmmx.c b/gst/goom/xmmx.c index 365b4e26..e26fab5c 100644 --- a/gst/goom/xmmx.c +++ b/gst/goom/xmmx.c @@ -1,3 +1,29 @@ +/* xmmx.c + + eXtended MultiMedia eXtensions GCC interface library for IA32. + + To use this library, simply include this header file + and compile with GCC. You MUST have inlining enabled + in order for xmmx_ok() to work; this can be done by + simply using -O on the GCC command line. + + Compiling with -DXMMX_TRACE will cause detailed trace + output to be sent to stderr for each mmx operation. + This adds lots of code, and obviously slows execution to + a crawl, but can be very useful for debugging. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT + LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR ANY PARTICULAR PURPOSE. + + 1999 by R. Fisher + Based on libmmx, 1997-99 by H. Dietz and R. Fisher + + Notes: + It appears that the latest gas has the pand problem fixed, therefore + I'll undefine BROKEN_PAND by default. +*/ #ifdef HAVE_CONFIG_H #include "config.h" #endif -- cgit