[gegl] perf: Test gegl:gaussian-blur's IIR filter
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] perf: Test gegl:gaussian-blur's IIR filter
- Date: Mon, 25 Dec 2017 00:38:32 +0000 (UTC)
commit 87187b02cf92ee958fa8a6aeea9c7c6ded090655
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Dec 25 01:23:07 2017 +0100
perf: Test gegl:gaussian-blur's IIR filter
The infinite impulse response (IIR) filter is more interesting for
performance testing because that's what's used for most standard
deviation values, which is anything that's not too small. The current
threshold is 1.0.
By default, operations like dropshadow and shadows-highlights use the
IIR filter, and most optimization efforts in the literature are
targetted towards it. In case there is a specific need to track the
performance of the FIR filter, it can be added later.
perf/test-blur.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/perf/test-blur.c b/perf/test-blur.c
index e65d732..15dbbea 100644
--- a/perf/test-blur.c
+++ b/perf/test-blur.c
@@ -38,8 +38,8 @@ void blur(GeglBuffer *buffer)
gegl = gegl_node_new ();
source = gegl_node_new_child (gegl, "operation", "gegl:buffer-source", "buffer", buffer, NULL);
node = gegl_node_new_child (gegl, "operation", "gegl:gaussian-blur",
- "std-dev-x", 0.5,
- "std-dev-y", 0.5,
+ "std-dev-x", 10.0,
+ "std-dev-y", 10.0,
NULL);
sink = gegl_node_new_child (gegl, "operation", "gegl:buffer-sink", "buffer", &buffer2, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]