[gegl] Update some files to abyss api



commit fbc2da03ca6cd4de991739a9966570874b7f2f63
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Mon Mar 26 10:13:43 2012 +0200

    Update some files to abyss api

 operations/external/matting-levin.c         |    4 ++--
 operations/workshop/external/gluas.c        |    4 ++--
 operations/workshop/external/lens-correct.c |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/operations/external/matting-levin.c b/operations/external/matting-levin.c
index 64981a4..a73e3bc 100644
--- a/operations/external/matting-levin.c
+++ b/operations/external/matting-levin.c
@@ -1386,8 +1386,8 @@ matting_process (GeglOperation       *operation,
   input  = g_new (gdouble, result->width * result->height * COMPONENTS_INPUT);
   trimap = g_new (gdouble, result->width * result->height * COMPONENTS_AUX);
 
-  gegl_buffer_get (input_buf, result, 1.0, babl_format (FORMAT_INPUT), input, GEGL_AUTO_ROWSTRIDE);
-  gegl_buffer_get (  aux_buf, result, 1.0, babl_format (FORMAT_AUX),  trimap, GEGL_AUTO_ROWSTRIDE);
+  gegl_buffer_get (input_buf, result, 1.0, babl_format (FORMAT_INPUT), input, GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
+  gegl_buffer_get (  aux_buf, result, 1.0, babl_format (FORMAT_AUX),  trimap, GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
 
   output = matting_solve_level (input, trimap, result,
                                 MIN (o->active_levels, o->levels), o->levels,
diff --git a/operations/workshop/external/gluas.c b/operations/workshop/external/gluas.c
index 00beb55..bc633fd 100644
--- a/operations/workshop/external/gluas.c
+++ b/operations/workshop/external/gluas.c
@@ -244,7 +244,7 @@ get_rgba_pixel (void       *data,
         return;
       gegl_buffer_sample (p->in_drawable, x, y, NULL, buf,
                           p->rgba_float,
-                          GEGL_SAMPLER_NEAREST);
+                          GEGL_SAMPLER_NEAREST, GEGL_ABYSS_NONE);
       for (i = 0; i < 4; i++)
         pixel[i] = buf[i];
     }
@@ -255,7 +255,7 @@ get_rgba_pixel (void       *data,
         return;
       gegl_buffer_sample (p->aux_drawable, x, y, NULL, buf,
                           p->rgba_float,
-                          GEGL_SAMPLER_NEAREST);
+                          GEGL_SAMPLER_NEAREST, GEGL_ABYSS_NONE);
       for (i = 0; i < 4; i++)
         pixel[i] = buf[i];
     }
diff --git a/operations/workshop/external/lens-correct.c b/operations/workshop/external/lens-correct.c
index 9939b60..349a725 100644
--- a/operations/workshop/external/lens-correct.c
+++ b/operations/workshop/external/lens-correct.c
@@ -394,7 +394,7 @@ lens_distort_newl (gfloat              *src_buf,
                   gfloat color[4];
                   gegl_buffer_sample (input, tmpx+x, tmpy+y, NULL, color,
                                       babl_format ("RGBA float"),
-                                      GEGL_SAMPLER_NEAREST);
+                                      GEGL_SAMPLER_NEAREST, GEGL_ABYSS_NONE);
                   val += color[rgb] * wx[x] * wy[y];
                   wt += wx[x] * wy[y];
                 }
@@ -436,7 +436,7 @@ process (GeglOperation       *operation,
   if (!found) make_lens (&lens, o, boundary);
 
   gegl_buffer_get (input, result, 1.0, babl_format ("RGBA float"),
-                   src_buf, GEGL_AUTO_ROWSTRIDE);
+                   src_buf, GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
 
   for (y = result->y; y < result->y + result->height; y++)
     for (x = result->x; x < result->x + result->width; x++)



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