Référence du fichier F:/KPlato/koffice/libs/pigment/KoIntegerMaths.h

Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :

Aller au code source de ce fichier.

Macros

#define UINT8_MAX   255u
#define UINT8_MIN   0u
#define UINT16_MAX   65535u
#define UINT16_MIN   0u
#define UINT32_MAX   (4294967295u)
#define UINT32_MIN   0u
#define INT16_MAX   32767
#define INT16_MIN   -32768
#define CLAMP(x, l, u)   ((x)<(l)?(l):((x)>(u)?(u):(x)))

Fonctions

uint UINT8_SCALEBY (uint a, uint b)
 take a and scale it up by 256*b/255
uint UINT8_MULT (uint a, uint b)
uint UINT8_DIVIDE (uint a, uint b)
uint UINT8_BLEND (uint a, uint b, uint alpha)
uint UINT16_MULT (uint a, uint b)
int INT16_MULT (int a, int b)
uint UINT16_DIVIDE (uint a, uint b)
uint UINT16_BLEND (uint a, uint b, uint alpha)
uint UINT8_TO_UINT16 (uint c)
uint UINT16_TO_UINT8 (uint c)
int INT16_BLEND (int a, int b, uint alpha)


Documentation des macros

#define CLAMP ( x,
l,
 )     ((x)<(l)?(l):((x)>(u)?(u):(x)))

Définition à la ligne 35 du fichier KoIntegerMaths.h.

Référencé par KoColorSpaceAbstract< AlphaU8Traits >::convolveColors(), KoAlphaColorSpace::convolveColors(), FLOAT_TO_UINT16(), FLOAT_TO_UINT8(), HALF_TO_UINT16(), et HALF_TO_UINT8().

#define INT16_MAX   32767

Définition à la ligne 32 du fichier KoIntegerMaths.h.

Référencé par INT16_MULT().

#define INT16_MIN   -32768

Définition à la ligne 33 du fichier KoIntegerMaths.h.

#define UINT16_MAX   65535u

Définition à la ligne 26 du fichier KoIntegerMaths.h.

Référencé par KoBasicU16HistogramProducer::addRegionToBin(), FLOAT_TO_UINT16(), HALF_TO_UINT16(), KoLabColorSpace::normalisedChannelValueText(), KoGenericLabHistogramProducer::positionToString(), et UINT16_DIVIDE().

#define UINT16_MIN   0u

Définition à la ligne 27 du fichier KoIntegerMaths.h.

Référencé par FLOAT_TO_UINT16(), et HALF_TO_UINT16().

#define UINT32_MAX   (4294967295u)

Définition à la ligne 29 du fichier KoIntegerMaths.h.

#define UINT32_MIN   0u

Définition à la ligne 30 du fichier KoIntegerMaths.h.

#define UINT8_MAX   255u

Définition à la ligne 23 du fichier KoIntegerMaths.h.

Référencé par FLOAT_TO_UINT8(), HALF_TO_UINT8(), KoAlphaColorSpace::normalisedChannelValueText(), KoGenericRGBHistogramProducer::positionToString(), KoBasicU16HistogramProducer::positionToString(), KoBasicU8HistogramProducer::positionToString(), UINT8_DIVIDE(), UINT8_TO_FLOAT(), et UINT8_TO_HALF().

#define UINT8_MIN   0u

Définition à la ligne 24 du fichier KoIntegerMaths.h.

Référencé par FLOAT_TO_UINT8(), et HALF_TO_UINT8().


Documentation des fonctions

int INT16_BLEND ( int  a,
int  b,
uint  alpha 
) [inline]

Définition à la ligne 106 du fichier KoIntegerMaths.h.

Références Py::int.

int INT16_MULT ( int  a,
int  b 
) [inline]

Définition à la ligne 73 du fichier KoIntegerMaths.h.

Références INT16_MAX.

uint UINT16_BLEND ( uint  a,
uint  b,
uint  alpha 
) [inline]

Définition à la ligne 84 du fichier KoIntegerMaths.h.

Références Py::int.

Référencé par KoCompositeOpErase< _CSTraits >::composite().

Voici le graphe d'appel pour cette fonction :

uint UINT16_DIVIDE ( uint  a,
uint  b 
) [inline]

Définition à la ligne 78 du fichier KoIntegerMaths.h.

Références UINT16_MAX.

uint UINT16_MULT ( uint  a,
uint  b 
) [inline]

Définition à la ligne 67 du fichier KoIntegerMaths.h.

uint UINT16_TO_UINT8 ( uint  c  )  [inline]

Définition à la ligne 98 du fichier KoIntegerMaths.h.

Référencé par KoColorSpaceMaths< _T, _Tdst >::scaleToA().

Voici le graphe d'appel pour cette fonction :

uint UINT8_BLEND ( uint  a,
uint  b,
uint  alpha 
) [inline]

Définition à la ligne 57 du fichier KoIntegerMaths.h.

Références Py::int.

uint UINT8_DIVIDE ( uint  a,
uint  b 
) [inline]

Définition à la ligne 51 du fichier KoIntegerMaths.h.

Références UINT8_MAX.

uint UINT8_MULT ( uint  a,
uint  b 
) [inline]

Définition à la ligne 45 du fichier KoIntegerMaths.h.

uint UINT8_SCALEBY ( uint  a,
uint  b 
) [inline]

take a and scale it up by 256*b/255

Définition à la ligne 39 du fichier KoIntegerMaths.h.

uint UINT8_TO_UINT16 ( uint  c  )  [inline]

Définition à la ligne 93 du fichier KoIntegerMaths.h.

Référencé par KoColorSpaceMaths< _T, _Tdst >::scaleToA().

Voici le graphe d'appel pour cette fonction :


Généré le Wed Nov 22 23:43:05 2006 pour KPlato par  doxygen 1.5.1-p1