Commit 7ccec8da authored by Kevin Cozens's avatar Kevin Cozens Committed by Kevin Cozens

Remove generated .c files in maintainer-clean-generic.

2008-01-08  Kevin Cozens  <kcozens@cvs.gnome.org>

	* operations/generated/Makefile.am: Remove generated .c files in
	maintainer-clean-generic.

	* gegl/gegl-chant.h: Removed context argument from GEGL_CHANT_COMPOSER.

	* operations/workshop/min-envelope.c:
	* operations/workshop/max-envelope.c:
	* operations/workshop/kuwahara.c:
	* operations/workshop/box-min.c:
	* operations/workshop/disc-percentile.c:
	* operations/workshop/c2g.c:
	* operations/workshop/demosaic-simple.c:
	* operations/workshop/gluas.c:
	* operations/workshop/box-max.c:
	* operations/workshop/hstack.c:
	* operations/workshop/box-percentile.c:
	* operations/workshop/mblur.c:
	* operations/workshop/stress.c:
	* operations/workshop/kuwahara-min.c:
	* operations/workshop/line-profile.c:
	* operations/workshop/kuwahara-max.c:
	* operations/workshop/snn-percentile.c:
	* operations/workshop/ff-save.c:
	* operations/workshop/gtk-display.c: removed context_id from
	arguments on process function.

