LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Functions
tif_strip.c File Reference

Compute strip and scanline geometry and default sizing recommendations. More...

#include "tiffiop.h"
Include dependency graph for tif_strip.c:

Go to the source code of this file.

Functions

uint32_t TIFFComputeStrip (TIFF *tif, uint32_t row, uint16_t sample)
 Compute a strip index from a row and optional sample plane.
 
uint32_t TIFFNumberOfStrips (TIFF *tif)
 Compute the strip count from current image geometry.
 
uint64_t _TIFFStrileSize64 (TIFF *tif, uint32_t nrows, int isStrip)
 Compute row-aligned decoded storage for a strip or tile-height request.
 
uint64_t TIFFVStripSize64 (TIFF *tif, uint32_t nrows)
 Compute the decoded-size estimate for a requested strip height.
 
tmsize_t TIFFVStripSize (TIFF *tif, uint32_t nrows)
 Compute the decoded-size estimate for a requested strip height.
 
uint64_t TIFFRawStripSize64 (TIFF *tif, uint32_t strip)
 Query the stored byte count for one raw strip.
 
tmsize_t TIFFRawStripSize (TIFF *tif, uint32_t strip)
 Convert one raw-strip byte count to the legacy signed-size result.
 
uint64_t TIFFStripSize64 (TIFF *tif)
 Compute the decoded-size estimate for a nominal strip.
 
tmsize_t TIFFStripSize (TIFF *tif)
 Compute the decoded-size estimate for a nominal strip.
 
uint32_t TIFFDefaultStripSize (TIFF *tif, uint32_t request)
 Ask the installed sizing method for a RowsPerStrip recommendation.
 
uint32_t _TIFFDefaultStripSize (TIFF *tif, uint32_t s)
 Choose a default strip height near STRIP_SIZE_DEFAULT bytes.
 
uint64_t TIFFScanlineSize64 (TIFF *tif)
 Compute the current scanline I/O byte estimate.
 
tmsize_t TIFFScanlineSize (TIFF *tif)
 Compute the current scanline I/O byte estimate.
 
uint64_t TIFFRasterScanlineSize64 (TIFF *tif)
 Compute the packed full-raster row byte count.
 
tmsize_t TIFFRasterScanlineSize (TIFF *tif)
 Compute the packed full-raster row byte count.
 

Detailed Description

Compute strip and scanline geometry and default sizing recommendations.

Definition in file tif_strip.c.