[gegl] samplers: revert offset sizes in lohalo/nohalo to 13



commit 5d3d041c5684a4d0d4166502c17e7fafca518d3a
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jun 29 16:28:25 2014 +0200

    samplers: revert offset sizes in lohalo/nohalo to 13
    
    Making the samplers slow again, it seems like the parameter cannot be used
    directly as a speed/performance trade-off.

 gegl/buffer/gegl-sampler-lohalo.c |    2 +-
 gegl/buffer/gegl-sampler-nohalo.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 3958219..0acf80e 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -330,7 +330,7 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
 /*
  * IMPORTANT: LOHALO_OFFSET_0 SHOULD BE AN INTEGER >= 2.
  */
-#define LOHALO_OFFSET_0 (7)
+#define LOHALO_OFFSET_0 (13)
 #define LOHALO_SIZE_0 (1+2*LOHALO_OFFSET_0)
 
 /*
diff --git a/gegl/buffer/gegl-sampler-nohalo.c b/gegl/buffer/gegl-sampler-nohalo.c
index 062d11f..eeef4af 100644
--- a/gegl/buffer/gegl-sampler-nohalo.c
+++ b/gegl/buffer/gegl-sampler-nohalo.c
@@ -413,7 +413,7 @@ gegl_sampler_nohalo_class_init (GeglSamplerNohaloClass *klass)
 /*
  * IMPORTANT: NOHALO_OFFSET_0 SHOULD BE AN INTEGER >= 2.
  */
-#define NOHALO_OFFSET_0 (7)
+#define NOHALO_OFFSET_0 (13)
 #define NOHALO_SIZE_0 (1+2*NOHALO_OFFSET_0)
 
 /*


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