svn path=/trunk/; revision=1836
parent 86e35b02
2008-01-08 Kevin Cozens <kcozens@cvs.gnome.org>
* operations/generated/Makefile.am: Remove generated .c files in
maintainer-clean-generic.
* gegl/gegl-chant.h: Removed context argument from GEGL_CHANT_COMPOSER.
* operations/workshop/min-envelope.c:
* operations/workshop/max-envelope.c:
* operations/workshop/kuwahara.c:
* operations/workshop/box-min.c:
* operations/workshop/disc-percentile.c:
* operations/workshop/c2g.c:
* operations/workshop/demosaic-simple.c:
* operations/workshop/gluas.c:
* operations/workshop/box-max.c:
* operations/workshop/hstack.c:
* operations/workshop/box-percentile.c:
* operations/workshop/mblur.c:
* operations/workshop/stress.c:
* operations/workshop/kuwahara-min.c:
* operations/workshop/line-profile.c:
* operations/workshop/kuwahara-max.c:
* operations/workshop/snn-percentile.c:
* operations/workshop/ff-save.c:
* operations/workshop/gtk-display.c: removed context_id from
arguments on process function.
2007-01-09 Hans Breuer <hans@breuer.org>
* gegl/gegl-init.h : use PACKAGE_NAME rather than undefined PACKAGE for
......
......@@ -415,7 +415,6 @@ static gboolean process (GeglOperation *operation,
#else
#ifdef GEGL_CHANT_COMPOSER
static gboolean process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *in_buf,
GeglBuffer *aux_buf,
GeglBuffer *out_buf,
......
include $(top_srcdir)/operations/Makefile-operations.am
maintainer-clean-generic:
-rm *.c
......@@ -49,7 +49,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -72,12 +71,6 @@ process (GeglOperation *operation,
ver_max (temp, output, self->radius);
g_object_unref (temp);
g_object_unref (temp_in);
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -49,7 +49,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -70,13 +69,9 @@ process (GeglOperation *operation,
hor_min (temp_in, temp, self->radius);
ver_min (temp, output, self->radius);
g_object_unref (temp);
g_object_unref (temp_in);
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -50,7 +50,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -76,11 +75,6 @@ process (GeglOperation *operation,
median (temp_in, output, self->radius, self->percentile / 100.0);
g_object_unref (temp_in);
}
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -59,7 +59,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -78,12 +77,6 @@ process (GeglOperation *operation,
c2g (temp_in, output, self->radius, self->samples, self->iterations, self->same_spray, self->rgamma, self->strength, self->gamma);
g_object_unref (temp_in);
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -37,7 +37,6 @@ demosaic (GeglChantOperation *op,
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -58,12 +57,6 @@ process (GeglOperation *operation,
demosaic (self, temp_in, output);
g_object_unref (temp_in);
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -51,7 +51,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -77,11 +76,6 @@ process (GeglOperation *operation,
median (temp_in, output, self->radius, self->percentile / 100.0);
g_object_unref (temp_in);
}
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -23,11 +23,12 @@ gegl_chant_double (fps, 0.0, 100.0, 25, "frames per second")
#else
#define GEGL_CHANT_SINK
#define GEGL_CHANT_NAME ff_save
#define GEGL_CHANT_DESCRIPTION "FFmpeg video output sink"
#define GEGL_CHANT_SELF "ff-save.c"
#define GEGL_CHANT_DESCRIPTION "FFmpeg video output sink"
#define GEGL_CHANT_CATEGORIES "output:video"
#define GEGL_CHANT_SINK
#define GEGL_CHANT_INIT
#define GEGL_CHANT_CLASS_INIT
......@@ -200,7 +201,6 @@ finalize (GObject *object)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
const GeglRectangle *result)
{
......
......@@ -86,7 +86,6 @@ drawable_lua_process (GeglChantOperation *self,
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *aux,
GeglBuffer *output,
......@@ -105,7 +104,6 @@ process (GeglOperation *operation,
drawable_lua_process (self, input, output, result, NULL, self->script, self->user_value);
}
gegl_node_context_set_object (context, "output", G_OBJECT (output));
return TRUE;
}
......
......@@ -98,7 +98,6 @@ static Priv *init_priv (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *source,
const GeglRectangle *result)
......
......@@ -39,7 +39,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *aux,
GeglBuffer *output,
......@@ -89,7 +88,6 @@ process (GeglOperation *operation,
g_object_unref (temp_in);
g_object_unref (temp_aux);
gegl_node_context_set_object (context, "output", G_OBJECT (output));
return TRUE;
}
......
......@@ -28,6 +28,7 @@ gegl_chant_double (radius, 0.0, 50.0, 4.0,
#define GEGL_CHANT_CATEGORIES "misc"
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include <math.h>
......@@ -38,9 +39,14 @@ kuwahara (GeglBuffer *src,
gint radius);
static void prepare (GeglOperation *operation)
{
gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
}
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -56,15 +62,8 @@ process (GeglOperation *operation,
GeglRectangle compute = gegl_operation_compute_input_request (operation, "input", result);
temp_in = gegl_buffer_create_sub_buffer (input, &compute);
output = gegl_buffer_new (&compute, babl_format ("RGBA float"));
kuwahara (temp_in, output, self->radius);
g_object_unref (temp_in);
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
}
......
......@@ -28,6 +28,7 @@ gegl_chant_double (radius, 0.0, 50.0, 4.0,
#define GEGL_CHANT_CATEGORIES "misc"
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include <math.h>
......@@ -37,9 +38,15 @@ kuwahara (GeglBuffer *src,
GeglBuffer *dst,
gint radius);
static void prepare (GeglOperation *operation)
{
gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
}
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -55,15 +62,8 @@ process (GeglOperation *operation,
GeglRectangle compute = gegl_operation_compute_input_request (operation, "input", result);
temp_in = gegl_buffer_create_sub_buffer (input, &compute);
output = gegl_buffer_new (&compute, babl_format ("RGBA float"));
kuwahara (temp_in, output, self->radius);
g_object_unref (temp_in);
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -28,6 +28,7 @@ gegl_chant_double (radius, 0.0, 50.0, 10.0,
#define GEGL_CHANT_CATEGORIES "misc"
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include <math.h>
......@@ -38,9 +39,14 @@ kuwahara (GeglBuffer *src,
gint radius);
static void prepare (GeglOperation *operation)
{
gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
}
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -57,16 +63,8 @@ process (GeglOperation *operation,
temp_in = gegl_buffer_create_sub_buffer (input, &compute);
output = gegl_buffer_new (&compute, babl_format ("RGBA float"));
kuwahara (temp_in, output, self->radius);
g_object_unref (temp_in);
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -54,7 +54,6 @@ buffer_sample (GeglBuffer *buffer,
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -135,8 +134,6 @@ process (GeglOperation *operation,
gegl_buffer_set (output, NULL, babl_format ("B'aG'aR'aA u8"), buf, GEGL_AUTO_ROWSTRIDE);
}
gegl_node_context_set_object (context, "output", G_OBJECT (output));
return TRUE;
}
......
......@@ -54,7 +54,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -80,11 +79,6 @@ process (GeglOperation *operation,
max_envelope (temp_in, output, self->radius, self->samples, self->iterations, self->same_spray, self->rgamma);
g_object_unref (temp_in);
}
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -61,7 +61,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -101,7 +100,6 @@ process (GeglOperation *operation,
g_free (acc);
}
g_object_unref (temp_in);
gegl_node_context_set_object (context, "output", G_OBJECT (output));
}
return TRUE;
......
......@@ -54,7 +54,6 @@ static void prepare (GeglOperation *operation)
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -80,11 +79,6 @@ process (GeglOperation *operation,
min_envelope (temp_in, output, self->radius, self->samples, self->iterations, self->same_spray, self->rgamma);
g_object_unref (temp_in);
}
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -34,6 +34,7 @@ gegl_chant_double (percentile, 0.0, 100.0, 50.0,
#define GEGL_CHANT_CATEGORIES "misc"
#define GEGL_CHANT_AREA_FILTER
#define GEGL_CHANT_PREPARE
#include "gegl-chant.h"
#include <math.h>
......@@ -46,10 +47,14 @@ snn_percentile (GeglBuffer *src,
gint pairs);
static void prepare (GeglOperation *operation)
{
gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
}
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......@@ -73,15 +78,9 @@ process (GeglOperation *operation,
else
{
temp_in = gegl_buffer_create_sub_buffer (input, &compute);
output = gegl_buffer_new (&compute, babl_format ("RGBA float"));
snn_percentile (temp_in, output, self->radius, self->percentile, self->pairs);
g_object_unref (temp_in);
}
{
GeglBuffer *cropped = gegl_buffer_create_sub_buffer (output, result);
gegl_node_context_set_object (context, "output", G_OBJECT (cropped));
}
}
return TRUE;
......
......@@ -55,7 +55,6 @@ static void stress (GeglBuffer *src,
static gboolean
process (GeglOperation *operation,
GeglNodeContext *context,
GeglBuffer *input,
GeglBuffer *output,
const GeglRectangle *result)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment