Home
last modified time | relevance | path

Searched refs:nrows (Results 1 – 10 of 10) sorted by relevance

/libtiff-4.0.7/tools/
H A Drgb2ycbcr.c221 cvtStrip(unsigned char* op, uint32* raster, uint32 nrows, uint32 width) in cvtStrip() argument
227 for (; nrows >= vertSubSampling; nrows -= vertSubSampling) { in cvtStrip()
241 if (nrows > 0) { in cvtStrip()
244 cvtClump(op, tp, nrows, horizSubSampling, width); in cvtStrip()
249 cvtClump(op, tp, nrows, x, width); in cvtStrip()
262 uint32 nrows = (rowsperstrip > rheight ? rheight : rowsperstrip); in cvtRaster() local
263 uint32 rnrows = roundup(nrows,vertSubSampling); in cvtRaster()
269 for (y = height; (int32) y > 0; y -= nrows) { in cvtRaster()
270 uint32 nr = (y > nrows ? nrows : y); in cvtRaster()
H A Dthumbnail.c512 setrow(uint8* row, uint32 nrows, const uint8* rows[]) in setrow() argument
515 uint32 area = nrows * filterWidth; in setrow()
523 for (y = 0; y < nrows; y++) { in setrow()
565 uint32 nrows = 1; in setImage1() local
576 if( nrows == 256 ) in setImage1()
578 rows[nrows++] = br + bpr*sy; in setImage1()
581 setrow(row, nrows, rows); in setImage1()
H A Dtiffcp.c1451 uint32 nrows = (row+rowsperstrip > imagelength) ? in DECLAREwriteFunc() local
1453 tsize_t stripsize = TIFFVStripSize(out, nrows); in DECLAREwriteFunc()
1481 uint32 nrows = (row+rowsperstrip > imagelength) ? in DECLAREwriteFunc() local
1483 tsize_t stripsize = TIFFVStripSize(out, nrows); in DECLAREwriteFunc()
1487 nrows, imagewidth, 0, 0, spp, 1); in DECLAREwriteFunc()
H A Dtiffcrop.c1121 uint32 row, nrows, rowsperstrip; in writeBufferToContigStrips() local
1128 nrows = (row + rowsperstrip > imagelength) ? in writeBufferToContigStrips()
1130 stripsize = TIFFVStripSize(out, nrows); in writeBufferToContigStrips()
1157 uint32 row, nrows, rowsize, rowsperstrip; in writeBufferToSeparateStrips() local
1197 nrows = (row + rowsperstrip > length) ? length - row : rowsperstrip; in writeBufferToSeparateStrips()
1199 stripsize = TIFFVStripSize(out, nrows); in writeBufferToSeparateStrips()
1203 if (extractContigSamplesToBuffer(obuf, src, nrows, width, s, spp, bps, dump)) in writeBufferToSeparateStrips()
1213 dump_buffer(dump->outfile, dump->format, nrows, scanlinesize, row, obuf); in writeBufferToSeparateStrips()
/libtiff-4.0.7/libtiff/
H A Dtif_strip.c87 TIFFVStripSize64(TIFF* tif, uint32 nrows) in TIFFVStripSize64() argument
91 if (nrows==(uint32)(-1)) in TIFFVStripSize64()
92 nrows=td->td_imagelength; in TIFFVStripSize64()
130 samplingblocks_ver=TIFFhowmany_32(nrows,ycbcrsubsampling[1]); in TIFFVStripSize64()
136 return(_TIFFMultiply64(tif,nrows,TIFFScanlineSize64(tif),module)); in TIFFVStripSize64()
139 TIFFVStripSize(TIFF* tif, uint32 nrows) in TIFFVStripSize() argument
144 m=TIFFVStripSize64(tif,nrows); in TIFFVStripSize()
H A Dtif_dumpmode.c113 DumpModeSeek(TIFF* tif, uint32 nrows) in DumpModeSeek() argument
115 tif->tif_rawcp += nrows * tif->tif_scanlinesize; in DumpModeSeek()
116 tif->tif_rawcc -= nrows * tif->tif_scanlinesize; in DumpModeSeek()
H A Dtif_jpeg.c1188 tmsize_t nrows; in JPEGDecode() local
1210 if (nrows) in JPEGDecode()
1244 tmsize_t nrows; in JPEGDecode() local
1266 if (nrows) in JPEGDecode()
1366 tmsize_t nrows; in JPEGDecodeRaw() local
1486 } while (nrows > 0); in JPEGDecodeRaw()
1877 tmsize_t nrows; in JPEGEncode() local
1908 while (nrows-- > 0) { in JPEGEncode()
1934 if (nrows > 0) in JPEGEncode()
1957 tmsize_t nrows; in JPEGEncodeRaw() local
[all …]
H A Dtif_tile.c201 TIFFVTileSize64(TIFF* tif, uint32 nrows) in TIFFVTileSize64() argument
240 samplingblocks_ver=TIFFhowmany_32(nrows,ycbcrsubsampling[1]); in TIFFVTileSize64()
246 return(_TIFFMultiply64(tif,nrows,TIFFTileRowSize64(tif),module)); in TIFFVTileSize64()
249 TIFFVTileSize(TIFF* tif, uint32 nrows) in TIFFVTileSize() argument
254 m=TIFFVTileSize64(tif,nrows); in TIFFVTileSize()
H A Dtiffio.h362 extern uint64 TIFFVStripSize64(TIFF* tif, uint32 nrows);
363 extern tmsize_t TIFFVStripSize(TIFF* tif, uint32 nrows);
368 extern uint64 TIFFVTileSize64(TIFF* tif, uint32 nrows);
369 extern tmsize_t TIFFVTileSize(TIFF* tif, uint32 nrows);
/libtiff-4.0.7/
H A DChangeLog6060 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in