mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-29 10:13:09 +03:00
remove WITH_FILTERS
This commit is contained in:
parent
a83ae6caee
commit
a18325afe1
|
@ -27,9 +27,6 @@
|
||||||
|
|
||||||
#include "Imaging.h"
|
#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.
|
/* For large images rotation is an inefficient operation in terms of CPU cache.
|
||||||
One row in the source image affects each column in destination.
|
One row in the source image affects each column in destination.
|
||||||
Rotating in chunks that fit in the cache can speed up rotation
|
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) */
|
/* transform filters (ImagingTransformFilter) */
|
||||||
|
|
||||||
#ifdef WITH_FILTERS
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
nearest_filter8(void* out, Imaging im, double xin, double yin, void* data)
|
nearest_filter8(void* out, Imaging im, double xin, double yin, void* data)
|
||||||
{
|
{
|
||||||
|
@ -631,10 +626,6 @@ getfilter(Imaging im, int filterid)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
|
||||||
#define getfilter(im, id) NULL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* transformation engines */
|
/* transformation engines */
|
||||||
|
|
||||||
Imaging
|
Imaging
|
||||||
|
|
Loading…
Reference in New Issue
Block a user