/reactos/dll/3rdparty/libtiff/ |
H A D | tif_strip.c | 44 if (sample >= td->td_samplesperpixel) { in TIFFComputeStrip() 47 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFComputeStrip() 67 nstrips = _TIFFMultiply32(tif, nstrips, (uint32)td->td_samplesperpixel, in TIFFNumberOfStrips() 100 if(td->td_samplesperpixel!=3) in TIFFVStripSize64() 265 (td->td_samplesperpixel==3)&& in TIFFScanlineSize64() 273 if(td->td_samplesperpixel!=3) in TIFFScanlineSize64() 298 scanline_samples=_TIFFMultiply64(tif,td->td_imagewidth,td->td_samplesperpixel,module); in TIFFScanlineSize64() 337 scanline = _TIFFMultiply64(tif, scanline, td->td_samplesperpixel, module); in TIFFRasterScanlineSize64() 341 td->td_samplesperpixel, module)); in TIFFRasterScanlineSize64()
|
H A D | tif_tile.c | 99 s >= td->td_samplesperpixel) { in TIFFCheckTile() 103 (unsigned long) (td->td_samplesperpixel - 1)); in TIFFCheckTile() 133 ntiles = _TIFFMultiply32(tif, ntiles, td->td_samplesperpixel, in TIFFNumberOfTiles() 163 if (td->td_samplesperpixel == 0) in TIFFTileRowSize64() 168 rowsize = _TIFFMultiply64(tif, rowsize, td->td_samplesperpixel, in TIFFTileRowSize64() 201 (td->td_samplesperpixel==3)&& in TIFFVTileSize64()
|
H A D | tif_dir.c | 102 if ((uint16) *v > td->td_samplesperpixel) in setExtraSamples() 148 uint16 i = td->td_samplesperpixel; in checkInkNamesString() 165 td->td_samplesperpixel, in checkInkNamesString() 166 td->td_samplesperpixel-i); in checkInkNamesString() 272 if( v != td->td_samplesperpixel ) in _TIFFVSetField() 306 td->td_samplesperpixel = (uint16) v; in _TIFFVSetField() 601 tv->count = td->td_samplesperpixel; in _TIFFVSetField() 912 val = td->td_samplesperpixel; in _TIFFVGetField() 968 for (i=1; i < td->td_samplesperpixel; ++i) in _TIFFVGetField() 982 for (i=1; i < td->td_samplesperpixel; ++i) in _TIFFVGetField() [all …]
|
H A D | tif_print.c | 392 i = td->td_samplesperpixel; in TIFFPrintDirectory() 470 fprintf(fd, " Samples/Pixel: %u\n", td->td_samplesperpixel); in TIFFPrintDirectory() 484 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory() 492 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory() 547 for (i = 1; i < td->td_samplesperpixel - td->td_extrasamples && i < 3; i++) in TIFFPrintDirectory() 607 value_count = td->td_samplesperpixel; in TIFFPrintDirectory()
|
H A D | tif_dirwrite.c | 1215 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint8)); 1221 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) 1267 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(int8)); 1273 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) 1316 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint16)); in TIFFWriteDirectoryTagShortPerSample() 1367 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(int16)); 1417 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint32)); 1469 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(int32)); 1599 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(float)); 1648 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(double)); [all …]
|
H A D | tif_write.c | 83 if (sample >= td->td_samplesperpixel) { in TIFFWriteScanline() 86 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFWriteScanline() 530 td->td_samplesperpixel : TIFFNumberOfTiles(tif); in TIFFSetupStrips() 534 td->td_samplesperpixel : TIFFNumberOfStrips(tif); in TIFFSetupStrips() 537 td->td_stripsperimage /= td->td_samplesperpixel; in TIFFSetupStrips() 595 if (tif->tif_dir.td_samplesperpixel == 1) { in TIFFWriteCheck()
|
H A D | tif_aux.c | 147 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFDefaultTransferFunction() 232 *va_arg(ap, uint16 *) = td->td_samplesperpixel; in TIFFVGetFieldDefaulted() 326 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFVGetFieldDefaulted()
|
H A D | tif_jpeg.c | 748 (tif->tif_dir.td_samplesperpixel==3) && in JPEGFixupTags() 885 if (n!=8+data->tif->tif_dir.td_samplesperpixel*3) in JPEGFixupTagsSubsamplingSec() 893 for (o=1; o<data->tif->tif_dir.td_samplesperpixel; o++) in JPEGFixupTagsSubsamplingSec() 1183 td->td_samplesperpixel : 1)) { in JPEGPreDecode() 1744 sp->cinfo.c.input_components = td->td_samplesperpixel; in JPEGSetupEncode() 1752 …OMETRIC_MINISWHITE || td->td_photometric == PHOTOMETRIC_MINISBLACK) && td->td_samplesperpixel == 1) in JPEGSetupEncode() 1754 else if (td->td_photometric == PHOTOMETRIC_RGB && td->td_samplesperpixel == 3) in JPEGSetupEncode() 1756 else if (td->td_photometric == PHOTOMETRIC_SEPARATED && td->td_samplesperpixel == 4) in JPEGSetupEncode() 1939 sp->cinfo.c.input_components = td->td_samplesperpixel; in JPEGPreEncode()
|
H A D | tif_getimage.c | 100 colorchannels = td->td_samplesperpixel - td->td_extrasamples; in TIFFRGBAImageOK() 119 && td->td_samplesperpixel != 1 in TIFFRGBAImageOK() 125 "Samples/pixel", td->td_samplesperpixel, in TIFFRGBAImageOK() 160 if (td->td_samplesperpixel < 4) { in TIFFRGBAImageOK() 163 "Samples/pixel", td->td_samplesperpixel); in TIFFRGBAImageOK() 187 if ( td->td_samplesperpixel != 3 || colorchannels != 3 ) { in TIFFRGBAImageOK() 190 "Samples/pixel", td->td_samplesperpixel, in TIFFRGBAImageOK() 196 … if ( td->td_samplesperpixel != 3 || colorchannels != 3 || td->td_bitspersample != 8 ) { in TIFFRGBAImageOK() 199 "Samples/pixel", td->td_samplesperpixel, in TIFFRGBAImageOK()
|
H A D | tif_luv.c | 1257 switch (PACK(td->td_samplesperpixel, td->td_bitspersample, td->td_sampleformat)) { in LogL16GuessDataFmt() 1288 if( td->td_samplesperpixel != 1 ) in LogL16InitState() 1292 "Samples/pixel", td->td_samplesperpixel); in LogL16InitState() 1364 switch (td->td_samplesperpixel) { in LogLuvGuessDataFmt() 1588 td->td_samplesperpixel = in LogLuvClose()
|
H A D | tif_webp.c | 205 sp->nSamples = tif->tif_dir.td_samplesperpixel; in TWebPSetupDecode() 316 sp->nSamples = tif->tif_dir.td_samplesperpixel; in TWebPSetupEncode()
|
H A D | tif_dirread.c | 2834 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirEntryPersampleShort() 2840 nb=tif->tif_dir.td_samplesperpixel; in TIFFReadDirEntryPersampleShort() 2863 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) 2869 nb=tif->tif_dir.td_samplesperpixel; 3812 tif->tif_dir.td_stripsperimage /= tif->tif_dir.td_samplesperpixel; in TIFFReadDirectory() 3884 if (dp->tdir_count != (uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirectory() 4118 … tif->tif_dir.td_extrasamples = (uint16) (tif->tif_dir.td_samplesperpixel - color_channels); in TIFFReadDirectory() 4139 if ( tif->tif_dir.td_bitspersample>=8 && tif->tif_dir.td_samplesperpixel==3) in TIFFReadDirectory() 4167 tif->tif_dir.td_nstrips != (uint32)tif->tif_dir.td_samplesperpixel)) { in TIFFReadDirectory() 4470 expected=(uint32)tif->tif_dir.td_samplesperpixel; in TIFFReadCustomDirectory() [all …]
|
H A D | tif_read.c | 347 if (sample >= td->td_samplesperpixel) { in TIFFSeek() 350 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFSeek()
|
H A D | tif_pixarlog.c | 691 td->td_samplesperpixel : 1); in PixarLogSetupDecode() 909 td->td_samplesperpixel : 1); in PixarLogSetupEncode()
|
H A D | tif_ojpeg.c | 1034 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect() 1099 if (tif->tif_dir.td_samplesperpixel==1) in OJPEGReadHeaderInfo() 1109 if (tif->tif_dir.td_samplesperpixel!=3) in OJPEGReadHeaderInfo()
|
H A D | tif_predict.c | 98 td->td_samplesperpixel : 1); in PredictorSetup()
|
/reactos/sdk/include/reactos/libs/libtiff/ |
H A D | tif_dir.h | 82 uint16 td_samplesperpixel; member
|