MagickCore  7.0.3
quantum-private.h File Reference
Include dependency graph for quantum-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _QuantumState
 
struct  _QuantumInfo
 

Macros

#define ExponentBias   (127-15)
 
#define ExponentMask   0x7c00
 
#define ExponentShift   23
 
#define SignBitShift   31
 
#define SignificandShift   13
 
#define SignificandMask   0x00000400
 

Typedefs

typedef struct _QuantumState QuantumState
 

Functions

MagickPrivate void ResetQuantumState (QuantumInfo *)
 
static MagickSizeType GetQuantumRange (const size_t depth)
 
static float HalfToSinglePrecision (const unsigned short half)
 
static unsigned char * PopCharPixel (const unsigned char pixel, unsigned char *pixels)
 
static unsigned char * PopLongPixel (const EndianType endian, const unsigned int 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 int *pixel)
 
static const unsigned char * PushShortPixel (const EndianType endian, const unsigned char *pixels, unsigned short *pixel)
 
static const unsigned char * PushFloatPixel (const EndianType endian, const unsigned char *pixels, MagickFloatType *pixel)
 
static Quantum ScaleAnyToQuantum (const QuantumAny quantum, const QuantumAny range)
 
static QuantumAny ScaleQuantumToAny (const Quantum quantum, const QuantumAny range)
 
static unsigned short SinglePrecisionToHalf (const float value)
 

Macro Definition Documentation

#define ExponentBias   (127-15)
#define ExponentMask   0x7c00

Referenced by SinglePrecisionToHalf().

#define ExponentShift   23
#define SignBitShift   31

Referenced by HalfToSinglePrecision().

#define SignificandMask   0x00000400

Referenced by HalfToSinglePrecision().

#define SignificandShift   13

Typedef Documentation

typedef struct _QuantumState QuantumState

Function Documentation

static const unsigned char* PushFloatPixel ( const EndianType  endian,
const unsigned char *  pixels,
MagickFloatType pixel 
)
inlinestatic

Definition at line 281 of file quantum-private.h.

References LSBEndian.