From 8e8cf537281d3727f148b33cbd76c5d23af9dc17 Mon Sep 17 00:00:00 2001 From: Ferrero Andrea Date: Wed, 18 Feb 2015 10:08:35 +0100 Subject: [PATCH] Disabled caching for gradient norm and sharpening filters --- src/operations/gmic/gradient_norm.hh | 2 +- src/operations/sharpen.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/operations/gmic/gradient_norm.hh b/src/operations/gmic/gradient_norm.hh index db7aaf372..c722e1a9f 100644 --- a/src/operations/gmic/gradient_norm.hh +++ b/src/operations/gmic/gradient_norm.hh @@ -51,7 +51,7 @@ namespace PF bool has_intensity() { return false; } bool has_opacity() { return true; } - bool needs_caching() { return true; } + bool needs_caching() { return false; } int get_padding( int level ); diff --git a/src/operations/sharpen.hh b/src/operations/sharpen.hh index 8c19a0070..d967bb06f 100644 --- a/src/operations/sharpen.hh +++ b/src/operations/sharpen.hh @@ -52,7 +52,7 @@ namespace PF public: SharpenPar(); - bool needs_caching() { return true; } + bool needs_caching() { return false; } VipsImage* build(std::vector& in, int first, VipsImage* imap, VipsImage* omap,