[gegl] remove unneeded ix and iy suffixes



commit c2039e576d54d71a7a1869d376287aad052b0cc9
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date:   Fri Jun 24 13:37:16 2011 -0400

    remove unneeded ix and iy suffixes

 gegl/buffer/gegl-sampler-lohalo.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 257fbe0..8339f19 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -2217,10 +2217,10 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
                 /*
                  * Key index ranges:
                  */
-                const gint in_left_ix = -2 + odd_ix_0;
-                const gint in_rite_ix =  2 - odd_ix_0;
-                const gint in_top_iy  = -2 + odd_iy_0;
-                const gint in_bot_iy  =  2 - odd_iy_0;
+                const gint in_left = -2 + odd_ix_0;
+                const gint in_rite =  2 - odd_ix_0;
+                const gint in_top  = -2 + odd_iy_0;
+                const gint in_bot  =  2 - odd_iy_0;
                 
                 const gint out_left =
                   LOHALO_MAX
@@ -2296,7 +2296,7 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
                  */
                 {
                   gint i;
-                  for ( i = out_top ; i < in_top_iy; i++ )
+                  for ( i = out_top ; i < in_top; i++ )
                     {
                       gint j;
                       for ( j = out_left; j <= out_rite; j++ )
@@ -2307,16 +2307,16 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
                   do
                     {
                       gint j;
-                      for ( j = out_left; j < in_left_ix; j++ )
+                      for ( j = out_left; j < in_left; j++ )
                         {
                           LOHALO_CALL_LEVEL_1_EWA_UPDATE( j, i );
                         }
-                      for ( j = in_rite_ix + 1; j <= out_rite; j++ )
+                      for ( j = in_rite + 1; j <= out_rite; j++ )
                         {
                           LOHALO_CALL_LEVEL_1_EWA_UPDATE( j, i );
                         }
-                    } while ( ++i <= in_bot_iy );
-                  for ( i = in_bot_iy + 1; i <= out_bot; i++ )
+                    } while ( ++i <= in_bot );
+                  for ( i = in_bot + 1; i <= out_bot; i++ )
                     {
                       gint j;
                       for ( j = out_left; j <= out_rite; j++ )



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