44 return first * second;
56 return first * second;
62 if (
first <= 0 || second <= 0)
67 "Invalid argument to _TIFFMultiplySSize() in %s",
81 return first * second;
98 tmsize_t elem_size,
const char *what)
113 "Failed to allocate memory for %s "
116 what, nmemb, elem_size);
133 tf[0] =
tf[1] =
tf[2] = 0;
146 for (
i = 1;
i <
n;
i++)
172 tf[0] =
tf[1] =
tf[2] = 0;
199 for (
i = 0;
i < 3;
i++)
266 maxsamplevalue = 65535;
289 "Cannot get \"Predictor\" tag as plugin is not configured");
330 static const float ycbcrcoeffs[] = {0.299f, 0.587f, 0.114f};
331 *
va_arg(
ap,
const float **) = ycbcrcoeffs;
346 static const float whitepoint[] = {
349 *
va_arg(
ap,
const float **) = whitepoint;
357 "No space for \"TransferFunction\" tag");
_ACRTIMP double __cdecl floor(double)
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
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_t td_threshholding
uint16_t td_minsamplevalue
uint16_t td_bitspersample
uint16_t * td_transferfunction[3]
uint16_t td_resolutionunit
uint16_t td_ycbcrsubsampling[2]
uint16_t td_samplesperpixel
uint16_t td_ycbcrpositioning
int TIFFVGetFieldDefaulted(TIFF *tif, uint32_t tag, va_list ap)
uint32_t _TIFFClampDoubleToUInt32(double val)
int _TIFFSeekOK(TIFF *tif, toff_t off)
int TIFFGetFieldDefaulted(TIFF *tif, uint32_t tag,...)
uint32_t _TIFFMultiply32(TIFF *tif, uint32_t first, uint32_t second, const char *where)
void * _TIFFCheckRealloc(TIFF *tif, void *buffer, tmsize_t nmemb, tmsize_t elem_size, const char *what)
static int TIFFDefaultTransferFunction(TIFF *tif, TIFFDirectory *td)
void * _TIFFCheckMalloc(TIFF *tif, tmsize_t nmemb, tmsize_t elem_size, const char *what)
tmsize_t _TIFFCastUInt64ToSSize(TIFF *tif, uint64_t val, const char *module)
float _TIFFClampDoubleToFloat(double val)
uint64_t _TIFFMultiply64(TIFF *tif, uint64_t first, uint64_t second, const char *where)
static int TIFFDefaultRefBlackWhite(TIFF *tif, TIFFDirectory *td)
tmsize_t _TIFFMultiplySSize(TIFF *tif, tmsize_t first, tmsize_t second, const char *where)
#define TIFF_SSIZE_FORMAT
int TIFFVGetField(TIFF *tif, uint32_t tag, va_list ap)
void TIFFErrorExtR(TIFF *tif, const char *module, const char *fmt,...)
void _TIFFfreeExt(TIFF *tif, void *p)
void * _TIFFreallocExt(TIFF *tif, void *p, tmsize_t s)
void * _TIFFmallocExt(TIFF *tif, tmsize_t s)
void _TIFFmemcpy(void *d, const void *s, tmsize_t c)
#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