ops: set GEGL_OP_NAME in core/common/generated/seamless-clone

parent f0eb085f
......@@ -61,6 +61,7 @@ property_boolean (cpn_3_keep, _("Keep component 3"), FALSE)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME alien_map
#define GEGL_OP_C_SOURCE alien-map.c
#include "gegl-op.h"
......
......@@ -40,6 +40,7 @@
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME antialias
#define GEGL_OP_C_SOURCE antialias.c
#include "gegl-op.h"
......
......@@ -47,6 +47,7 @@ property_color (background_color, _("Background color"), "none")
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME apply_lens
#define GEGL_OP_C_SOURCE apply-lens.c
#include "gegl-op.h"
......
......@@ -41,6 +41,7 @@ property_int (s_sigma, _("Blur radius"), 8)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME bilateral_filter_fast
#define GEGL_OP_C_SOURCE bilateral-filter-fast.c
#include "gegl-op.h"
......
......@@ -36,6 +36,7 @@ property_double (edge_preservation, _("Edge preservation"), 8.0)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME bilateral_filter
#define GEGL_OP_C_SOURCE bilateral-filter.c
#include "gegl-op.h"
......
......@@ -31,6 +31,7 @@ property_int (radius, _("Radius"), 4)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME box_blur
#define GEGL_OP_C_SOURCE box-blur.c
#include "gegl-op.h"
......
......@@ -48,6 +48,10 @@ property_double (brightness, _("Brightness"), 0.0)
#define GEGL_OP_POINT_FILTER
/* The C prefix used for some generated functions
*/
#define GEGL_OP_NAME brightness_contrast
/* We specify the file we're in, this is needed to make the code
* generation for the properties work.
*/
......
......@@ -30,6 +30,7 @@ property_pointer (format, _("babl format"),
#else
#define GEGL_OP_SINK
#define GEGL_OP_NAME buffer_sink
#define GEGL_OP_C_SOURCE buffer-sink.c
#include "gegl-op.h"
......
......@@ -28,6 +28,7 @@ property_object (buffer, _("Input buffer"), GEGL_TYPE_BUFFER)
#else
#define GEGL_OP_SOURCE
#define GEGL_OP_NAME buffer_source
#define GEGL_OP_C_SOURCE buffer-source.c
#include "gegl-op.h"
......
......@@ -80,6 +80,7 @@ property_double (ambient, _("Ambient lighting factor"), 0.0)
#else
#define GEGL_OP_COMPOSER
#define GEGL_OP_NAME bump_map
#define GEGL_OP_C_SOURCE bump-map.c
#include "gegl-op.h"
......
......@@ -51,6 +51,7 @@ property_double (rgamma, _("Radial Gamma"), 0.0, 8.0, 2.0,
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME c2g
#define GEGL_OP_C_SOURCE c2g.c
#include "gegl-op.h"
......
......@@ -31,6 +31,7 @@ property_double (pct_black, _("Percent black"), 0.2)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME cartoon
#define GEGL_OP_C_SOURCE cartoon.c
#include "gegl-op.h"
......
......@@ -73,6 +73,7 @@ property_double (bb_gain, _("Blue in Blue channel"), 1.0)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME channel_mixer
#define GEGL_OP_C_SOURCE channel-mixer.c
#include "gegl-op.h"
......
......@@ -64,6 +64,7 @@ property_format (format, _("Babl Format"), NULL)
#else
#define GEGL_OP_POINT_RENDER
#define GEGL_OP_NAME checkerboard
#define GEGL_OP_C_SOURCE checkerboard.c
#include "gegl-op.h"
......
......@@ -29,6 +29,7 @@
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME color_enhance
#define GEGL_OP_C_SOURCE color-enhance.c
#include "gegl-op.h"
......
......@@ -50,6 +50,7 @@ property_double (blue_threshold, _("Blue Threshold"), 0.0)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME color_exchange
#define GEGL_OP_C_SOURCE color-exchange.c
#include "gegl-op.h"
......
......@@ -57,6 +57,7 @@ property_seed (seed, _("Random seed"), rand)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME color_reduction
#define GEGL_OP_C_SOURCE color-reduction.c
#include "gegl-op.h"
......
......@@ -88,6 +88,7 @@ property_double (saturation, _("Saturation"), 0.0)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME color_rotate
#define GEGL_OP_C_SOURCE color-rotate.c
#include "gegl-op.h"
......
......@@ -39,6 +39,7 @@ property_double (intended_temperature, _("Intended temperature"), 6500)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME color_temperature
#define GEGL_OP_C_SOURCE color-temperature.c
#include "gegl-op.h"
......
......@@ -31,6 +31,7 @@ property_color (color, _("Color"), "white")
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME color_to_alpha
#define GEGL_OP_C_SOURCE color-to-alpha.c
#include "gegl-op.h"
......
......@@ -31,6 +31,7 @@ property_format (format, _("Babl Format"), 666)
#else
#define GEGL_OP_POINT_RENDER
#define GEGL_OP_NAME color
#define GEGL_OP_C_SOURCE color.c
#include "gegl-op.h"
......
......@@ -32,6 +32,7 @@ property_curve (curve, _("Curve"), NULL)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME contrast_curve
#define GEGL_OP_C_SOURCE contrast-curve.c
#include "gegl-op.h"
......
......@@ -69,6 +69,7 @@ property_enum (border, _("Border"),
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME convolution_matrix
#define GEGL_OP_C_SOURCE convolution-matrix.c
#include "gegl-op.h"
......
......@@ -28,6 +28,7 @@ property_object (buffer, _("Buffer"), GEGL_TYPE_BUFFER)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME copy_buffer
#define GEGL_OP_C_SOURCE copy-buffer.c
#include "gegl-op.h"
......
......@@ -44,6 +44,7 @@ property_seed (seed, _("Random seed"), rand)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME cubism
#define GEGL_OP_C_SOURCE cubism.c
#include "gegl-op.h"
......
......@@ -49,6 +49,7 @@ property_int (size, _("Block size"), 1)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME deinterlace
#define GEGL_OP_C_SOURCE deinterlace.c
#include "gegl-op.h"
......
......@@ -34,6 +34,7 @@ property_double (radius2, _("Radius 2"), 2.0)
#else
#define GEGL_OP_META
#define GEGL_OP_NAME difference_of_gaussians
#define GEGL_OP_C_SOURCE difference-of-gaussians.c
#include "gegl-op.h"
......
......@@ -94,6 +94,7 @@ property_int (height, _("Height"), 200)
#else
#define GEGL_OP_POINT_RENDER
#define GEGL_OP_NAME diffraction_patterns
#define GEGL_OP_C_SOURCE diffraction-patterns.c
#include "gegl-op.h"
......
......@@ -61,6 +61,7 @@ property_double (amount_y, _("Y displacement"), 0.0)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME displace
#define GEGL_OP_C_SOURCE displace.c
#include "gegl-op.h"
......
......@@ -24,6 +24,7 @@ property_string (window_title, _("Window title"), "window_title")
description(_("Title to be given to output window"))
#else
#define GEGL_OP_NAME display
#define GEGL_OP_C_SOURCE display.c
#include "gegl-plugin.h"
......
......@@ -55,6 +55,7 @@ property_boolean (normalize, _("Normalize"), TRUE)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME distance_transform
#define GEGL_OP_C_SOURCE distance-transform.c
#include "gegl-op.h"
#include <math.h>
......
......@@ -52,6 +52,7 @@ property_double (opacity, _("Opacity"), 0.5)
#else
#define GEGL_OP_META
#define GEGL_OP_NAME dropshadow
#define GEGL_OP_C_SOURCE dropshadow.c
#include "gegl-op.h"
......
......@@ -29,6 +29,7 @@
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME edge_laplace
#define GEGL_OP_C_SOURCE edge-laplace.c
#include "gegl-op.h"
......
......@@ -34,6 +34,7 @@ property_boolean (keep_sign, _("Keep Sign"), TRUE)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME edge_sobel
#define GEGL_OP_C_SOURCE edge-sobel.c
#include "gegl-op.h"
......
......@@ -52,6 +52,7 @@ property_enum (border_behavior, _("Border behavior"),
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME edge
#define GEGL_OP_C_SOURCE edge.c
#include <math.h>
......
......@@ -48,6 +48,7 @@ property_int (depth, _("Depth"), 20)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME emboss
#define GEGL_OP_C_SOURCE emboss.c
#include "gegl-op.h"
......
......@@ -39,6 +39,7 @@ property_boolean (limit, _("Limit line width"), FALSE)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME engrave
#define GEGL_OP_C_SOURCE engrave.c
#include "gegl-op.h"
......
......@@ -52,6 +52,7 @@ typedef struct
#define GEGL_OP_C_SOURCE exp-combine.c
#define GEGL_OP_NAME exp_combine
#include "gegl-op.h"
GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_FILTER)
......
......@@ -37,6 +37,7 @@ property_double (gamma, _("Gamma adjustment"), 1.0)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME exposure
#define GEGL_OP_C_SOURCE exposure.c
#include "gegl-op.h"
......
......@@ -50,6 +50,7 @@ property_double (noise, _("Noise"), 0.0)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME fattal02
#define GEGL_OP_C_SOURCE fattal02.c
#include "gegl-op.h"
......
......@@ -117,6 +117,7 @@ property_boolean (useloglog, _("Loglog smoothing"), FALSE)
#else
#define GEGL_OP_POINT_RENDER
#define GEGL_OP_NAME fractal_explorer
#define GEGL_OP_C_SOURCE fractal-explorer.c
#include "gegl-op.h"
......
......@@ -68,6 +68,7 @@ property_enum (abyss_policy, _("Abyss policy"),
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME fractal_trace
#define GEGL_OP_C_SOURCE fractal-trace.c
#include "gegl-op.h"
......
......@@ -65,6 +65,7 @@ property_boolean (clip_extent, _("Clip to the input extent"), TRUE)
#else
#define GEGL_OP_META
#define GEGL_OP_NAME gaussian_blur_iir
#define GEGL_OP_C_SOURCE gaussian-blur-iir.c
#include "gegl-op.h"
......
......@@ -38,6 +38,7 @@ property_double (max_delta, _("Max. delta"), 0.2)
#else
#define GEGL_OP_COMPOSER
#define GEGL_OP_NAME gaussian_blur_selective
#define GEGL_OP_C_SOURCE gaussian-blur-selective.c
#include "gegl-op.h"
......
......@@ -57,6 +57,7 @@ property_enum (filter, _("Filter"),
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME gaussian_blur
#define GEGL_OP_C_SOURCE gaussian-blur.c
#include "gegl-op.h"
......
......@@ -66,6 +66,7 @@ property_boolean (clip_extent, _("Clip to the input extent"), TRUE)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME gblur_1d
#define GEGL_OP_C_SOURCE gblur-1d.c
#include "gegl-op.h"
......
......@@ -27,6 +27,7 @@ property_file_path (path, _("File"), "/tmp/gegl-buffer.gegl")
#else
#define GEGL_OP_SOURCE
#define GEGL_OP_NAME gegl_buffer_load_op
#define GEGL_OP_C_SOURCE gegl-buffer-load-op.c
#include "gegl-op.h"
......
......@@ -27,6 +27,7 @@ property_file_path (path, _("File"), "/tmp/gegl-buffer.gegl")
#else
#define GEGL_OP_SINK
#define GEGL_OP_NAME gegl_buffer_save_op
#define GEGL_OP_C_SOURCE gegl-buffer-save-op.c
#include "gegl-op.h"
......
......@@ -32,6 +32,7 @@ property_string (error, _("Eeeeeek"), "")
#else
#define GEGL_OP_META
#define GEGL_OP_NAME gegl
#define GEGL_OP_C_SOURCE gegl.c
#include "gegl-op.h"
......
......@@ -27,6 +27,7 @@
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME grey
#define GEGL_OP_C_SOURCE grey.c
#include "gegl-op.h"
......
......@@ -68,6 +68,7 @@ property_color (line_color, _("Color"), "black")
#else
#define GEGL_OP_POINT_RENDER
#define GEGL_OP_NAME grid
#define GEGL_OP_C_SOURCE grid.c
#include "gegl-op.h"
......
......@@ -35,6 +35,7 @@ property_double (contrast, _("Contrast"), 1.0)
#else
#define GEGL_OP_META
#define GEGL_OP_NAME high_pass
#define GEGL_OP_C_SOURCE high-pass.c
#include "gegl-op.h"
......
......@@ -42,6 +42,7 @@ property_enum (illusion_type, _("Illusion type"),
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME illusion
#define GEGL_OP_C_SOURCE illusion.c
#include "gegl-op.h"
......
......@@ -39,6 +39,7 @@ property_double (avg_diff_total, _("Average difference (total)"), 0.0)
#else
#define GEGL_OP_COMPOSER
#define GEGL_OP_NAME image_compare
#define GEGL_OP_C_SOURCE image-compare.c
#include "gegl-op.h"
......
......@@ -28,6 +28,7 @@ property_object(node, _("Node"), GEGL_TYPE_NODE)
#else
#define GEGL_OP_SOURCE
#define GEGL_OP_NAME introspect
#define GEGL_OP_C_SOURCE introspect.c
#include "gegl-op.h"
......
......@@ -27,6 +27,7 @@
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME invert_gamma
#define GEGL_OP_C_SOURCE invert-gamma.c
#include "gegl-op.h"
......
......@@ -27,6 +27,7 @@
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME invert_linear
#define GEGL_OP_C_SOURCE invert-linear.c
#include "gegl-op.h"
......
......@@ -82,6 +82,7 @@ typedef struct
GeglOperationMetaClass parent_class;
} GeglOpClass;
#define GEGL_OP_NAME layer
#define GEGL_OP_C_SOURCE layer.c
#include "gegl-op.h"
GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_META)
......
......@@ -59,6 +59,7 @@ property_color (background, _("Background color"), "white")
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME lens_distortion
#define GEGL_OP_C_SOURCE lens-distortion.c
#include "gegl-op.h"
......
......@@ -40,6 +40,7 @@ property_double (pos_y, _("Y position"), 0.5)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME lens_flare
#define GEGL_OP_C_SOURCE lens-flare.c
#include "gegl-op.h"
......
......@@ -46,6 +46,7 @@ property_double (out_high, _("High output"), 1.0)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME levels
#define GEGL_OP_C_SOURCE levels.c
#include "gegl-op.h"
......
......@@ -49,6 +49,7 @@ property_color (end_color, _("End Color"), "white")
#else
#define GEGL_OP_POINT_RENDER
#define GEGL_OP_NAME linear_gradient
#define GEGL_OP_C_SOURCE linear-gradient.c
#include "gegl-op.h"
......
......@@ -29,6 +29,7 @@ property_file_path (path, _("File"), "/tmp/gegl-logo.svg")
#else
#define GEGL_OP_SOURCE
#define GEGL_OP_NAME magick_load
#define GEGL_OP_C_SOURCE magick-load.c
#include "gegl-op.h"
......
......@@ -43,6 +43,7 @@ property_double (detail, _("Detail"), 1.0)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME mantiuk06
#define GEGL_OP_C_SOURCE mantiuk06.c
#include "gegl-op.h"
......
......@@ -26,6 +26,7 @@ property_enum (sampler_type, _("Resampling method"),
#else
#define GEGL_OP_COMPOSER
#define GEGL_OP_NAME map_absolute
#define GEGL_OP_C_SOURCE map-absolute.c
#include "config.h"
......
......@@ -31,6 +31,7 @@ property_enum (sampler_type, _("Resampling method"),
#else
#define GEGL_OP_COMPOSER
#define GEGL_OP_NAME map_relative
#define GEGL_OP_C_SOURCE map-relative.c
#include "config.h"
......
......@@ -29,6 +29,7 @@ property_int (iterations, _("Iterations"), 10)
#else
#define GEGL_OP_COMPOSER
#define GEGL_OP_NAME matting_global
#define GEGL_OP_C_SOURCE matting-global.c
#include "gegl-op.h"
......
......@@ -75,6 +75,7 @@ property_color (bg_color, _("Background Color"), "white")
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME maze
#define GEGL_OP_C_SOURCE maze.c
#include "gegl-op.h"
......
......@@ -29,6 +29,7 @@ property_double (dampness, _("Dampness"), 0.95)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME mblur
#define GEGL_OP_C_SOURCE mblur.c
#include "gegl-op.h"
......
......@@ -88,6 +88,7 @@ property_boolean (warp, _("Wrap input"), TRUE)
#else
#define GEGL_OP_FILTER
#define GEGL_OP_NAME mirrors
#define GEGL_OP_C_SOURCE mirrors.c
#include "gegl-op.h"
......
......@@ -40,6 +40,7 @@ property_double (blue, _("Blue Channel Multiplier"), 0.333)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME mono_mixer
#define GEGL_OP_C_SOURCE mono-mixer.c
#include "gegl-op.h"
......
......@@ -90,6 +90,7 @@ property_seed (seed, _("Random seed"), rand)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME mosaic
#define GEGL_OP_C_SOURCE mosaic.c
#include "gegl-op.h"
......
......@@ -57,6 +57,7 @@ property_double (angle, _("Angle"), 5.0)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME motion_blur_circular
#define GEGL_OP_C_SOURCE motion-blur-circular.c
#include "gegl-op.h"
......
......@@ -38,6 +38,7 @@ property_double (angle, _("Angle"), 0.0)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME motion_blur_linear
#define GEGL_OP_C_SOURCE motion-blur-linear.c
#include "gegl-op.h"
......
......@@ -55,6 +55,7 @@ property_double (factor, _("Blurring factor"), 0.1)
#else
#define GEGL_OP_AREA_FILTER
#define GEGL_OP_NAME motion_blur_zoom
#define GEGL_OP_C_SOURCE motion-blur-zoom.c
#include "gegl-op.h"
......
......@@ -58,6 +58,7 @@ property_seed (seed, _("Random seed"), rand)
#else
#define GEGL_OP_POINT_RENDER
#define GEGL_OP_NAME noise_cell
#define GEGL_OP_C_SOURCE noise-cell.c
#include "gegl-op.h"
......
......@@ -39,6 +39,7 @@ property_seed (seed, _("Random seed"), rand)
#else
#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME noise_cie_lch
#define GEGL_OP_C_SOURCE noise-cie-lch.c