Searched refs:bytesPerStrip (Results 1 - 1 of 1) sorted by relevance

/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp424 // these two cannot be encountered, since inBufferSize != bytesPerStrip
485 uint32 bytesPerStrip = 0; local
496 bytesPerStrip = width * 4 * rowsPerStrip;
504 bytesPerStrip = width * 3 * rowsPerStrip;
508 bytesPerStrip = width * rowsPerStrip;
521 // bytesPerStrip is the size of the buffer that libtiff expects to write per strip
524 if (inBufferSize != bytesPerStrip) {
527 uint8* outBuffer = (uint8*)_TIFFmalloc(bytesPerStrip);
539 written = TIFFWriteEncodedStrip(tif, stripIndex, outBuffer, bytesPerStrip);
574 written = TIFFWriteEncodedStrip(tif, stripIndex, inBuffer, bytesPerStrip);
[all...]

Completed in 34 milliseconds