Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | DecoderState(tif) ((LogLuvState*) (tif)->tif_data) |
#define | EncoderState(tif) ((LogLuvState*) (tif)->tif_data) |
#define | SGILOGDATAFMT_UNKNOWN -1 |
#define | MINRUN 4 /* minimum run length */ |
#define | M_LN2 0.69314718055994530942 |
#define | M_PI 3.14159265358979323846 |
#define | log2(x) ((1./M_LN2)*log(x)) |
#define | exp2(x) exp(M_LN2*(x)) |
#define | itrunc(x, m) |
#define | NANGLES 100 |
#define | uv2ang(u, v) |
#define | PACK(s, b, f) (((b)<<6)|((s)<<3)|(f)) |
#define | PACK(a, b) (((a)<<3)|(b)) |
Typedefs | |
typedef struct logLuvState | LogLuvState |
Functions | |
double | LogL16toY (int p16) |
int | LogL16fromY (double Y, int em) |
void | XYZtoRGB24 (float xyz[3], uint8 rgb[3]) |
double | LogL10toY (int p10) |
int | LogL10fromY (double Y, int em) |
int | uv_encode (double u, double v, int em) |
int | uv_decode (double *up, double *vp, int c) |
void | LogLuv24toXYZ (uint32 p, float XYZ[3]) |
uint32 | LogLuv24fromXYZ (float XYZ[3], int em) |
void | LogLuv32toXYZ (uint32 p, float XYZ[3]) |
uint32 | LogLuv32fromXYZ (float XYZ[3], int em) |
int | TIFFInitSGILog (TIFF *tif, int scheme) |
#define DecoderState | ( | tif | ) | ((LogLuvState*) (tif)->tif_data) |
#define EncoderState | ( | tif | ) | ((LogLuvState*) (tif)->tif_data) |
Definition at line 642 of file tif_luv.c.
Referenced by LogL10fromY(), LogL16fromY(), and LogLuv32fromXYZ().
Definition at line 639 of file tif_luv.c.
Referenced by LogL10fromY(), and LogL16fromY().
#define M_LN2 0.69314718055994530942 |
Definition at line 634 of file tif_luv.c.
Referenced by LogL10toY(), and LogL16toY().
#define SGILOGDATAFMT_UNKNOWN -1 |
Definition at line 176 of file tif_luv.c.
Referenced by TIFFInitSGILog().
#define uv2ang | ( | u, | |
v | |||
) |
typedef struct logLuvState LogLuvState |
Definition at line 743 of file tif_luv.c.
Referenced by LogLuv24fromXYZ().
double LogL10toY | ( | int | p10 | ) |
Definition at line 732 of file tif_luv.c.
References vl::exp(), and M_LN2.
Referenced by LogLuv24toXYZ().
Definition at line 665 of file tif_luv.c.
Referenced by LogLuv32fromXYZ().
double LogL16toY | ( | int | p16 | ) |
Definition at line 650 of file tif_luv.c.
References vl::exp(), and M_LN2.
Referenced by LogLuv32toXYZ().
Definition at line 896 of file tif_luv.c.
References LogL10fromY(), SGILOGENCODE_NODITHER, U_NEU, uv_encode(), and V_NEU.
Definition at line 868 of file tif_luv.c.
References LogL10toY(), U_NEU, uv_decode(), and V_NEU.
Definition at line 1009 of file tif_luv.c.
References LogL16toY(), and UVSCALE.
Definition at line 1556 of file tif_luv.c.
References _TIFFmalloc(), _TIFFmemset(), COMPRESSION_SGILOG, COMPRESSION_SGILOG24, NULL, SGILOGDATAFMT_UNKNOWN, SGILOGENCODE_NODITHER, SGILOGENCODE_RANDITHER, and tiff::tif_data.
Definition at line 836 of file tif_luv.c.
References UV_NDIVS, and UV_NVS.
Referenced by LogLuv24toXYZ().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:57.
© Copyright Michele Bosi. All rights reserved.