[gegl/samplers] tile-zoom tweak
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/samplers] tile-zoom tweak
- Date: Thu, 30 Jun 2011 14:46:33 +0000 (UTC)
commit bff341190cb1db0a9b05c921f85c42d620a814ae
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]