From a18325afe16cb53d592ae1bf0ecb531b38c28d71 Mon Sep 17 00:00:00 2001 From: homm Date: Thu, 2 Jun 2016 09:34:23 +0300 Subject: [PATCH] remove WITH_FILTERS --- libImaging/Geometry.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libImaging/Geometry.c b/libImaging/Geometry.c index 97cbcf2ed..c0db7ce38 100644 --- a/libImaging/Geometry.c +++ b/libImaging/Geometry.c @@ -27,9 +27,6 @@ #include "Imaging.h" -/* Undef if you don't need resampling filters */ -#define WITH_FILTERS - /* For large images rotation is an inefficient operation in terms of CPU cache. One row in the source image affects each column in destination. Rotating in chunks that fit in the cache can speed up rotation @@ -321,8 +318,6 @@ quad_transform(double* xin, double* yin, int x, int y, void* data) /* transform filters (ImagingTransformFilter) */ -#ifdef WITH_FILTERS - static int nearest_filter8(void* out, Imaging im, double xin, double yin, void* data) { @@ -631,10 +626,6 @@ getfilter(Imaging im, int filterid) return NULL; } -#else -#define getfilter(im, id) NULL -#endif - /* transformation engines */ Imaging