Lines Matching defs:tile
304 * Write and compress a tile of data. The
305 * tile is selected by the (x,y,z,s) coordinates.
314 * NB: A tile size of -1 is used instead of tif_tilesize knowing
315 * that TIFFWriteEncodedTile will clamp this to the tile size.
316 * This is done because the tile size may not be defined until
325 * specified tile. There must be space for the
327 * to a tile to the tile size, but does not (and
329 * tile do not write more than tile size data.
336 TIFFWriteEncodedTile(TIFF* tif, ttile_t tile, tdata_t data, tsize_t cc)
345 if (tile >= td->td_nstrips) {
347 tif->tif_name, (unsigned long) tile, (unsigned long) td->td_nstrips);
357 tif->tif_curtile = tile;
362 if( td->td_stripbytecount[tile] > 0 )
373 tif->tif_row = (tile % TIFFhowmany(td->td_imagelength, td->td_tilelength))
375 tif->tif_col = (tile % TIFFhowmany(td->td_imagewidth, td->td_tilewidth))
384 sample = (tsample_t)(tile/td->td_stripsperimage);
388 * Clamp write amount to the tile size. This is mostly
390 * (e.g. -1) and have the tile size used instead.
405 if (tif->tif_rawcc > 0 && !TIFFAppendToStrip(tif, tile,
423 TIFFWriteRawTile(TIFF* tif, ttile_t tile, tdata_t data, tsize_t cc)
429 if (tile >= tif->tif_dir.td_nstrips) {
431 tif->tif_name, (unsigned long) tile,
435 return (TIFFAppendToStrip(tif, tile, (tidata_t) data, cc) ?
533 tif->tif_name, isTiled(tif) ? "tile" : "strip");
636 * There is already tile data on disk, and the new tile
661 * We are starting a fresh strip/tile, so set the size to zero.