[gegl] tile-zoom tweak



commit e134982cd8788c55a5296f780a6b609c5dac330e
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date:   Thu Jun 30 10:46:28 2011 -0400

    tile-zoom tweak

 gegl/buffer/gegl-tile-handler-zoom.c |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-handler-zoom.c b/gegl/buffer/gegl-tile-handler-zoom.c
index ce198fb..0cf6b8b 100644
--- a/gegl/buffer/gegl-tile-handler-zoom.c
+++ b/gegl/buffer/gegl-tile-handler-zoom.c
@@ -98,15 +98,15 @@ static inline void set_half_nearest (GeglTile *dst_tile,
 }
 
 static inline void
-downscale_float (gint    components,
-                 gint    width,
-                 gint    height,
-                 gint    rowstride,
-                 guchar *src_data,
-                 guchar *dst_data)
+downscale_float (const gint    components,
+                 const gint    width,
+                 const gint    height,
+                 const gint    rowstride,
+                       guchar *src_data,
+                       guchar *dst_data)
 {
   /*
-   * The code assumes that the loop body is executed at least one for
+   * The code assumes that the loop body is executed at least once for
    * all three of y, x and i.
    */
   gint y = 0;
@@ -141,15 +141,15 @@ downscale_float (gint    components,
 }
 
 static inline void
-downscale_u8 (gint    components,
-              gint    width,
-              gint    height,
-              gint    rowstride,
-              guchar *src_data,
-              guchar *dst_data)
+downscale_u8 (const gint    components,
+              const gint    width,
+              const gint    height,
+              const gint    rowstride,
+                    guchar *src_data,
+                    guchar *dst_data)
 {
   /*
-   * The code assumes that the loop body is executed at least one for
+   * The code assumes that the loop body is executed at least once for
    * all three of y, x and i.
    */
   gint y = 0;



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