44 return first * second;
55 return first * second;
61 if(
first <= 0 || second <= 0 )
66 "Invalid argument to _TIFFMultiplySSize() in %s", where);
76 "Integer overflow in %s", where);
80 return first * second;
112 "Failed to allocate memory for %s "
113 "(%ld elements of %ld bytes each)",
114 what,(
long) nmemb, (
long) elem_size);
132 tf[0] =
tf[1] =
tf[2] = 0;
142 for (
i = 1;
i <
n;
i++) {
166 tf[0] =
tf[1] =
tf[2] = 0;
191 for (
i = 0;
i < 3;
i++) {
255 "Cannot get \"Predictor\" tag as plugin is not configured");
296 static float ycbcrcoeffs[] = { 0.299f, 0.587f, 0.114f };
297 *
va_arg(
ap,
float **) = ycbcrcoeffs;
309 static float whitepoint[2];
371 if (
i.part.high >= 0) {
372 return (
float)
i.value;
376 df += 18446744073709551616.0;
387 if (
i.part.high >= 0) {
388 return (
double)
i.value;
392 df += 18446744073709551616.0;
double pow(double x, double y)
GLuint GLuint GLsizei count
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ _CRTIMP double __cdecl floor(_In_ double x)
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static double
static float(__cdecl *square_half_float)(float x
uint16 td_samplesperpixel
uint16 * td_transferfunction[3]
uint16 td_ycbcrpositioning
uint16 td_ycbcrsubsampling[2]
int _TIFFSeekOK(TIFF *tif, toff_t off)
static int TIFFDefaultTransferFunction(TIFFDirectory *td)
uint64 _TIFFMultiply64(TIFF *tif, uint64 first, uint64 second, const char *where)
int TIFFGetFieldDefaulted(TIFF *tif, uint32 tag,...)
float _TIFFUInt64ToFloat(uint64 ui64)
double _TIFFUInt64ToDouble(uint64 ui64)
int TIFFVGetFieldDefaulted(TIFF *tif, uint32 tag, va_list ap)
void * _TIFFCheckRealloc(TIFF *tif, void *buffer, tmsize_t nmemb, tmsize_t elem_size, const char *what)
void * _TIFFCheckMalloc(TIFF *tif, tmsize_t nmemb, tmsize_t elem_size, const char *what)
float _TIFFClampDoubleToFloat(double val)
uint32 _TIFFMultiply32(TIFF *tif, uint32 first, uint32 second, const char *where)
static int TIFFDefaultRefBlackWhite(TIFFDirectory *td)
tmsize_t _TIFFCastUInt64ToSSize(TIFF *tif, uint64 val, const char *module)
tmsize_t _TIFFMultiplySSize(TIFF *tif, tmsize_t first, tmsize_t second, const char *where)
int TIFFVGetField(TIFF *tif, uint32 tag, va_list ap)
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
void * _TIFFmalloc(tmsize_t s)
void _TIFFmemcpy(void *d, const void *s, tmsize_t c)
void * _TIFFrealloc(void *p, tmsize_t s)
#define TIFFTAG_BITSPERSAMPLE
#define TIFFTAG_RESOLUTIONUNIT
#define TIFFTAG_WHITEPOINT
#define EXTRASAMPLE_ASSOCALPHA
#define TIFFTAG_FILLORDER
#define TIFFTAG_SAMPLESPERPIXEL
#define TIFFTAG_IMAGEDEPTH
#define TIFFTAG_MAXSAMPLEVALUE
#define TIFFTAG_TILEDEPTH
#define TIFFTAG_EXTRASAMPLES
#define TIFFTAG_YCBCRCOEFFICIENTS
#define TIFFTAG_ORIENTATION
#define TIFFTAG_MINSAMPLEVALUE
#define TIFFTAG_NUMBEROFINKS
#define PHOTOMETRIC_YCBCR
#define TIFFTAG_TRANSFERFUNCTION
#define TIFFTAG_YCBCRSUBSAMPLING
#define TIFFTAG_ROWSPERSTRIP
#define TIFFTAG_SAMPLEFORMAT
#define TIFFTAG_REFERENCEBLACKWHITE
#define TIFFTAG_PLANARCONFIG
#define TIFFTAG_SUBFILETYPE
#define TIFFTAG_PREDICTOR
#define TIFFTAG_YCBCRPOSITIONING
#define TIFFTAG_THRESHHOLDING
#define TIFF_TMSIZE_T_MAX
#define TIFFSeekFile(tif, off, whence)
void int int ULONGLONG int va_list * ap