mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
remove WITH_FILTERS
This commit is contained in:
parent
a83ae6caee
commit
a18325afe1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user