[gegl/samplers] lint and cosmetic



commit 4acfd4f99da24f260b4e1a9f8fc8c40df1c883e6
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date:   Fri Jun 17 09:56:08 2011 -0400

    lint and cosmetic

 gegl/buffer/gegl-sampler-lohalo.c |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index fc22253..89d4abd 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -1898,16 +1898,6 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
          *   sqrt( ellipse_a * bounding_box_factor );
          */
 
-        const gfloat radius = (gfloat) 2.5;
-        /*
-         * Grab the pixel values located strictly within a distance of
-         * 2.5 from the location of interest. These fit within the
-         * context_rect of "pure" LBB-Nohalo; which ones exactly fit
-         * depends on the signs of x_0 and y_0.
-         *
-         * Farther ones will be accessed through higher mipmap levels.
-         */
-        
         gfloat total_weight = 0.0;
         gfloat restrict ewa_newval[channels];
         ewa_newval[0] = 0.0;
@@ -1916,6 +1906,12 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
         ewa_newval[3] = 0.0;
 
         /*
+         * Grab the pixel values located within the context_rect of
+         * "pure" LBB-Nohalo.
+         *
+         * Farther ones will be accessed through higher mipmap levels.
+         */
+        /*
          * First (top) row of the 5x5 context_rect, from left to
          * right:
          */



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