[gegl] comments



commit 5fb571baa543e32c14ca255f82b6e68f89ba483e
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date:   Fri Jun 24 13:35:12 2011 -0400

    comments

 gegl/buffer/gegl-sampler-lohalo.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 1c5a78b..257fbe0 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -30,12 +30,11 @@
  * interpolation) and Clamped EWA (Elliptical Weighted Averaging)
  * filtering with the "teepee" (radial tent, that is, conical) kernel.
  *
- * WARNING: This version of Lohalo gives quality downsampling results
- * only down to about 1/5. Beyond that, it works, but it does not
- * average over enough pixels to perform sufficient antialiasing.
- *
- * TO DO: Use multiple mipmap levels when downsampling by more than
- * about 60%.
+ * WARNING: This version of Lohalo only gives top quality downsampling
+ * results only down to about 1/2.5 = 40% of the size. Beyond that,
+ * the quality is somewhat lower (due to the use of mipmap data),
+ * especially beyond 1/LOHALO_CONTEXT_RECT_SIZE_1 because then it does
+ * not average over enough pixels to perform sufficient antialiasing.
  */
 
 /*
@@ -2340,7 +2339,7 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
           }
         }
       /*
-       * Ship out:
+       * Ship:
        */
       babl_process (self->fish, newval, output, 1);
       return;



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