[gegl] samplers: slightly larger context_rect for top quality when downsampling
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] samplers: slightly larger context_rect for top quality when downsampling
- Date: Sat, 5 Jan 2013 18:02:36 +0000 (UTC)
commit 2dad395f129536c2937d202a26483f1bd6d4fc3b
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date: Sat Jan 5 12:56:05 2013 -0500
samplers: slightly larger context_rect for top quality when downsampling
gegl/buffer/gegl-sampler-lohalo.c | 4 ++--
gegl/buffer/gegl-sampler-nohalo.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 22224f8..c7f01c4 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -333,7 +333,7 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
/*
* IMPORTANT: LOHALO_OFFSET_0 SHOULD BE AN INTEGER >= 2.
*/
-#define LOHALO_OFFSET_0 (11)
+#define LOHALO_OFFSET_0 (13)
#define LOHALO_SIZE_0 (1+2*LOHALO_OFFSET_0)
/*
@@ -346,7 +346,7 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
* mipmap level's offset should almost never be smaller than half the
* previous level's offset.
*/
-#define LOHALO_OFFSET_MIPMAP (11)
+#define LOHALO_OFFSET_MIPMAP (13)
#define LOHALO_SIZE_MIPMAP (1+2*LOHALO_OFFSET_MIPMAP)
#define LOHALO_OFFSET_1 LOHALO_OFFSET_MIPMAP
diff --git a/gegl/buffer/gegl-sampler-nohalo.c b/gegl/buffer/gegl-sampler-nohalo.c
index e727de7..a4ac373 100644
--- a/gegl/buffer/gegl-sampler-nohalo.c
+++ b/gegl/buffer/gegl-sampler-nohalo.c
@@ -410,7 +410,7 @@ gegl_sampler_nohalo_class_init (GeglSamplerNohaloClass *klass)
/*
* IMPORTANT: NOHALO_OFFSET_0 SHOULD BE AN INTEGER >= 2.
*/
-#define NOHALO_OFFSET_0 (11)
+#define NOHALO_OFFSET_0 (13)
#define NOHALO_SIZE_0 (1+2*NOHALO_OFFSET_0)
/*
@@ -423,7 +423,7 @@ gegl_sampler_nohalo_class_init (GeglSamplerNohaloClass *klass)
* mipmap level's offset should almost never be smaller than half the
* previous level's offset.
*/
-#define NOHALO_OFFSET_MIPMAP (11)
+#define NOHALO_OFFSET_MIPMAP (13)
#define NOHALO_SIZE_MIPMAP (1+2*NOHALO_OFFSET_MIPMAP)
#define NOHALO_OFFSET_1 NOHALO_OFFSET_MIPMAP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]