#include <stdlib.h>
#include <unixio.h>
#include "tiffiop.h"
#include <math.h>
#include <sys/stat.h>
Go to the source code of this file.
|
| TIFF * | TIFFFdOpen (int fd, const char *name, const char *mode) |
| |
| TIFF * | TIFFOpen (const char *name, const char *mode) |
| |
| tdata_t | _TIFFmalloc (tsize_t s) |
| |
| void | _TIFFfree (tdata_t p) |
| |
| tdata_t | _TIFFrealloc (tdata_t p, tsize_t s) |
| |
| void | _TIFFmemset (tdata_t p, int v, tsize_t c) |
| |
| void | _TIFFmemcpy (tdata_t d, const tdata_t s, tsize_t c) |
| |
| int | _TIFFmemcmp (const tdata_t p1, const tdata_t p2, tsize_t c) |
| |
| void | TIFFCvtIEEEFloatToNative (TIFF *tif, u_int n, float *f) |
| |
| void | TIFFCvtNativeToIEEEFloat (TIFF *tif, u_int n, float *f) |
| |
| void | TIFFCvtIEEEDoubleToNative (TIFF *tif, u_int n, double *f) |
| |
| void | TIFFCvtNativeToIEEEDouble (TIFF *tif, u_int n, double *f) |
| |
| #define IEEEDOUBLE2NATIVE |
( |
|
dp | ) |
ieeetod(dp) |
| #define IEEEFLOAT2NATIVE |
( |
|
fp | ) |
|
Value:{ \
float_t t; int v = (fp)->ieee.exp; \
if (v) v += -127 + 129; \
t.native.exp = v; \
t.native.sign = (fp)->ieee.sign; \
v = (fp)->ieee.mant; \
t.native.mant1 = v >> 16; \
t.native.mant2 = v;\
*(fp) = t; \
}
Definition at line 525 of file tif_vms.c.
| #define NATIVE2IEEEDOUBLE |
( |
|
dp | ) |
dtoieee(dp) |
| #define NATIVE2IEEEFLOAT |
( |
|
fp | ) |
|
Value:{ \
float_t t; \
if (t.ieee.exp = (fp)->native.exp) \
t.ieee.exp += -129 + 127; \
t.ieee.sign = (fp)->native.sign; \
t.ieee.mant = ((fp)->native.mant1<<16)|(fp)->native.mant2; \
*(fp) = t; \
}
Definition at line 517 of file tif_vms.c.
| void TIFFCvtIEEEDoubleToNative |
( |
TIFF * |
tif, |
|
|
u_int |
n, |
|
|
double * |
f |
|
) |
| |
| void TIFFCvtIEEEFloatToNative |
( |
TIFF * |
tif, |
|
|
u_int |
n, |
|
|
float * |
f |
|
) |
| |
| void TIFFCvtNativeToIEEEDouble |
( |
TIFF * |
tif, |
|
|
u_int |
n, |
|
|
double * |
f |
|
) |
| |
| void TIFFCvtNativeToIEEEFloat |
( |
TIFF * |
tif, |
|
|
u_int |
n, |
|
|
float * |
f |
|
) |
| |