[gegl/soc-2011-warp: 4/25] map-relative/absolute: rename interpolation to sampler_type



commit 2a024c5438232dad243e47aadd011b9bafc9ea42
Author: Michael Murà <batolettre gmail com>
Date:   Tue Jul 5 21:35:06 2011 +0200

    map-relative/absolute: rename interpolation to sampler_type

 operations/common/map-absolute.c |    4 ++--
 operations/common/map-relative.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/common/map-absolute.c b/operations/common/map-absolute.c
index 1475885..1cc4be9 100644
--- a/operations/common/map-absolute.c
+++ b/operations/common/map-absolute.c
@@ -19,7 +19,7 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_sampler (interpolation, _("Interpolation"),
+gegl_chant_sampler (sampler_type, _("Interpolation"),
                     GEGL_INTERPOLATION_CUBIC, _("Sampler used internaly"))
 
 #else
@@ -68,7 +68,7 @@ process (GeglOperation       *operation,
   format_io = babl_format ("RGBA float");
   format_coords = babl_format_n (babl_type ("float"), 2);
 
-  sampler = gegl_buffer_sampler_new (input, format_io, o->interpolation);
+  sampler = gegl_buffer_sampler_new (input, format_io, o->sampler_type);
 
   if (aux != NULL)
     {
diff --git a/operations/common/map-relative.c b/operations/common/map-relative.c
index 99fd68f..b65841e 100644
--- a/operations/common/map-relative.c
+++ b/operations/common/map-relative.c
@@ -23,7 +23,7 @@
 gegl_chant_double (scaling, _("Scaling"), 0.0, 5000.0, 1.0,
        _("scaling factor of displacement, indicates how large spatial"
          " displacement a relative mapping value of 1.0 corresponds to."))
-gegl_chant_sampler (interpolation, _("Interpolation"),
+gegl_chant_sampler (sampler_type, _("Interpolation"),
                     GEGL_INTERPOLATION_CUBIC, _("Sampler used internaly"))
 
 #else
@@ -72,7 +72,7 @@ process (GeglOperation       *operation,
   format_io = babl_format ("RGBA float");
   format_coords = babl_format_n (babl_type ("float"), 2);
 
-  sampler = gegl_buffer_sampler_new (input, format_io, o->interpolation);
+  sampler = gegl_buffer_sampler_new (input, format_io, o->sampler_type);
 
   if (aux != NULL)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]