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 | FLIP_VERTICALLY 0x01 |
#define | FLIP_HORIZONTALLY 0x02 |
#define | REPEAT8(op) REPEAT4(op); REPEAT4(op) |
#define | REPEAT4(op) REPEAT2(op); REPEAT2(op) |
#define | REPEAT2(op) op; op |
#define | CASE8(x, op) |
#define | CASE4(x, op) switch (x) { case 3: op; case 2: op; case 1: op; } |
#define | NOP |
#define | UNROLL8(w, op1, op2) |
#define | UNROLL4(w, op1, op2) |
#define | UNROLL2(w, op1, op2) |
#define | SKEW(r, g, b, skew) { r += skew; g += skew; b += skew; } |
#define | SKEW4(r, g, b, a, skew) { r += skew; g += skew; b += skew; a+= skew; } |
#define | A1 (((uint32)0xffL)<<24) |
#define | PACK(r, g, b) ((uint32)(r)|((uint32)(g)<<8)|((uint32)(b)<<16)|A1) |
#define | PACK4(r, g, b, a) ((uint32)(r)|((uint32)(g)<<8)|((uint32)(b)<<16)|((uint32)(a)<<24)) |
#define | W2B(v) (((v)>>8)&0xff) |
#define | PACKW(r, g, b) ((uint32)W2B(r)|((uint32)W2B(g)<<8)|((uint32)W2B(b)<<16)|A1) |
#define | PACKW4(r, g, b, a) ((uint32)W2B(r)|((uint32)W2B(g)<<8)|((uint32)W2B(b)<<16)|((uint32)W2B(a)<<24)) |
#define | DECLAREContigPutFunc(name) |
#define | DECLARESepPutFunc(name) |
#define | YCbCrtoRGB(dst, Y) |
#define | GREY(x) c = Map[x]; *p++ = PACK(c,c,c); |
#define | CVT(x) ((uint16)((x)>>8)) |
#define | CMAP(x) c = (TIFFRGBValue) x; *p++ = PACK(r[c]&0xff, g[c]&0xff, b[c]&0xff); |
Functions | |
int | TIFFRGBAImageOK (TIFF *tif, char emsg[1024]) |
void | TIFFRGBAImageEnd (TIFFRGBAImage *img) |
int | TIFFRGBAImageBegin (TIFFRGBAImage *img, TIFF *tif, int stop, char emsg[1024]) |
int | TIFFRGBAImageGet (TIFFRGBAImage *img, uint32 *raster, uint32 w, uint32 h) |
int | TIFFReadRGBAImageOriented (TIFF *tif, uint32 rwidth, uint32 rheight, uint32 *raster, int orientation, int stop) |
int | TIFFReadRGBAImage (TIFF *tif, uint32 rwidth, uint32 rheight, uint32 *raster, int stop) |
DECLAREContigPutFunc (put8bitcmaptile) | |
DECLAREContigPutFunc (put4bitcmaptile) | |
DECLAREContigPutFunc (put2bitcmaptile) | |
DECLAREContigPutFunc (put1bitcmaptile) | |
DECLAREContigPutFunc (putgreytile) | |
DECLAREContigPutFunc (put16bitbwtile) | |
DECLAREContigPutFunc (put1bitbwtile) | |
DECLAREContigPutFunc (put2bitbwtile) | |
DECLAREContigPutFunc (put4bitbwtile) | |
DECLAREContigPutFunc (putRGBcontig8bittile) | |
DECLAREContigPutFunc (putRGBcontig8bitMaptile) | |
DECLAREContigPutFunc (putRGBAAcontig8bittile) | |
DECLAREContigPutFunc (putRGBUAcontig8bittile) | |
DECLAREContigPutFunc (putRGBcontig16bittile) | |
DECLAREContigPutFunc (putRGBAAcontig16bittile) | |
DECLAREContigPutFunc (putRGBUAcontig16bittile) | |
DECLAREContigPutFunc (putRGBcontig8bitCMYKtile) | |
DECLAREContigPutFunc (putRGBcontig8bitCMYKMaptile) | |
DECLARESepPutFunc (putRGBseparate8bittile) | |
DECLARESepPutFunc (putRGBseparate8bitMaptile) | |
DECLARESepPutFunc (putRGBAAseparate8bittile) | |
DECLARESepPutFunc (putRGBUAseparate8bittile) | |
DECLARESepPutFunc (putRGBseparate16bittile) | |
DECLARESepPutFunc (putRGBAAseparate16bittile) | |
DECLARESepPutFunc (putRGBUAseparate16bittile) | |
DECLAREContigPutFunc (putcontig8bitCIELab) | |
DECLAREContigPutFunc (putcontig8bitYCbCr44tile) | |
DECLAREContigPutFunc (putcontig8bitYCbCr42tile) | |
DECLAREContigPutFunc (putcontig8bitYCbCr41tile) | |
DECLAREContigPutFunc (putcontig8bitYCbCr22tile) | |
DECLAREContigPutFunc (putcontig8bitYCbCr21tile) | |
DECLAREContigPutFunc (putcontig8bitYCbCr11tile) | |
int | TIFFReadRGBAStrip (TIFF *tif, uint32 row, uint32 *raster) |
int | TIFFReadRGBATile (TIFF *tif, uint32 col, uint32 row, uint32 *raster) |
Variables | |
TIFFDisplay | display_sRGB |
#define A1 (((uint32)0xffL)<<24) |
Definition at line 1019 of file tif_getimage.c.
Referenced by vl::Camera::computeRayFrustum(), and triangle_stripper::detail::make_connectivity_graph().
Definition at line 979 of file tif_getimage.c.
#define CASE8 | ( | x, | |
op | |||
) |
Definition at line 973 of file tif_getimage.c.
#define DECLAREContigPutFunc | ( | name | ) |
Definition at line 1030 of file tif_getimage.c.
#define DECLARESepPutFunc | ( | name | ) |
Definition at line 1416 of file tif_getimage.c.
#define FLIP_HORIZONTALLY 0x02 |
Definition at line 48 of file tif_getimage.c.
#define FLIP_VERTICALLY 0x01 |
Definition at line 47 of file tif_getimage.c.
#define NOP |
Definition at line 980 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc(), and DECLARESepPutFunc().
Definition at line 1020 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc(), and DECLARESepPutFunc().
Definition at line 1022 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc(), and DECLARESepPutFunc().
Definition at line 1025 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc(), and DECLARESepPutFunc().
#define PACKW4 | ( | r, | |
g, | |||
b, | |||
a | |||
) | ((uint32)W2B(r)|((uint32)W2B(g)<<8)|((uint32)W2B(b)<<16)|((uint32)W2B(a)<<24)) |
Definition at line 1027 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc(), and DECLARESepPutFunc().
#define REPEAT2 | ( | op | ) | op; op |
Definition at line 972 of file tif_getimage.c.
Definition at line 971 of file tif_getimage.c.
Definition at line 970 of file tif_getimage.c.
Definition at line 1016 of file tif_getimage.c.
Referenced by DECLARESepPutFunc().
Definition at line 1017 of file tif_getimage.c.
Referenced by DECLARESepPutFunc().
#define UNROLL2 | ( | w, | |
op1, | |||
op2 | |||
) |
Definition at line 1004 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc().
#define UNROLL4 | ( | w, | |
op1, | |||
op2 | |||
) |
Definition at line 993 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc().
#define UNROLL8 | ( | w, | |
op1, | |||
op2 | |||
) |
Definition at line 982 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc(), and DECLARESepPutFunc().
Definition at line 1024 of file tif_getimage.c.
#define YCbCrtoRGB | ( | dst, | |
Y | |||
) |
Definition at line 1587 of file tif_getimage.c.
Referenced by DECLAREContigPutFunc().
DECLAREContigPutFunc | ( | put8bitcmaptile | ) |
Definition at line 1043 of file tif_getimage.c.
References _TIFFRGBAImage::PALmap, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | put4bitcmaptile | ) |
Definition at line 1063 of file tif_getimage.c.
References _TIFFRGBAImage::PALmap, UNROLL2, and void().
DECLAREContigPutFunc | ( | put2bitcmaptile | ) |
Definition at line 1080 of file tif_getimage.c.
References _TIFFRGBAImage::PALmap, UNROLL4, and void().
DECLAREContigPutFunc | ( | put1bitcmaptile | ) |
Definition at line 1097 of file tif_getimage.c.
References _TIFFRGBAImage::PALmap, UNROLL8, and void().
DECLAREContigPutFunc | ( | putgreytile | ) |
Definition at line 1114 of file tif_getimage.c.
References _TIFFRGBAImage::BWmap, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | put16bitbwtile | ) |
Definition at line 1134 of file tif_getimage.c.
References _TIFFRGBAImage::BWmap, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | put1bitbwtile | ) |
Definition at line 1159 of file tif_getimage.c.
References _TIFFRGBAImage::BWmap, UNROLL8, and void().
DECLAREContigPutFunc | ( | put2bitbwtile | ) |
Definition at line 1176 of file tif_getimage.c.
References _TIFFRGBAImage::BWmap, UNROLL4, and void().
DECLAREContigPutFunc | ( | put4bitbwtile | ) |
Definition at line 1193 of file tif_getimage.c.
References _TIFFRGBAImage::BWmap, UNROLL2, and void().
DECLAREContigPutFunc | ( | putRGBcontig8bittile | ) |
Definition at line 1210 of file tif_getimage.c.
References NOP, PACK, _TIFFRGBAImage::samplesperpixel, UNROLL8, and void().
DECLAREContigPutFunc | ( | putRGBcontig8bitMaptile | ) |
Definition at line 1228 of file tif_getimage.c.
References _TIFFRGBAImage::Map, PACK, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | putRGBAAcontig8bittile | ) |
Definition at line 1249 of file tif_getimage.c.
References NOP, PACK4, _TIFFRGBAImage::samplesperpixel, UNROLL8, and void().
DECLAREContigPutFunc | ( | putRGBUAcontig8bittile | ) |
Definition at line 1268 of file tif_getimage.c.
References PACK4, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | putRGBcontig16bittile | ) |
Definition at line 1292 of file tif_getimage.c.
References PACKW, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | putRGBAAcontig16bittile | ) |
Definition at line 1313 of file tif_getimage.c.
References PACKW4, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | putRGBUAcontig16bittile | ) |
Definition at line 1334 of file tif_getimage.c.
References PACK4, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | putRGBcontig8bitCMYKtile | ) |
Definition at line 1369 of file tif_getimage.c.
References NOP, PACK, _TIFFRGBAImage::samplesperpixel, UNROLL8, and void().
DECLAREContigPutFunc | ( | putRGBcontig8bitCMYKMaptile | ) |
Definition at line 1394 of file tif_getimage.c.
References _TIFFRGBAImage::Map, PACK, _TIFFRGBAImage::samplesperpixel, and void().
DECLAREContigPutFunc | ( | putcontig8bitCIELab | ) |
Definition at line 1561 of file tif_getimage.c.
References _TIFFRGBAImage::cielab, PACK, TIFFCIELabToXYZ(), TIFFXYZToRGB(), and void().
DECLAREContigPutFunc | ( | putcontig8bitYCbCr44tile | ) |
Definition at line 1672 of file tif_getimage.c.
References void(), and YCbCrtoRGB.
DECLAREContigPutFunc | ( | putcontig8bitYCbCr42tile | ) |
Definition at line 1769 of file tif_getimage.c.
References void(), and YCbCrtoRGB.
DECLAREContigPutFunc | ( | putcontig8bitYCbCr41tile | ) |
Definition at line 1847 of file tif_getimage.c.
References void(), and YCbCrtoRGB.
DECLAREContigPutFunc | ( | putcontig8bitYCbCr22tile | ) |
Definition at line 1891 of file tif_getimage.c.
References void(), and YCbCrtoRGB.
DECLAREContigPutFunc | ( | putcontig8bitYCbCr21tile | ) |
Definition at line 1955 of file tif_getimage.c.
References void(), and YCbCrtoRGB.
DECLAREContigPutFunc | ( | putcontig8bitYCbCr11tile | ) |
Definition at line 1991 of file tif_getimage.c.
References void(), and YCbCrtoRGB.
DECLARESepPutFunc | ( | putRGBseparate8bittile | ) |
DECLARESepPutFunc | ( | putRGBseparate8bitMaptile | ) |
Definition at line 1442 of file tif_getimage.c.
References _TIFFRGBAImage::Map, PACK, SKEW, and void().
DECLARESepPutFunc | ( | putRGBAAseparate8bittile | ) |
DECLARESepPutFunc | ( | putRGBUAseparate8bittile | ) |
Definition at line 1471 of file tif_getimage.c.
DECLARESepPutFunc | ( | putRGBseparate16bittile | ) |
Definition at line 1491 of file tif_getimage.c.
DECLARESepPutFunc | ( | putRGBAAseparate16bittile | ) |
Definition at line 1509 of file tif_getimage.c.
DECLARESepPutFunc | ( | putRGBUAseparate16bittile | ) |
Definition at line 1528 of file tif_getimage.c.
Definition at line 487 of file tif_getimage.c.
References ORIENTATION_BOTLEFT, and TIFFReadRGBAImageOriented().
Referenced by vl::loadTIFF().
int TIFFReadRGBAImageOriented | ( | TIFF * | tif, |
uint32 | rwidth, | ||
uint32 | rheight, | ||
uint32 * | raster, | ||
int | orientation, | ||
int | stop | ||
) |
Definition at line 461 of file tif_getimage.c.
References _TIFFRGBAImage::height, _TIFFRGBAImage::req_orientation, tiff::tif_clientdata, TIFFErrorExt(), TIFFFileName(), TIFFRGBAImageBegin(), TIFFRGBAImageEnd(), TIFFRGBAImageGet(), and TIFFRGBAImageOK().
Referenced by TIFFReadRGBAImage().
Definition at line 2450 of file tif_getimage.c.
References _TIFFRGBAImage::col_offset, _TIFFRGBAImage::height, _TIFFRGBAImage::row_offset, tiff::tif_clientdata, TIFFErrorExt(), TIFFFileName(), TIFFGetFieldDefaulted(), TIFFIsTiled(), TIFFRGBAImageBegin(), TIFFRGBAImageEnd(), TIFFRGBAImageGet(), TIFFRGBAImageOK(), TIFFTAG_ROWSPERSTRIP, and _TIFFRGBAImage::width.
Definition at line 2501 of file tif_getimage.c.
References _TIFFmemset(), _TIFFRGBAImage::col_offset, _TIFFRGBAImage::height, _TIFFRGBAImage::row_offset, tiff::tif_clientdata, TIFFErrorExt(), TIFFFileName(), TIFFGetFieldDefaulted(), TIFFIsTiled(), TIFFRGBAImageBegin(), TIFFRGBAImageEnd(), TIFFRGBAImageGet(), TIFFRGBAImageOK(), TIFFTAG_TILELENGTH, TIFFTAG_TILEWIDTH, and _TIFFRGBAImage::width.
int TIFFRGBAImageBegin | ( | TIFFRGBAImage * | img, |
TIFF * | tif, | ||
int | stop, | ||
char | emsg[1024] | ||
) |
Definition at line 222 of file tif_getimage.c.
References _TIFFRGBAImage::alpha, _TIFFRGBAImage::bitspersample, _TIFFRGBAImage::bluecmap, _TIFFRGBAImage::col_offset, compress(), EXTRASAMPLE_ASSOCALPHA, EXTRASAMPLE_UNASSALPHA, EXTRASAMPLE_UNSPECIFIED, _TIFFRGBAImage::greencmap, NULL, ORIENTATION_BOTLEFT, _TIFFRGBAImage::photometric, PHOTOMETRIC_MINISWHITE, PHOTOMETRIC_RGB, _TIFFRGBAImage::redcmap, _TIFFRGBAImage::req_orientation, _TIFFRGBAImage::row_offset, _TIFFRGBAImage::samplesperpixel, _TIFFRGBAImage::stoponerr, _TIFFRGBAImage::tif, TIFFGetField(), TIFFGetFieldDefaulted(), TIFFTAG_BITSPERSAMPLE, TIFFTAG_COMPRESSION, TIFFTAG_EXTRASAMPLES, TIFFTAG_PHOTOMETRIC, TIFFTAG_PLANARCONFIG, and TIFFTAG_SAMPLESPERPIXEL.
Referenced by TIFFReadRGBAImageOriented(), TIFFReadRGBAStrip(), and TIFFReadRGBATile().
void TIFFRGBAImageEnd | ( | TIFFRGBAImage * | img | ) |
Definition at line 190 of file tif_getimage.c.
References _TIFFfree(), _TIFFRGBAImage::bluecmap, _TIFFRGBAImage::BWmap, _TIFFRGBAImage::cielab, _TIFFRGBAImage::greencmap, _TIFFRGBAImage::Map, NULL, _TIFFRGBAImage::PALmap, _TIFFRGBAImage::redcmap, and _TIFFRGBAImage::ycbcr.
Referenced by TIFFReadRGBAImageOriented(), TIFFReadRGBAStrip(), and TIFFReadRGBATile().
int TIFFRGBAImageGet | ( | TIFFRGBAImage * | img, |
uint32 * | raster, | ||
uint32 | w, | ||
uint32 | h | ||
) |
Definition at line 442 of file tif_getimage.c.
References _TIFFRGBAImage::any, _TIFFRGBAImage::get, NULL, _TIFFRGBAImage::put, _TIFFRGBAImage::tif, tiff::tif_clientdata, TIFFErrorExt(), and TIFFFileName().
Referenced by TIFFReadRGBAImageOriented(), TIFFReadRGBAStrip(), and TIFFReadRGBATile().
Definition at line 73 of file tif_getimage.c.
References PHOTOMETRIC_MINISBLACK, PHOTOMETRIC_RGB, TIFFDirectory::td_bitspersample, TIFFDirectory::td_extrasamples, TIFFDirectory::td_samplesperpixel, tiff::tif_decodestatus, tiff::tif_dir, TIFFGetField(), and TIFFTAG_PHOTOMETRIC.
Referenced by TIFFReadRGBAImageOriented(), TIFFReadRGBAStrip(), and TIFFReadRGBATile().
TIFFDisplay display_sRGB |
Definition at line 54 of file tif_getimage.c.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:57.
© Copyright Michele Bosi. All rights reserved.