Lines Matching refs:tile
35 int TIFFFillTile(TIFF* tif, uint32 tile);
37 static int TIFFStartTile(TIFF* tif, uint32 tile);
650 TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) in TIFFReadEncodedTile() argument
658 if (tile >= td->td_nstrips) { in TIFFReadEncodedTile()
661 (unsigned long) tile, (unsigned long) td->td_nstrips); in TIFFReadEncodedTile()
668 if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif, in TIFFReadEncodedTile()
669 (uint8*) buf, size, (uint16)(tile/td->td_stripsperimage))) { in TIFFReadEncodedTile()
677 TIFFReadRawTile1(TIFF* tif, uint32 tile, void* buf, tmsize_t size, const char* module) in TIFFReadRawTile1() argument
688 if (!SeekOK(tif, td->td_stripoffset[tile])) { in TIFFReadRawTile1()
693 (unsigned long) tile); in TIFFReadRawTile1()
718 ma=(tmsize_t)td->td_stripoffset[tile]; in TIFFReadRawTile1()
720 if (((uint64)ma!=td->td_stripoffset[tile])||(ma>tif->tif_size)) in TIFFReadRawTile1()
732 (unsigned long) tile, in TIFFReadRawTile1()
740 (unsigned long) tile, in TIFFReadRawTile1()
755 TIFFReadRawTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) in TIFFReadRawTile() argument
764 if (tile >= td->td_nstrips) { in TIFFReadRawTile()
767 (unsigned long) tile, (unsigned long) td->td_nstrips); in TIFFReadRawTile()
776 bytecount64 = td->td_stripbytecount[tile]; in TIFFReadRawTile()
785 return (TIFFReadRawTile1(tif, tile, buf, bytecountm, module)); in TIFFReadRawTile()
793 TIFFFillTile(TIFF* tif, uint32 tile) in TIFFFillTile() argument
803 uint64 bytecount = td->td_stripbytecount[tile]; in TIFFFillTile()
809 (unsigned long) tile); in TIFFFillTile()
814 (unsigned long) tile); in TIFFFillTile()
848 td->td_stripoffset[tile] > (uint64)tif->tif_size - bytecount) { in TIFFFillTile()
854 tif->tif_base + (tmsize_t)td->td_stripoffset[tile]; in TIFFFillTile()
876 (unsigned long) tile); in TIFFFillTile()
888 if (TIFFReadRawTile1(tif, tile, tif->tif_rawdata, in TIFFFillTile()
901 return (TIFFStartTile(tif, tile)); in TIFFFillTile()
991 TIFFStartTile(TIFF* tif, uint32 tile) in TIFFStartTile() argument
1005 tif->tif_curtile = tile; in TIFFStartTile()
1011 tif->tif_row = (tile % howmany32) * td->td_tilelength; in TIFFStartTile()
1017 tif->tif_col = (tile % howmany32) * td->td_tilewidth; in TIFFStartTile()
1027 tif->tif_rawcc = (tmsize_t)td->td_stripbytecount[tile]; in TIFFStartTile()
1030 (uint16)(tile/td->td_stripsperimage))); in TIFFStartTile()