Commit c15a8c72 authored by Øyvind Kolås's avatar Øyvind Kolås

added old-chant.h to list of sources. created a copy of gegl-chant.h

	* gegl/Makefile.am: added old-chant.h to list of sources.
	* gegl/gegl-old-chant.h: created a copy of gegl-chant.h
	* operations/*/*.c: include gegl-old-chant.h instead of gegl-chant.h

svn path=/trunk/; revision=1896
parent e30bbaa3
2008-01-23 Øyvind Kolås <pippin@gimp.org>
* gegl/Makefile.am: added old-chant.h to list of sources.
* gegl/gegl-old-chant.h: created a copy of gegl-chant.h
* operations/*/*.c: include gegl-old-chant.h instead of gegl-chant.h
2008-01-22 Sven Neumann <sven@gimp.org>
* gegl/graph/gegl-pad.c (gegl_pad_get_depends_on): iterate over
......
2008-01-23 Øyvind Kolås <pippin@gimp.org>
reviewed by: <delete if not using a buddy>
* src/rbgeglversion.h:
2008-01-22 Manish Singh <yosh@gimp.org>
* src/rgegl-rectangle.c: gegl-utils.h no longer exists.
......
......@@ -27,7 +27,8 @@ GEGL_sources = \
gegl-plugin.h \
gegl-chant.h \
gegl-instrument.h \
gegl-module.h
gegl-module.h \
gegl-old-chant.h
libgegl_@GEGL_API_VERSION@_la_SOURCES = $(GEGL_sources) $(GEGL_public_headers)
......
This diff is collapsed.
......@@ -29,7 +29,7 @@ gegl_chant_double (radius, 0.0, 200.0, 4.0,
#define GEGL_CHANT_AREA_FILTER
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void hor_blur (GeglBuffer *src,
GeglBuffer *dst,
......
......@@ -38,7 +38,7 @@ gegl_chant_string (filter, NULL,
#define GEGL_CHANT_CATEGORIES "blur"
#define GEGL_CHANT_AREA_FILTER
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
#include <stdio.h>
......
......@@ -39,7 +39,7 @@ gegl_chant_double (brightness, -3.0, 3.0, 0.0,
/* The name of the operation (with lower case here, _ and - are interchangeable
* when used by GEGL. */
#define GEGL_CHANT_SELF "brightness-contrast.c"
/* we need to specify the name of the source file for gegl-chant.height to
/* we need to specify the name of the source file for gegl-old-chant.height to
* do it's magic.
*/
......@@ -69,7 +69,7 @@ gegl_chant_double (brightness, -3.0, 3.0, 0.0,
/* gegl-chant, uses the properties defined at the top, and the configuration
* in the preceding lines to generate a GObject plug-in.
*/
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void prepare (GeglOperation *operation)
{
......
......@@ -30,7 +30,7 @@
#define GEGL_CHANT_POINT_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void prepare (GeglOperation *operation)
{
......
......@@ -24,7 +24,7 @@
#define GEGL_CHANT_DESCRIPTION "Inverts the components (except alpha), the result is the corresponding \"negative\" image."
#define GEGL_CHANT_SELF "invert.c"
#define GEGL_CHANT_CATEGORIES "color"
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static gboolean
process (GeglOperation *op,
......
......@@ -33,7 +33,7 @@
#define GEGL_CHANT_CATEGORIES "color"
#include "gegl-chant.h"
#include "gegl-old-chant.h"
/* GeglOperationPointFilter gives us a linear buffer to operate on
* in our requested pixel format
......
......@@ -32,7 +32,7 @@
#define GEGL_CHANT_FILTER
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static gboolean
process (GeglOperation *operation,
......
......@@ -28,7 +28,7 @@
of the super class */
#define GEGL_CHANT_CATEGORIES "color:enhance"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static gboolean
inner_process (gdouble min,
......
......@@ -29,7 +29,7 @@ gegl_chant_double (value, -10.0, 10.0, 0.5,
#define GEGL_CHANT_CATEGORIES "color"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void prepare (GeglOperation *operation)
{
......
......@@ -40,7 +40,7 @@
#define GEGL_CHANT_SELF "value-invert.c"
#define GEGL_CHANT_CATEGORIES "color"
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static gboolean
process (GeglOperation *op,
......
......@@ -34,7 +34,7 @@
#define GEGL_CHANT_CATEGORIES "color"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void prepare (GeglOperation *operation)
{
......
......@@ -30,7 +30,7 @@ gegl_chant_string(format, "RGBA float", "Babl ouput format string")
#define GEGL_CHANT_POINT_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void prepare (GeglOperation *operation)
{
......
......@@ -32,7 +32,7 @@ gegl_chant_double (edge_preservation, 0.0, 70.0, 8.0, "Amount of edge preservati
#define GEGL_CHANT_CATEGORIES "misc"
#define GEGL_CHANT_AREA_FILTER
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void
......
......@@ -33,7 +33,7 @@ gegl_chant_int (pairs, 1, 2, 2, "Number of pairs higher number preserves more ac
#define GEGL_CHANT_AREA_FILTER
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void
......
......@@ -47,7 +47,7 @@ gegl_chant_double (value, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, \"global value used if
#define GEGL_CHANT_POINT_COMPOSER
#define GEGL_CHANT_PREPARE
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
#include <math.h>
#ifdef _MSC_VER
......
......@@ -117,7 +117,7 @@ a.each do
#define GEGL_CHANT_PREPARE
#define GEGL_CHANT_CLASS_INIT
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
"
file.write file_head2
file.write "
......
......@@ -136,7 +136,7 @@ a.each do
#define GEGL_CHANT_POINT_COMPOSER
#define GEGL_CHANT_PREPARE
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
"
file.write file_head2
file.write "
......@@ -196,7 +196,7 @@ b.each do
#define GEGL_CHANT_POINT_COMPOSER
#define GEGL_CHANT_PREPARE
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
"
file.write file_head2
file.write "
......@@ -261,7 +261,7 @@ c.each do
#define GEGL_CHANT_POINT_COMPOSER
#define GEGL_CHANT_PREPARE
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
#include <math.h>
"
file.write file_head2
......@@ -326,7 +326,7 @@ d.each do
#define GEGL_CHANT_POINT_COMPOSER
#define GEGL_CHANT_PREPARE
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
"
file.write file_head2
file.write "
......
......@@ -126,7 +126,7 @@ a.each do
#define GEGL_CHANT_POINT_COMPOSER
#define GEGL_CHANT_PREPARE
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
"
file.write file_head2
file.write "
......
......@@ -35,7 +35,7 @@ gegl_chant_int(height, 0, 1000, 0, "private")
#define GEGL_CHANT_SELF "display.c"
#define GEGL_CHANT_CATEGORIES "output"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <SDL.h>
#include <signal.h>
......
......@@ -30,7 +30,7 @@ gegl_chant_int (frame, 0, 1000000, 0, "frame number")
#define GEGL_CHANT_CATEGORIES "input:video"
#define GEGL_CHANT_INIT
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <errno.h>
#include <ffmpeg/avformat.h>
......
......@@ -27,7 +27,7 @@ gegl_chant_path (path, "/tmp/romedalen.jpg", "Path of file to load.")
#define GEGL_CHANT_SELF "jpg-load.c"
#define GEGL_CHANT_CATEGORIES "hidden"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <stdio.h>
#include <jpeglib.h>
......
......@@ -26,7 +26,7 @@ gegl_chant_object (buffer, "GeglBuffer to use")
#define GEGL_CHANT_SELF "load-buffer.c"
#define GEGL_CHANT_CATEGORIES "programming:input"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include "gegl-buffer.h"
#include "graph/gegl-node-context.h"
......
......@@ -29,7 +29,7 @@ gegl_chant_path (path, "", "Path of file to load.")
#define GEGL_CHANT_SELF "load.c"
#define GEGL_CHANT_CATEGORIES "meta:input"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <stdio.h>
typedef struct _Priv Priv;
......
......@@ -25,7 +25,7 @@ gegl_chant_path (path, "/tmp/gegl-logo.svg", "Path of file to load.")
#define GEGL_CHANT_SELF "magick-load.c"
#define GEGL_CHANT_CATEGORIES "hidden"
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <stdio.h>
/* FIXME: this should not be neccesary to implement this operation */
......
......@@ -25,7 +25,7 @@ gegl_chant_pointer (pixbuf, "GdkPixbuf to use")
#define GEGL_CHANT_SELF "pixbuf.c"
#define GEGL_CHANT_CATEGORIES "programming:input"
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk-pixbuf/gdk-pixdata.h>
......
......@@ -29,7 +29,7 @@ gegl_chant_path (path, "/tmp/romedalen.png", "Path of file to load.")
#define GEGL_CHANT_SELF "png-load.c"
#define GEGL_CHANT_CATEGORIES "hidden"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <png.h>
......
......@@ -29,7 +29,7 @@ gegl_chant_int (compression, 1, 9, 1, "PNG compression level from 1 to 9")
#define GEGL_CHANT_SELF "png-save.c"
#define GEGL_CHANT_CATEGORIES "output"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <png.h>
......
......@@ -28,7 +28,7 @@ gegl_chant_path (path, "/tmp/test.raw", "Path of file to load.")
#define GEGL_CHANT_SELF "raw-load.c"
#define GEGL_CHANT_CATEGORIES "hidden"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
......
......@@ -25,7 +25,7 @@ gegl_chant_pointer (buffer, "The location where to store the output GeglBuffer")
#define GEGL_CHANT_SELF "save-buffer.c"
#define GEGL_CHANT_CATEGORIES "programming:output"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static gboolean
process (GeglOperation *operation,
......
......@@ -27,7 +27,7 @@ gegl_chant_pointer (pixbuf, "The location where to store the output GdkPixuf.")
#define GEGL_CHANT_SELF "save-pixbuf.c"
#define GEGL_CHANT_CATEGORIES "programming:output"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <gdk-pixbuf/gdk-pixbuf.h>
static gboolean
......
......@@ -29,7 +29,7 @@ gegl_chant_int (height, 0, G_MAXINT, 100, "Height for rendered image")
#define GEGL_CHANT_SELF "svg-load.c"
#define GEGL_CHANT_CATEGORIES "input" /* not hidden because it has extra API */
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <cairo.h>
#include <librsvg/rsvg.h>
......
......@@ -33,7 +33,7 @@ gegl_chant_double (radius, -G_MAXDOUBLE, G_MAXDOUBLE, 10.0,
#define GEGL_CHANT_SELF "dropshadow.c"
#define GEGL_CHANT_CATEGORIES "meta:effects"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
typedef struct _Priv Priv;
struct _Priv
......
......@@ -36,7 +36,7 @@ gegl_chant_path(src, "", "source datafile (png, jpg, raw, svg, bmp, tif, ..)")
#define GEGL_CHANT_SELF "layer.c"
#define GEGL_CHANT_CATEGORIES "meta"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <glib/gprintf.h>
typedef struct _Priv Priv;
......
......@@ -29,7 +29,7 @@ gegl_chant_double(amount, -1.0, 2.0, 0.5, "amount")
#define GEGL_CHANT_SELF "tonemap.c"
#define GEGL_CHANT_CATEGORIES "meta:enhance"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
typedef struct _Priv Priv;
struct _Priv
......
......@@ -28,7 +28,7 @@ gegl_chant_double(scale, 0.0, 100.0, 1.0, "Scale, strength of effect.")
#define GEGL_CHANT_SELF "unsharp-mask.c"
#define GEGL_CHANT_CATEGORIES "meta:enhance"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
typedef struct _Priv Priv;
struct _Priv
......
......@@ -62,7 +62,7 @@ gegl_chant_boolean (useloglog, FALSE, "Use loglog smoothing")
#define GEGL_CHANT_PREPARE
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
#include <stdio.h>
......
......@@ -36,7 +36,7 @@ gegl_chant_color (color2, "white", "The other cell color (defa
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void
prepare (GeglOperation *operation)
......
......@@ -30,7 +30,7 @@ gegl_chant_color (value, "black", "The color to render (defaults to 'black')")
#define GEGL_CHANT_CLASS_INIT
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void
prepare (GeglOperation *operation)
......
......@@ -29,7 +29,7 @@ gegl_chant_pointer(buf, "Buffer")
#define GEGL_CHANT_SOURCE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include "gegl-dot.h" /* XXX: internal header file */
#include <stdio.h>
......
......@@ -34,7 +34,7 @@ gegl_chant_double (n, 0, 20.0, 3.0, "")
#define GEGL_CHANT_PREPARE
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include "perlin/perlin.c"
#include "perlin/perlin.h"
......
......@@ -45,7 +45,7 @@ gegl_chant_int (height, 0, 1000000, 0,
#define GEGL_CHANT_PREPARE
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <cairo.h>
#include <pango/pango-attributes.h>
......
......@@ -15,7 +15,7 @@
#define GEGL_CHANT_CATEGORIES "compositors:svgfilter"
#define GEGL_CHANT_SELF "svg_huerotate.c"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
#include <stdlib.h>
......
......@@ -15,7 +15,7 @@
#define GEGL_CHANT_CATEGORIES "compositors:svgfilter"
#define GEGL_CHANT_SELF "svg_luminancetoalpha.c"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
#include <stdlib.h>
......
......@@ -15,7 +15,7 @@
#define GEGL_CHANT_CATEGORIES "compositors:svgfilter"
#define GEGL_CHANT_SELF "svg_matrix.c"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
#include <stdlib.h>
......
......@@ -15,7 +15,7 @@
#define GEGL_CHANT_CATEGORIES "compositors:svgfilter"
#define GEGL_CHANT_SELF "svg_saturate.c"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
#include <stdlib.h>
......
......@@ -25,7 +25,7 @@ gegl_chant_double (value, -10.0, 10.0, 0.5, "Global opacity value, used if no au
#define GEGL_CHANT_SELF "opacity.c"
#define GEGL_CHANT_CATEGORIES "transparency"
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void prepare (GeglOperation *self)
{
......
......@@ -30,7 +30,7 @@ gegl_chant_double (radius, 0.0, 200.0, 4.0,
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void hor_max (GeglBuffer *src,
GeglBuffer *dst,
......
......@@ -30,7 +30,7 @@ gegl_chant_double (radius, 0.0, 200.0, 4.0,
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void hor_min (GeglBuffer *src,
GeglBuffer *dst,
......
......@@ -34,7 +34,7 @@ gegl_chant_double (percentile, 0.0, 100.0, 50, "The percentile to compute, defau
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void median (GeglBuffer *src,
GeglBuffer *dst,
......
......@@ -36,7 +36,7 @@ gegl_chant_double (gamma, 0.0, 10.0, 1.6, "post correction gamma.")
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
#define sq(a) ((a)*(a))
......
......@@ -29,7 +29,7 @@ gegl_chant_int (pattern, 0, 3, 0, "Bayer pattern used, 0 seems to work for some
#define GEGL_CHANT_AREA_FILTER
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void
demosaic (GeglChantOperation *op,
......
......@@ -29,7 +29,7 @@ gegl_chant_int (pattern, 0, 3, 0, "Bayer pattern used, 0 seems to work for some
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void
demosaic (GeglChantOperation *op,
......
......@@ -30,7 +30,7 @@ gegl_chant_double(radius2, 0.0, 10.0, 2.0, "Radius")
#define GEGL_CHANT_META
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
typedef struct _Priv Priv;
struct _Priv
......
......@@ -34,7 +34,7 @@ gegl_chant_double (percentile, 0.0, 100.0, 50, "The percentile to compute, defau
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void median (GeglBuffer *src,
......
......@@ -32,7 +32,7 @@ gegl_chant_double (fps, 0.0, 100.0, 25, "frames per second")
#define GEGL_CHANT_INIT
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include "ffmpeg/avformat.h"
typedef struct
......
......@@ -59,7 +59,7 @@ a.each do
#define GEGL_CHANT_POINT_COMPOSER
#define GEGL_CHANT_PREPARE
#include \"gegl-chant.h\"
#include \"gegl-old-chant.h\"
#include \"math.h\"
static void prepare (GeglOperation *self)
......
......@@ -48,7 +48,7 @@ gegl_chant_double (user_value, -1000.0, 1000.0, 1.0, "(appears in the global var
#define GEGL_CHANT_CLASS_INIT
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <lua.h>
#include <lualib.h>
......
......@@ -27,7 +27,7 @@
#define GEGL_CHANT_POINT_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static void prepare (GeglOperation *operation)
{
......
......@@ -30,7 +30,7 @@ gegl_chant_string (window_title, "",
#define GEGL_CHANT_FILTER
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <gtk/gtk.h>
......
......@@ -29,7 +29,7 @@
#define GEGL_CHANT_CLASS_INIT
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void prepare (GeglOperation *operation)
......
......@@ -30,7 +30,7 @@ gegl_chant_double (radius, 0.0, 50.0, 4.0,
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void
......
......@@ -30,7 +30,7 @@ gegl_chant_double (radius, 0.0, 50.0, 4.0,
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void
......
......@@ -30,7 +30,7 @@ gegl_chant_double (radius, 0.0, 50.0, 10.0,
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void
......
......@@ -36,7 +36,7 @@ gegl_chant_double (max, -500.0, 500, 8.0, "value at top")
#define GEGL_CHANT_FILTER
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <cairo.h>
static gfloat
......
......@@ -33,7 +33,7 @@ gegl_chant_int (maxiter, 0, 512, 128, "maximum number of iterations")
#define GEGL_CHANT_SOURCE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
static gfloat mandel_calc(GeglChantOperation *self, gfloat x, gfloat y)
{
......
......@@ -33,7 +33,7 @@ gegl_chant_double (rgamma, 0.0, 8.0, 1.8, "gamma applied to radial distribution"
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void max_envelope (GeglBuffer *src,
......
......@@ -30,7 +30,7 @@ gegl_chant_double (dampness, 0.0, 1.0, 0.95, "dampening, 0.0 is no dampening 1.0
#define GEGL_CHANT_INIT
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
typedef struct
{
......
......@@ -33,7 +33,7 @@ gegl_chant_double (rgamma, 0.0, 8.0, 1.8, "gamma applied to radial distribution"
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <math.h>
static void min_envelope (GeglBuffer *src,
......
......@@ -28,7 +28,7 @@ gegl_chant_string (path, "/tmp/test.raw",
#define GEGL_CHANT_SOURCE
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
#include "gegl-old-chant.h"
#include <unistd.h>
#include <string.h>
#include <stdio.h>
......