MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
resize.c File Reference
Include dependency graph for resize.c:

Go to the source code of this file.

Data Structures

struct  _ResizeFilter
 
struct  _ContributionInfo
 

Macros

#define InterpolativeResizeImageTag   "Resize/Image"
 
#define caseA(N, A, B, C, D)
 
#define caseB(N, A, B, C, D, E, F, G, H)
 
#define Rotated(p)   p[2], p[4], p[7], p[1], p[6], p[0], p[3], p[5]
 
#define Corner(A, B, C, D)
 
#define Line(A, B, C, D)
 
#define WeightVar(M, N)
 
#define HelperCond(a, b, c, d, e, f, g)
 
#define MagnifyImageTag   "Magnify/Image"
 
#define ResampleImageTag   "Resample/Image"
 
#define ResizeImageTag   "Resize/Image"
 
#define SampleImageTag   "Sample/Image"
 
#define ScaleImageTag   "Scale/Image"
 
#define SampleFactor   5
 

Typedefs

typedef struct _ContributionInfo ContributionInfo
 

Functions

static double I0 (double x)
 
static double BesselOrderOne (double)
 
static double Sinc (const double, const ResizeFilter *)
 
static double SincFast (const double, const ResizeFilter *)
 
static double Blackman (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Bohman (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Box (const double magick_unused(x), const ResizeFilter *magick_unused(resize_filter))
 
static double Cosine (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double CubicBC (const double x, const ResizeFilter *resize_filter)
 
static double CubicSpline (const double x, const ResizeFilter *resize_filter)
 
static double Gaussian (const double x, const ResizeFilter *resize_filter)
 
static double Hann (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Hamming (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Jinc (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Kaiser (const double x, const ResizeFilter *resize_filter)
 
static double Lagrange (const double x, const ResizeFilter *resize_filter)
 
static double Quadratic (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Sinc (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double SincFast (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Triangle (const double x, const ResizeFilter *magick_unused(resize_filter))
 
static double Welch (const double x, const ResizeFilter *magick_unused(resize_filter))
 
MagickPrivate ResizeFilterAcquireResizeFilter (const Image *image, const FilterType filter, const MagickBooleanType cylindrical, ExceptionInfo *exception)
 
MagickExport ImageAdaptiveResizeImage (const Image *image, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
static double J1 (double x)
 
static double P1 (double x)
 
static double Q1 (double x)
 
MagickPrivate ResizeFilterDestroyResizeFilter (ResizeFilter *resize_filter)
 
MagickPrivate double * GetResizeFilterCoefficient (const ResizeFilter *resize_filter)
 
MagickPrivate double GetResizeFilterBlur (const ResizeFilter *resize_filter)
 
MagickPrivate double GetResizeFilterScale (const ResizeFilter *resize_filter)
 
MagickPrivate double GetResizeFilterWindowSupport (const ResizeFilter *resize_filter)
 
MagickPrivate ResizeWeightingFunctionType GetResizeFilterWeightingType (const ResizeFilter *resize_filter)
 
MagickPrivate ResizeWeightingFunctionType GetResizeFilterWindowWeightingType (const ResizeFilter *resize_filter)
 
MagickPrivate double GetResizeFilterSupport (const ResizeFilter *resize_filter)
 
MagickPrivate double GetResizeFilterWeight (const ResizeFilter *resize_filter, const double x)
 
MagickExport ImageInterpolativeResizeImage (const Image *image, const size_t columns, const size_t rows, const PixelInterpolateMethod method, ExceptionInfo *exception)
 
MagickExport ImageLiquidRescaleImage (const Image *image, const size_t magick_unused(columns), const size_t magick_unused(rows), const double magick_unused(delta_x), const double magick_unused(rigidity), ExceptionInfo *exception)
 
static void CopyPixels (const Quantum *source, const ssize_t source_offset, Quantum *destination, const ssize_t destination_offset, const size_t channels)
 
static void MixPixels (const Quantum *source, const ssize_t *source_offset, const size_t source_size, Quantum *destination, const ssize_t destination_offset, const size_t channels)
 
static void Mix2Pixels (const Quantum *source, const ssize_t source_offset1, const ssize_t source_offset2, Quantum *destination, const ssize_t destination_offset, const size_t channels)
 
static int PixelsEqual (const Quantum *source1, ssize_t offset1, const Quantum *source2, ssize_t offset2, const size_t channels)
 
static void Eagle2X (const Image *source, const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Hq2XHelper (const unsigned int rule, const Quantum *source, Quantum *destination, const ssize_t destination_offset, const size_t channels, const ssize_t e, const ssize_t a, const ssize_t b, const ssize_t d, const ssize_t f, const ssize_t h)
 
static unsigned int Hq2XPatternToNumber (const int *pattern)
 
static void Hq2X (const Image *source, const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Fish2X (const Image *source, const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Xbr2X (const Image *magick_unused(source), const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Scale2X (const Image *magick_unused(source), const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Epbx2X (const Image *magick_unused(source), const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Eagle3X (const Image *magick_unused(source), const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Eagle3XB (const Image *magick_unused(source), const Quantum *pixels, Quantum *result, const size_t channels)
 
static void Scale3X (const Image *magick_unused(source), const Quantum *pixels, Quantum *result, const size_t channels)
 
MagickExport ImageMagnifyImage (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageMinifyImage (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageResampleImage (const Image *image, const double x_resolution, const double y_resolution, const FilterType filter, ExceptionInfo *exception)
 
static ContributionInfo ** DestroyContributionTLS (ContributionInfo **contribution)
 
static ContributionInfo ** AcquireContributionTLS (const size_t count)
 
static MagickBooleanType HorizontalFilter (const ResizeFilter *magick_restrict resize_filter, const Image *magick_restrict image, Image *magick_restrict resize_image, const double x_factor, const MagickSizeType span, MagickOffsetType *magick_restrict progress, ExceptionInfo *exception)
 
static MagickBooleanType VerticalFilter (const ResizeFilter *magick_restrict resize_filter, const Image *magick_restrict image, Image *magick_restrict resize_image, const double y_factor, const MagickSizeType span, MagickOffsetType *magick_restrict progress, ExceptionInfo *exception)
 
MagickExport ImageResizeImage (const Image *image, const size_t columns, const size_t rows, const FilterType filter, ExceptionInfo *exception)
 
MagickExport ImageSampleImage (const Image *image, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
MagickExport ImageScaleImage (const Image *image, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
MagickExport ImageThumbnailImage (const Image *image, const size_t columns, const size_t rows, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ caseA

#define caseA (   N,
  A,
  B,
  C,
 
)
Value:
case N: \
{ \
const ssize_t \
offsets[4] = { A, B, C, D }; \
\
MixPixels(source,offsets,4,destination,destination_offset,channels);\
break; \
}

◆ caseB

#define caseB (   N,
  A,
  B,
  C,
  D,
  E,
  F,
  G,
 
)
Value:
case N: \
{ \
const ssize_t \
offsets[8] = { A, B, C, D, E, F, G, H }; \
\
MixPixels(source,offsets,8,destination,destination_offset,channels);\
break; \
}

◆ Corner

#define Corner (   A,
  B,
  C,
 
)
Value:
{ \
if (intensities[B] > intensities[A]) \
{ \
const ssize_t \
offsets[3] = { B, C, D }; \
\
MixPixels(pixels,offsets,3,result,3,channels); \
} \
else \
{ \
const ssize_t \
offsets[3] = { A, B, C }; \
\
MixPixels(pixels,offsets,3,result,3,channels); \
} \
}

◆ HelperCond

#define HelperCond (   a,
  b,
  c,
  d,
  e,
  f,
 
)
Value:
( \
PixelsEqual(pixels,a,pixels,b,channels) && ( \
PixelsEqual(pixels,c,pixels,d,channels) || \
PixelsEqual(pixels,c,pixels,e,channels) || \
PixelsEqual(pixels,a,pixels,f,channels) || \
PixelsEqual(pixels,b,pixels,g,channels) \
) \
)

◆ InterpolativeResizeImageTag

#define InterpolativeResizeImageTag   "Resize/Image"

◆ Line

#define Line (   A,
  B,
  C,
 
)
Value:
{ \
if (intensities[C] > intensities[A]) \
Mix2Pixels(pixels,C,D,result,3,channels); \
else \
Mix2Pixels(pixels,A,B,result,3,channels); \
}

◆ MagnifyImageTag

#define MagnifyImageTag   "Magnify/Image"

◆ ResampleImageTag

#define ResampleImageTag   "Resample/Image"

◆ ResizeImageTag

#define ResizeImageTag   "Resize/Image"

◆ Rotated

#define Rotated (   p)    p[2], p[4], p[7], p[1], p[6], p[0], p[3], p[5]

◆ SampleFactor

#define SampleFactor   5

◆ SampleImageTag

#define SampleImageTag   "Sample/Image"

◆ ScaleImageTag

#define ScaleImageTag   "Scale/Image"

◆ WeightVar

#define WeightVar (   M,
 
)
Value:
const int w_##M##_##N = \
PixelsEqual(pixels,M,pixels,N,channels) ? 0 : 1;

Typedef Documentation

◆ ContributionInfo

Function Documentation

◆ AcquireContributionTLS()

static ContributionInfo ** AcquireContributionTLS ( const size_t  count)
static

◆ AcquireResizeFilter()

MagickPrivate ResizeFilter * AcquireResizeFilter ( const Image image,
const FilterType  filter,
const MagickBooleanType  cylindrical,
ExceptionInfo exception 
)

Definition at line 757 of file resize.c.

References AcquireCriticalMemory(), Blackman(), BlackmanFilter, BlackmanWeightingFunction, _ResizeFilter::blur, Bohman(), BohmanFilter, BohmanWeightingFunction, Box(), BoxFilter, BoxWeightingFunction, CatromFilter, _ResizeFilter::coefficient, CommandOptionToMnemonic(), Cosine(), CosineFilter, CosineWeightingFunction, CubicBC(), CubicBCWeightingFunction, CubicFilter, CubicSpline(), CubicSplineFilter, DeleteImageArtifact(), _Image::filename, _ResizeFilter::filter, _ResizeFilter::filterWeightingType, FormatLocaleFile(), Gaussian(), GaussianFilter, GaussianWeightingFunction, GetImageArtifact(), GetMagickModule, GetMagickPrecision(), GetResizeFilterSupport(), GetResizeFilterWeight(), Hamming(), HammingFilter, HammingWeightingFunction, Hann(), HannFilter, HannWeightingFunction, HermiteFilter, I0(), IsEventLogging(), IsStringTrue(), Jinc(), JincFilter, JincWeightingFunction, Kaiser(), KaiserFilter, KaiserWeightingFunction, Lagrange(), LagrangeFilter, LagrangeWeightingFunction, Lanczos2Filter, Lanczos2SharpFilter, LanczosFilter, LanczosRadiusFilter, LanczosSharpFilter, LogMagickEvent(), Magick2PI, MagickCoreSignature, MagickEpsilon, MagickFalse, MagickFilterOptions, MagickPI, MagickSQ1_2, MitchellFilter, ParseCommandOption(), PerceptibleReciprocal(), PointFilter, Quadratic(), QuadraticFilter, QuadraticWeightingFunction, RobidouxFilter, RobidouxSharpFilter, _ResizeFilter::scale, SentinelFilter, _ExceptionInfo::signature, _Image::signature, _ResizeFilter::signature, Sinc(), SincFast(), SincFastFilter, SincFastWeightingFunction, SincFilter, SincWeightingFunction, SplineFilter, StringToDouble(), StringToLong(), _ResizeFilter::support, TraceEvent, Triangle(), TriangleFilter, TriangleWeightingFunction, UndefinedFilter, Welch(), WelchFilter, WelchWeightingFunction, _ResizeFilter::window, _ResizeFilter::window_support, and _ResizeFilter::windowWeightingType.

Referenced by ResizeImage().

◆ AdaptiveResizeImage()

MagickExport Image * AdaptiveResizeImage ( const Image image,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)

Definition at line 1290 of file resize.c.

References InterpolativeResizeImage(), and MeshInterpolatePixel.

◆ BesselOrderOne()

static double BesselOrderOne ( double  x)

Definition at line 1491 of file resize.c.

References J1(), MagickPI, P1(), and Q1().

Referenced by Jinc().

◆ Blackman()

static double Blackman ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 149 of file resize.c.

References magick_unreferenced, and MagickPI.

Referenced by AcquireResizeFilter().

◆ Bohman()

static double Bohman ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 164 of file resize.c.

References magick_unreferenced, and MagickPI.

Referenced by AcquireResizeFilter().

◆ Box()

static double Box ( const double   magick_unusedx,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 181 of file resize.c.

References magick_unreferenced.

Referenced by AcquireResizeFilter(), and GetResizeFilterWeight().

◆ CopyPixels()

static void CopyPixels ( const Quantum source,
const ssize_t  source_offset,
Quantum destination,
const ssize_t  destination_offset,
const size_t  channels 
)
inlinestatic

Definition at line 2063 of file resize.c.

Referenced by Eagle2X(), Eagle3X(), Eagle3XB(), Epbx2X(), Fish2X(), Hq2XHelper(), Scale2X(), Scale3X(), and Xbr2X().

◆ Cosine()

static double Cosine ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 195 of file resize.c.

References magick_unreferenced, and MagickPI2.

Referenced by AcquireResizeFilter().

◆ CubicBC()

static double CubicBC ( const double  x,
const ResizeFilter resize_filter 
)
static

Definition at line 207 of file resize.c.

References _ResizeFilter::coefficient.

Referenced by AcquireResizeFilter().

◆ CubicSpline()

static double CubicSpline ( const double  x,
const ResizeFilter resize_filter 
)
static

Definition at line 247 of file resize.c.

References _ResizeFilter::support.

Referenced by AcquireResizeFilter().

◆ DestroyContributionTLS()

static ContributionInfo ** DestroyContributionTLS ( ContributionInfo **  contribution)
static

◆ DestroyResizeFilter()

MagickPrivate ResizeFilter * DestroyResizeFilter ( ResizeFilter resize_filter)

◆ Eagle2X()

static void Eagle2X ( const Image source,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
inlinestatic

Definition at line 2119 of file resize.c.

References CopyPixels(), and PixelsEqual().

Referenced by MagnifyImage().

◆ Eagle3X()

static void Eagle3X ( const Image magick_unusedsource,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
inlinestatic

Definition at line 2676 of file resize.c.

References CopyPixels(), magick_unreferenced, Mix2Pixels(), and PixelsEqual().

Referenced by MagnifyImage().

◆ Eagle3XB()

static void Eagle3XB ( const Image magick_unusedsource,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
inlinestatic

Definition at line 2718 of file resize.c.

References CopyPixels(), magick_unreferenced, and PixelsEqual().

Referenced by MagnifyImage().

◆ Epbx2X()

static void Epbx2X ( const Image magick_unusedsource,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
static

Definition at line 2621 of file resize.c.

References CopyPixels(), HelperCond, magick_unreferenced, Mix2Pixels(), and PixelsEqual().

Referenced by MagnifyImage().

◆ Fish2X()

static void Fish2X ( const Image source,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
static

Definition at line 2397 of file resize.c.

References CopyPixels(), Corner, GetPixelIntensity(), Line, Mix2Pixels(), MixPixels(), and PixelsEqual().

Referenced by MagnifyImage().

◆ Gaussian()

static double Gaussian ( const double  x,
const ResizeFilter resize_filter 
)
static

Definition at line 287 of file resize.c.

References _ResizeFilter::coefficient.

Referenced by AcquireResizeFilter().

◆ GetResizeFilterBlur()

MagickPrivate double GetResizeFilterBlur ( const ResizeFilter resize_filter)

Definition at line 1574 of file resize.c.

References _ResizeFilter::blur, MagickCoreSignature, and _ResizeFilter::signature.

◆ GetResizeFilterCoefficient()

MagickPrivate double * GetResizeFilterCoefficient ( const ResizeFilter resize_filter)

◆ GetResizeFilterScale()

MagickPrivate double GetResizeFilterScale ( const ResizeFilter resize_filter)

Definition at line 1581 of file resize.c.

References MagickCoreSignature, _ResizeFilter::scale, and _ResizeFilter::signature.

◆ GetResizeFilterSupport()

MagickPrivate double GetResizeFilterSupport ( const ResizeFilter resize_filter)

◆ GetResizeFilterWeight()

◆ GetResizeFilterWeightingType()

MagickPrivate ResizeWeightingFunctionType GetResizeFilterWeightingType ( const ResizeFilter resize_filter)

◆ GetResizeFilterWindowSupport()

MagickPrivate double GetResizeFilterWindowSupport ( const ResizeFilter resize_filter)

◆ GetResizeFilterWindowWeightingType()

MagickPrivate ResizeWeightingFunctionType GetResizeFilterWindowWeightingType ( const ResizeFilter resize_filter)

◆ Hamming()

static double Hamming ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 334 of file resize.c.

References magick_unreferenced, and MagickPI.

Referenced by AcquireResizeFilter().

◆ Hann()

static double Hann ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 322 of file resize.c.

References magick_unreferenced, and MagickPI.

Referenced by AcquireResizeFilter().

◆ HorizontalFilter()

◆ Hq2X()

static void Hq2X ( const Image source,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
inlinestatic

Definition at line 2344 of file resize.c.

References Hq2XHelper(), Hq2XPatternToNumber(), PixelsEqual(), and Rotated.

Referenced by MagnifyImage().

◆ Hq2XHelper()

static void Hq2XHelper ( const unsigned int  rule,
const Quantum source,
Quantum destination,
const ssize_t  destination_offset,
const size_t  channels,
const ssize_t  e,
const ssize_t  a,
const ssize_t  b,
const ssize_t  d,
const ssize_t  f,
const ssize_t  h 
)
static

Definition at line 2142 of file resize.c.

References caseA, caseB, CopyPixels(), MixPixels(), and PixelsEqual().

Referenced by Hq2X().

◆ Hq2XPatternToNumber()

static unsigned int Hq2XPatternToNumber ( const int *  pattern)
inlinestatic

Definition at line 2325 of file resize.c.

Referenced by Hq2X().

◆ I0()

static double I0 ( double  x)
static

Definition at line 1341 of file resize.c.

References MagickEpsilon.

Referenced by AcquireResizeFilter(), and Kaiser().

◆ InterpolativeResizeImage()

◆ J1()

static double J1 ( double  x)
static

Definition at line 1366 of file resize.c.

Referenced by BesselOrderOne().

◆ Jinc()

static double Jinc ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 346 of file resize.c.

References BesselOrderOne(), magick_unreferenced, and MagickPI.

Referenced by AcquireResizeFilter().

◆ Kaiser()

static double Kaiser ( const double  x,
const ResizeFilter resize_filter 
)
static

Definition at line 364 of file resize.c.

References _ResizeFilter::coefficient, and I0().

Referenced by AcquireResizeFilter().

◆ Lagrange()

static double Lagrange ( const double  x,
const ResizeFilter resize_filter 
)
static

Definition at line 382 of file resize.c.

References _ResizeFilter::support, and _ResizeFilter::window_support.

Referenced by AcquireResizeFilter().

◆ LiquidRescaleImage()

MagickExport Image * LiquidRescaleImage ( const Image image,
const size_t   magick_unusedcolumns,
const size_t   magick_unusedrows,
const double   magick_unuseddelta_x,
const double   magick_unusedrigidity,
ExceptionInfo exception 
)

◆ MagnifyImage()

◆ MinifyImage()

◆ Mix2Pixels()

static void Mix2Pixels ( const Quantum source,
const ssize_t  source_offset1,
const ssize_t  source_offset2,
Quantum destination,
const ssize_t  destination_offset,
const size_t  channels 
)
inlinestatic

Definition at line 2095 of file resize.c.

References MixPixels().

Referenced by Eagle3X(), Epbx2X(), Fish2X(), and Xbr2X().

◆ MixPixels()

static void MixPixels ( const Quantum source,
const ssize_t *  source_offset,
const size_t  source_size,
Quantum destination,
const ssize_t  destination_offset,
const size_t  channels 
)
inlinestatic

Definition at line 2073 of file resize.c.

Referenced by Fish2X(), Hq2XHelper(), and Mix2Pixels().

◆ P1()

static double P1 ( double  x)
static

Definition at line 1412 of file resize.c.

Referenced by BesselOrderOne().

◆ PixelsEqual()

static int PixelsEqual ( const Quantum source1,
ssize_t  offset1,
const Quantum source2,
ssize_t  offset2,
const size_t  channels 
)
inlinestatic

Definition at line 2105 of file resize.c.

Referenced by Eagle2X(), Eagle3X(), Eagle3XB(), Epbx2X(), Fish2X(), Hq2X(), Hq2XHelper(), Scale2X(), and Scale3X().

◆ Q1()

static double Q1 ( double  x)
static

Definition at line 1452 of file resize.c.

Referenced by BesselOrderOne().

◆ Quadratic()

static double Quadratic ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 415 of file resize.c.

References magick_unreferenced.

Referenced by AcquireResizeFilter().

◆ ResampleImage()

MagickExport Image * ResampleImage ( const Image image,
const double  x_resolution,
const double  y_resolution,
const FilterType  filter,
ExceptionInfo exception 
)

◆ ResizeImage()

◆ SampleImage()

◆ Scale2X()

static void Scale2X ( const Image magick_unusedsource,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
static

Definition at line 2588 of file resize.c.

References CopyPixels(), magick_unreferenced, and PixelsEqual().

Referenced by MagnifyImage().

◆ Scale3X()

static void Scale3X ( const Image magick_unusedsource,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
inlinestatic

Definition at line 2748 of file resize.c.

References CopyPixels(), magick_unreferenced, and PixelsEqual().

Referenced by MagnifyImage().

◆ ScaleImage()

◆ Sinc() [1/2]

static double Sinc ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 430 of file resize.c.

References magick_unreferenced, and MagickPI.

◆ Sinc() [2/2]

static double Sinc ( const double  ,
const ResizeFilter  
)

Referenced by AcquireResizeFilter().

◆ SincFast() [1/2]

static double SincFast ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 447 of file resize.c.

References magick_unreferenced, and MagickPI.

◆ SincFast() [2/2]

static double SincFast ( const double  ,
const ResizeFilter  
)

Referenced by AcquireResizeFilter().

◆ ThumbnailImage()

◆ Triangle()

static double Triangle ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 543 of file resize.c.

References magick_unreferenced.

Referenced by AcquireResizeFilter().

◆ VerticalFilter()

◆ Welch()

static double Welch ( const double  x,
const ResizeFilter magick_unusedresize_filter 
)
static

Definition at line 558 of file resize.c.

References magick_unreferenced.

Referenced by AcquireResizeFilter().

◆ Xbr2X()

static void Xbr2X ( const Image magick_unusedsource,
const Quantum pixels,
Quantum result,
const size_t  channels 
)
static

Definition at line 2516 of file resize.c.

References CopyPixels(), magick_unreferenced, Mix2Pixels(), and WeightVar.

Referenced by MagnifyImage().