remove WITH_FILTERS

This commit is contained in:
homm 2016-06-02 09:34:23 +03:00
parent a83ae6caee
commit a18325afe1

View File

@ -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