mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
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.
This commit is contained in:
parent
19619961f3
commit
6eb6d5b9ac
44 changed files with 887 additions and 144 deletions
49
ChangeLog
49
ChangeLog
|
@ -1,3 +1,52 @@
|
|||
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>
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
;// 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
|
||||
|
@ -53,7 +69,7 @@ mmx_zoom:
|
|||
sarl $4,%eax
|
||||
movl %eax,-8(%ebp)
|
||||
|
||||
;// initialisation du mm7 à zero
|
||||
;// initialisation du mm7 <EFBFBD> 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 <EFBFBD> la valeur finale
|
||||
paddw %mm1, %mm0
|
||||
paddw %mm2, %mm0
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 <glib.h>
|
||||
|
||||
#if WORDS_BIGENDIAN
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 <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
|
||||
|
@ -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'<EFBFBD>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<EFBFBD>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<EFBFBD>menter au bout d'un certain temps
|
||||
*/
|
||||
if ((goomInfo->cycle % 101 == 0)
|
||||
&& (goomInfo->update.zoomFilterData.pertedec == 7)) {
|
||||
|
|
|
@ -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 <EFBFBD> appliquer (cf les #define) */
|
||||
/** @since June 2001 */
|
||||
int hPlaneEffect; /* deviation horitontale */
|
||||
int vPlaneEffect; /* deviation verticale */
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 <stdlib.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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,15 +1,24 @@
|
|||
/* 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.
|
||||
*/
|
||||
#ifndef _VISUAL_FX_H
|
||||
#define _VISUAL_FX_H
|
||||
|
||||
/**
|
||||
* File created on 2003-05-21 by Jeko.
|
||||
* (c)2003, JC Hoelt for iOS-software.
|
||||
*
|
||||
* LGPL Licence.
|
||||
* If you use this file on a visual program,
|
||||
* please make my name being visible on it.
|
||||
*/
|
||||
|
||||
#include "goom_config_param.h"
|
||||
#include "goom_graphic.h"
|
||||
#include "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.
|
||||
*/
|
||||
#include "goom_graphic.h"
|
||||
|
||||
const Color BLACK = { 0, 0, 0 };
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
/*
|
||||
* 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
|
||||
|
|
|
@ -1,5 +1,32 @@
|
|||
/*
|
||||
* 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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 <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
|
||||
};
|
||||
|
|
|
@ -1,4 +1,25 @@
|
|||
#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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 <stdlib.h>
|
||||
|
@ -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<EFBFBD>rifier si le taux de goom est correct
|
||||
* et le modifier sinon.. */
|
||||
if (info->cycle % 64 == 0) {
|
||||
if (info->speedvar < 0.01f)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 <stdlib.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
|
||||
|
||||
|
|
|
@ -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 <stdlib.h>
|
||||
|
||||
#include "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 _TENTACLE3D_H
|
||||
#define _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.
|
||||
*/
|
||||
#include "v3d.h"
|
||||
|
||||
void
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue