Lines Matching refs:ifd
173 bufferedReadPixels (InputFile::Data* ifd, int scanLine1, int scanLine2) in bufferedReadPixels() argument
185 if (minY < ifd->minY || maxY > ifd->maxY) in bufferedReadPixels()
196 int minDy = (minY - ifd->minY) / ifd->tFile->tileYSize(); in bufferedReadPixels()
197 int maxDy = (maxY - ifd->minY) / ifd->tFile->tileYSize(); in bufferedReadPixels()
205 if (ifd->lineOrder == DECREASING_Y) in bufferedReadPixels()
222 Box2i levelRange = ifd->tFile->dataWindowForLevel(0); in bufferedReadPixels()
231 Box2i tileRange = ifd->tFile->dataWindowForTile (0, j, 0); in bufferedReadPixels()
236 if (j != ifd->cachedTileY) in bufferedReadPixels()
243 ifd->tFile->readTiles (0, ifd->tFile->numXTiles (0) - 1, j, j); in bufferedReadPixels()
244 ifd->cachedTileY = j; in bufferedReadPixels()
252 for (FrameBuffer::ConstIterator k = ifd->cachedBuffer->begin(); in bufferedReadPixels()
253 k != ifd->cachedBuffer->end(); in bufferedReadPixels()
257 Slice toSlice = ifd->tFileBuffer[k.name()]; // slice to write to in bufferedReadPixels()