#include "magick/cache.h"

Go to the source code of this file.
Data Structures | |
| struct | _QuantumState |
| struct | _QuantumInfo |
Typedefs | |
| typedef struct _QuantumState | QuantumState |
Functions | |
| static MagickSizeType | GetQuantumRange (const unsigned long depth) |
| static void | InitializeQuantumState (const QuantumInfo *quantum_info, const EndianType endian, QuantumState *quantum_state) |
| static unsigned char * | PopCharPixel (const unsigned char pixel, unsigned char *pixels) |
| static unsigned char * | PopLongPixel (const EndianType endian, const unsigned long pixel, unsigned char *pixels) |
| static unsigned char * | PopShortPixel (const EndianType endian, const unsigned short pixel, unsigned char *pixels) |
| static const unsigned char * | PushCharPixel (const unsigned char *pixels, unsigned char *pixel) |
| static const unsigned char * | PushLongPixel (const EndianType endian, const unsigned char *pixels, unsigned long *pixel) |
| static const unsigned char * | PushShortPixel (const EndianType endian, const unsigned char *pixels, unsigned short *pixel) |
| static Quantum | ScaleAnyToQuantum (const QuantumAny quantum, const QuantumAny range) |
| static QuantumAny | ScaleQuantumToAny (const Quantum quantum, const QuantumAny range) |
| static Quantum | ScaleCharToQuantum (const unsigned char value) |
| static Quantum | ScaleLongToQuantum (const unsigned long value) |
| static Quantum | ScaleMapToQuantum (const MagickRealType value) |
| static unsigned long | ScaleQuantumToLong (const Quantum quantum) |
| static unsigned long | ScaleQuantumToMap (const Quantum quantum) |
| static unsigned short | ScaleQuantumToShort (const Quantum quantum) |
| static Quantum | ScaleShortToQuantum (const unsigned short value) |
| typedef struct _QuantumState QuantumState |
| static MagickSizeType GetQuantumRange | ( | const unsigned long | depth | ) | [inline, static] |
Definition at line 85 of file quantum-private.h.
References MagickULLConstant.
Referenced by ExportQuantumPixels(), GetImageChannelDepth(), GetImageChannelStatistics(), ImportQuantumPixels(), QueryMagickColor(), and SetImageChannelDepth().
| static void InitializeQuantumState | ( | const QuantumInfo * | quantum_info, | |
| const EndianType | endian, | |||
| QuantumState * | quantum_state | |||
| ) | [inline, static] |
Definition at line 91 of file quantum-private.h.
References _QuantumState::bits, _QuantumState::endian, _QuantumState::inverse_scale, _QuantumState::mask, _QuantumInfo::minimum, _QuantumState::minimum, ResetMagickMemory(), _QuantumInfo::scale, and _QuantumState::scale.
Referenced by ExportQuantumPixels(), and ImportQuantumPixels().
| static unsigned char* PopCharPixel | ( | const unsigned char | pixel, | |
| unsigned char * | pixels | |||
| ) | [inline, static] |
Definition at line 116 of file quantum-private.h.
Referenced by ExportQuantumPixels().
| static unsigned char* PopLongPixel | ( | const EndianType | endian, | |
| const unsigned long | pixel, | |||
| unsigned char * | pixels | |||
| ) | [inline, static] |
Definition at line 123 of file quantum-private.h.
References LSBEndian.
Referenced by ExportQuantumPixels(), and PopQuantumLongPixel().
| static unsigned char* PopShortPixel | ( | const EndianType | endian, | |
| const unsigned short | pixel, | |||
| unsigned char * | pixels | |||
| ) | [inline, static] |
Definition at line 145 of file quantum-private.h.
References LSBEndian.
Referenced by ExportQuantumPixels().
| static const unsigned char* PushCharPixel | ( | const unsigned char * | pixels, | |
| unsigned char * | pixel | |||
| ) | [inline, static] |
Definition at line 163 of file quantum-private.h.
Referenced by ImportQuantumPixels().
| static const unsigned char* PushLongPixel | ( | const EndianType | endian, | |
| const unsigned char * | pixels, | |||
| unsigned long * | pixel | |||
| ) | [inline, static] |
Definition at line 170 of file quantum-private.h.
References LSBEndian.
Referenced by ImportQuantumPixels(), and PushQuantumLongPixel().
| static const unsigned char* PushShortPixel | ( | const EndianType | endian, | |
| const unsigned char * | pixels, | |||
| unsigned short * | pixel | |||
| ) | [inline, static] |
Definition at line 194 of file quantum-private.h.
References LSBEndian.
Referenced by ImportQuantumPixels().
| static Quantum ScaleAnyToQuantum | ( | const QuantumAny | quantum, | |
| const QuantumAny | range | |||
| ) | [inline, static] |
Definition at line 214 of file quantum-private.h.
References QuantumRange.
Referenced by GetImageChannelDepth(), GetImageChannelStatistics(), ImportQuantumPixels(), QueryMagickColor(), and SetImageChannelDepth().
| static Quantum ScaleCharToQuantum | ( | const unsigned char | value | ) | [inline, static] |
Definition at line 310 of file quantum-private.h.
Referenced by Classify(), GenerateDifferentialNoise(), GetImageDynamicThreshold(), Hull(), ImportImagePixels(), ImportQuantumPixels(), LoadColorLists(), QueryMagickColor(), RGBTransformImage(), and TransformRGBImage().
| static Quantum ScaleLongToQuantum | ( | const unsigned long | value | ) | [inline, static] |
Definition at line 319 of file quantum-private.h.
References MagickULLConstant.
Referenced by ImportImagePixels(), and ImportQuantumPixels().
| static Quantum ScaleMapToQuantum | ( | const MagickRealType | value | ) | [inline, static] |
Definition at line 329 of file quantum-private.h.
Referenced by ColorDecisionListImage(), ContrastStretchImageChannel(), EqualizeImageChannel(), GammaImageChannel(), RGBTransformImage(), SigmoidalContrastImageChannel(), and TransformRGBImage().
| static QuantumAny ScaleQuantumToAny | ( | const Quantum | quantum, | |
| const QuantumAny | range | |||
| ) | [inline, static] |
Definition at line 224 of file quantum-private.h.
References QuantumRange.
Referenced by ExportQuantumPixels(), GetImageChannelDepth(), GetImageChannelStatistics(), and SetImageChannelDepth().
| static unsigned long ScaleQuantumToLong | ( | const Quantum | quantum | ) | [inline, static] |
Definition at line 342 of file quantum-private.h.
Referenced by ConcatenateColorComponent(), ConcatentateHexColorComponent(), ExportImagePixels(), ExportQuantumPixels(), and StreamImagePixels().
| static unsigned long ScaleQuantumToMap | ( | const Quantum | quantum | ) | [inline, static] |
Definition at line 355 of file quantum-private.h.
Referenced by ColorDecisionListImage(), ContrastStretchImageChannel(), EqualizeImageChannel(), GammaImageChannel(), LinearStretchImage(), RGBTransformImage(), SetGrayscaleImage(), SigmoidalContrastImageChannel(), and TransformRGBImage().
| static unsigned short ScaleQuantumToShort | ( | const Quantum | quantum | ) | [inline, static] |
Definition at line 368 of file quantum-private.h.
Referenced by ConcatenateColorComponent(), ConcatentateHexColorComponent(), ExportImagePixels(), ExportQuantumPixels(), InsertMedianPixelList(), ProfileImage(), StreamImagePixels(), XGetPixelPacket(), and XMakeStandardColormap().
| static Quantum ScaleShortToQuantum | ( | const unsigned short | value | ) | [inline, static] |
Definition at line 381 of file quantum-private.h.
Referenced by GetMedianPixelList(), GetNonpeakMedianPixelList(), ImportImagePixels(), ImportQuantumPixels(), ProfileImage(), XAnnotateImage(), XDrawImage(), XGetWindowColor(), and XGetWindowImage().
1.6.1