|
ReactOS 0.4.16-dev-2617-g01a0906
|

Go to the source code of this file.
Macros | |
| #define | RINT(R) ((uint32_t)((R) > 0 ? ((R) + 0.5) : ((R)-0.5))) |
| #define | SHIFT 16 |
| #define | FIX(x) ((int32_t)((x) * (1L << SHIFT) + 0.5)) |
| #define | ONE_HALF ((int32_t)(1 << (SHIFT - 1))) |
| #define | Code2V(c, RB, RW, CR) |
| #define | CLAMP(f, min, max) ((!((f) >= (min))) ? (min) : (f) > (max) ? (max) : (f)) |
| #define | HICLAMP(f, max) ((f) > (max) ? (max) : (f)) |
| #define | LumaRed luma[0] |
| #define | LumaGreen luma[1] |
| #define | LumaBlue luma[2] |
Functions | |
| void | TIFFCIELabToXYZ (TIFFCIELabToRGB *cielab, uint32_t l, int32_t a, int32_t b, float *X, float *Y, float *Z) |
| void | TIFFCIELab16ToXYZ (TIFFCIELabToRGB *cielab, uint32_t l, int32_t a, int32_t b, float *X, float *Y, float *Z) |
| void | TIFFXYZToRGB (TIFFCIELabToRGB *cielab, float X, float Y, float Z, uint32_t *r, uint32_t *g, uint32_t *b) |
| int | TIFFCIELabToRGBInit (TIFFCIELabToRGB *cielab, const TIFFDisplay *display, float *refWhite) |
| void | TIFFYCbCrtoRGB (TIFFYCbCrToRGB *ycbcr, uint32_t Y, int32_t Cb, int32_t Cr, uint32_t *r, uint32_t *g, uint32_t *b) |
| static float | CLAMPw (float v, float vmin, float vmax) |
| int | TIFFYCbCrToRGBInit (TIFFYCbCrToRGB *ycbcr, float *luma, float *refBlackWhite) |
Definition at line 195 of file tif_color.c.
Definition at line 191 of file tif_color.c.
| #define LumaBlue luma[2] |
| #define LumaGreen luma[1] |
| #define LumaRed luma[0] |
Definition at line 190 of file tif_color.c.
Definition at line 85 of file tif_color.c.
| #define SHIFT 16 |
Definition at line 188 of file tif_color.c.
Definition at line 220 of file tif_color.c.
Referenced by TIFFYCbCrToRGBInit().
| void TIFFCIELab16ToXYZ | ( | TIFFCIELabToRGB * | cielab, |
| uint32_t | l, | ||
| int32_t | a, | ||
| int32_t | b, | ||
| float * | X, | ||
| float * | Y, | ||
| float * | Z | ||
| ) |
Definition at line 55 of file tif_color.c.
Referenced by DECLAREContigPutFunc(), and TIFFCIELabToXYZ().
| int TIFFCIELabToRGBInit | ( | TIFFCIELabToRGB * | cielab, |
| const TIFFDisplay * | display, | ||
| float * | refWhite | ||
| ) |
Definition at line 135 of file tif_color.c.
Referenced by initCIELabConversion().
| void TIFFCIELabToXYZ | ( | TIFFCIELabToRGB * | cielab, |
| uint32_t | l, | ||
| int32_t | a, | ||
| int32_t | b, | ||
| float * | X, | ||
| float * | Y, | ||
| float * | Z | ||
| ) |
Definition at line 43 of file tif_color.c.
Referenced by DECLAREContigPutFunc().
| void TIFFXYZToRGB | ( | TIFFCIELabToRGB * | cielab, |
| float | X, | ||
| float | Y, | ||
| float | Z, | ||
| uint32_t * | r, | ||
| uint32_t * | g, | ||
| uint32_t * | b | ||
| ) |
Definition at line 89 of file tif_color.c.
Referenced by DECLAREContigPutFunc().
| void TIFFYCbCrtoRGB | ( | TIFFYCbCrToRGB * | ycbcr, |
| uint32_t | Y, | ||
| int32_t | Cb, | ||
| int32_t | Cr, | ||
| uint32_t * | r, | ||
| uint32_t * | g, | ||
| uint32_t * | b | ||
| ) |
Definition at line 199 of file tif_color.c.
Referenced by DECLARESepPutFunc().
| int TIFFYCbCrToRGBInit | ( | TIFFYCbCrToRGB * | ycbcr, |
| float * | luma, | ||
| float * | refBlackWhite | ||
| ) |
Definition at line 251 of file tif_color.c.
Referenced by initYCbCrConversion().