[gegl] operations: rename noise-CIE_lch to noise-cie-lch, also rename the .c file
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: rename noise-CIE_lch to noise-cie-lch, also rename the .c file
- Date: Mon, 3 Jun 2013 22:46:58 +0000 (UTC)
commit c494b225f7e5537b499b83f1ea4118a9b444152d
Author: Michael Natterer <mitch gimp org>
Date: Tue Jun 4 00:45:32 2013 +0200
operations: rename noise-CIE_lch to noise-cie-lch, also rename the .c file
.../common/{noise-cielch.c => noise-cie-lch.c} | 21 ++++++++-----------
po/POTFILES.in | 2 +-
2 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/operations/common/noise-cielch.c b/operations/common/noise-cie-lch.c
similarity index 92%
rename from operations/common/noise-cielch.c
rename to operations/common/noise-cie-lch.c
index 63000d4..c434df4 100644
--- a/operations/common/noise-cielch.c
+++ b/operations/common/noise-cie-lch.c
@@ -41,7 +41,7 @@ gegl_chant_double (hue_distance, _("Hue"),
#else
#define GEGL_CHANT_TYPE_POINT_FILTER
-#define GEGL_CHANT_C_FILE "noise-cielch.c"
+#define GEGL_CHANT_C_FILE "noise-cie-lch.c"
#include "gegl-chant.h"
#include <stdio.h>
@@ -108,17 +108,14 @@ process (GeglOperation *operation,
const GeglRectangle *roi,
gint level)
{
- GeglChantO *o = GEGL_CHANT_PROPERTIES (operation);
+ GeglChantO *o = GEGL_CHANT_PROPERTIES (operation);
+ gdouble *GEGL_ALIGNED in_pixel;
+ gdouble *GEGL_ALIGNED out_pixel;
+ gdouble lightness, chroma, hue, alpha;
+ gint i;
- gint i;
-
- gdouble * GEGL_ALIGNED in_pixel;
- gdouble * GEGL_ALIGNED out_pixel;
-
- gdouble lightness, chroma, hue, alpha;
-
- in_pixel = in_buf;
- out_pixel = out_buf;
+ in_pixel = in_buf;
+ out_pixel = out_buf;
for (i = 0; i < n_pixels; i++)
{
@@ -165,7 +162,7 @@ gegl_chant_class_init (GeglChantClass *klass)
point_filter_class->process = process;
gegl_operation_class_set_keys (operation_class,
- "name", "gegl:noise-CIE_lch",
+ "name", "gegl:noise-cie-lch",
"categories", "noise",
"description", _("Randomize lightness, chroma and hue independently"),
NULL);
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1b719e0..c77e339 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -55,7 +55,7 @@ operations/common/motion-blur-circular.c
operations/common/motion-blur-linear.c
operations/common/motion-blur-zoom.c
operations/common/noise.c
-operations/common/noise-cielch.c
+operations/common/noise-cie-lch.c
operations/common/noise-hsv.c
operations/common/noise-hurl.c
operations/common/noise-pick.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]