[gegl] gaussian-blur: add some level arguments towards mipmap rendering
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gaussian-blur: add some level arguments towards mipmap rendering
- Date: Tue, 7 Feb 2017 16:32:41 +0000 (UTC)
commit 01d1ef97e54cd306a64f148500d61e6ac125c53d
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Feb 7 17:31:47 2017 +0100
gaussian-blur: add some level arguments towards mipmap rendering
No speed up yet, but propagating level to inner process.
operations/common/gblur-1d.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/operations/common/gblur-1d.c b/operations/common/gblur-1d.c
index 7cee23e..9081194 100644
--- a/operations/common/gblur-1d.c
+++ b/operations/common/gblur-1d.c
@@ -347,7 +347,8 @@ fir_ver_blur (GeglBuffer *src,
gfloat *cmatrix,
gint clen,
GeglAbyssPolicy policy,
- const Babl *format)
+ const Babl *format,
+ gint level)
{
GeglRectangle cur_col = *rect;
GeglRectangle in_col;
@@ -808,9 +809,9 @@ gegl_gblur_1d_process (GeglOperation *operation,
iir_young_find_constants (o->std_dev, b, m);
if (o->orientation == GEGL_ORIENTATION_HORIZONTAL)
- iir_young_hor_blur (input, result, output, b, m, abyss_policy, format);
+ iir_young_hor_blur (input, result, output, b, m, abyss_policy, format, level);
else
- iir_young_ver_blur (input, result, output, b, m, abyss_policy, format);
+ iir_young_ver_blur (input, result, output, b, m, abyss_policy, format, level);
}
else
{
@@ -830,9 +831,9 @@ gegl_gblur_1d_process (GeglOperation *operation,
}
if (o->orientation == GEGL_ORIENTATION_HORIZONTAL)
- fir_hor_blur (input, result, output, cmatrix, clen, abyss_policy, format);
+ fir_hor_blur (input, result, output, cmatrix, clen, abyss_policy, format, level);
else
- fir_ver_blur (input, result, output, cmatrix, clen, abyss_policy, format);
+ fir_ver_blur (input, result, output, cmatrix, clen, abyss_policy, format, level);
gegl_free (cmatrix);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]