+2008-10-28 Stefan Kost <ensonic@users.sf.net>
+
+ * 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.
+
2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Olivier Crete <tester at tester dot ca>
ARCH_FILES = $(MMX_FILES)
ARCH_CFLAGS = -DBUILD_MMX
endif
-
+
libgstgoom_la_SOURCES = \
gstgoom.c gstgoom.h \
drawmethods.c drawmethods.h \
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:
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
-/*---------------------------------------------------------------------------*/
-/*
-** 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 <jeko@free.fr>
+ *
+ * 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 <string.h>
+/* 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"
+/* 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) \
+/* 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
+/* 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
-;// file : mmx_zoom.s
-;// author : JC Hoelt <jeko@free.fr>
+; Goom Project
+; Copyright (C) <2001> Jean-Christophe Hoelt <jeko@free.fr>
+;
+; 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
sarl $4,%eax
movl %eax,-8(%ebp)
-;// initialisation du mm7 à zero
+;// initialisation du mm7 � zero
movq (thezero), %mm7
movl mmx_zoom_size, %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
+/* 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"
+/* 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
+/* 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 <glib.h>
#if WORDS_BIGENDIAN
+/* 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
-/**
-* file: goom_core.c
- * author: Jean-Christophe Hoelt (which is not so proud of it)
+/* Goom Project
+ * Copyright (C) <2003> Jean-Christophe Hoelt <jeko@free.fr>
*
- * 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
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;
}
}
- /* par défaut pas de changement de zoom */
+ /* par d�faut pas de changement de zoom */
pzfd = NULL;
/*
}
/*
- * 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)) {
+/* 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
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 */
+/* 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
+/* 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
+/* 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
+/* 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 <stdlib.h>
+/* 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
+/* 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
-#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 <jeko@free.fr>
+ *
+ * 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"
+/* 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 };
-/*
- * ifs.c --- modified iterated functions system for goom.
- */
-
/*-
* Copyright (c) 1997 by Massimino Pascal <Pascal.Massimon@ens.fr>
*
+ * 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
-/*
- * File created 11 april 2002 by JeKo <jeko@free.fr>
+/*-
+ * Copyright (c) 1997 by Massimino Pascal <Pascal.Massimon@ens.fr>
+ *
+ * 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
-/*
- * 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"
+/* 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"
-/*---------------------------------------------------------------------------*/
-/*
-** 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 <jeko@free.fr>
+ *
+ * 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
};
-#ifndef MATHTOOLS_H
+/* Goom Project
+ * Copyright (C) <2003> Jean-Christophe Hoelt <jeko@free.fr>
+ *
+ * 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
+/* 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
+/* 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,
+/* 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,
+/* 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
-/*
- * 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 */
-/*
- * 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 */
+/* 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 <stdlib.h>
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)
+/* 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
+/* 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 <stdlib.h>
+/* 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
+/* 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 <stdlib.h>
#include "v3d.h"
+/* 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
+/* 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
+/* 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
+/* 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