% The format of the InterpolatePixelPacket method is:
%
% MagickBooleanType InterpolatePixelPacket(const Image *image,
-% CacheView *image_view,const InterpolatePixelMethod method,
+% const CacheView *image_view,const InterpolatePixelMethod method,
% const double x,const double y,MagickPixelPacket *pixel,
% ExceptionInfo *exception)
%
return(delta->x*x+delta->y*y+(1.0-delta->x-delta->y)*p);
}
-static inline ssize_t NearestNeighbor(MagickRealType x)
+static inline ssize_t NearestNeighbor(const MagickRealType x)
{
if (x >= 0.0)
return((ssize_t) (x+0.5));
}
MagickExport MagickBooleanType InterpolatePixelPacket(const Image *image,
- CacheView *image_view,const InterpolatePixelMethod method,const double x,
- const double y,MagickPixelPacket *pixel,ExceptionInfo *exception)
+ const CacheView *image_view,const InterpolatePixelMethod method,
+ const double x,const double y,MagickPixelPacket *pixel,
+ ExceptionInfo *exception)
{
MagickBooleanType
status;
const size_t,const char *,const StorageType,void *,ExceptionInfo *),
ImportImagePixels(Image *,const ssize_t,const ssize_t,const size_t,
const size_t,const char *,const StorageType,const void *),
- InterpolatePixelPacket(const Image *,CacheView_ *,
+ InterpolatePixelPacket(const Image *,const CacheView_ *,
const InterpolatePixelMethod,const double,const double,MagickPixelPacket *,
ExceptionInfo *);