[gegl] gegl/buffer: update some comments to reflect lack of mipmap use
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl/buffer: update some comments to reflect lack of mipmap use
- Date: Wed, 11 Oct 2017 01:51:41 +0000 (UTC)
commit 01903ebd14b9bf98f3fd035ad3cf24434bf2128e
Author: Øyvind Kolås <pippin gimp org>
Date: Wed Oct 11 03:31:19 2017 +0200
gegl/buffer: update some comments to reflect lack of mipmap use
gegl/buffer/gegl-sampler-lohalo.c | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 16ee024..c6c39a8 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -175,10 +175,6 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
#define LOHALO_OFFSET_0 (13)
#define LOHALO_SIZE_0 (1+2*LOHALO_OFFSET_0)
-/*
- * Lohalo always uses some mipmap level 0 values, but not always
- * higher mipmap values.
- */
static void
gegl_sampler_lohalo_init (GeglSamplerLohalo *self)
{
@@ -423,12 +419,7 @@ gegl_sampler_lohalo_get ( GeglSampler* restrict self,
* efficient choice for a tensor bicubic for which anchoring an
* asymetrical 4 point stencil at the second pixel location in both
* directions is best. For one thing, it requires having at least a
- * 5x5 stencil when dealing with possible reflexions. The reason for
- * this less efficient choice for the upsampling component of lohalo
- * is that we use multiple mipmap levels when downsampling, and
- * keeping things as centered as possible minimizes the impact of
- * the slight geometrical shifts introduced by the use of pyramid
- * levels.
+ * 5x5 stencil when dealing with possible reflexions.
*/
/*
@@ -963,8 +954,7 @@ gegl_sampler_lohalo_get ( GeglSampler* restrict self,
/*
* Grab the pixel values located within the level 0
- * context_rect. Farther ones will be accessed through
- * higher mipmap levels.
+ * context_rect.
*/
const gint out_left_0 =
LOHALO_MAX
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]