Lines Matching refs:ifd

278 readTileData (TiledInputFile::Data *ifd,  in readTileData()  argument
296 Int64 tileOffset = ifd->tileOffsets (dx, dy, lx, ly); in readTileData()
304 if (ifd->currentPosition != tileOffset) in readTileData()
305 ifd->is->seekg (tileOffset); in readTileData()
315 Xdr::read <StreamIO> (*ifd->is, tileXCoord); in readTileData()
316 Xdr::read <StreamIO> (*ifd->is, tileYCoord); in readTileData()
317 Xdr::read <StreamIO> (*ifd->is, levelX); in readTileData()
318 Xdr::read <StreamIO> (*ifd->is, levelY); in readTileData()
319 Xdr::read <StreamIO> (*ifd->is, dataSize); in readTileData()
333 if (dataSize > (int) ifd->tileBufferSize) in readTileData()
340 if (ifd->is->isMemoryMapped ()) in readTileData()
341 buffer = ifd->is->readMemoryMapped (dataSize); in readTileData()
343 ifd->is->read (buffer, dataSize); in readTileData()
351 ifd->currentPosition = tileOffset + 5 * Xdr::size<int>() + dataSize; in readTileData()
356 readNextTileData (TiledInputFile::Data *ifd, in readNextTileData() argument
370 Xdr::read <StreamIO> (*ifd->is, dx); in readNextTileData()
371 Xdr::read <StreamIO> (*ifd->is, dy); in readNextTileData()
372 Xdr::read <StreamIO> (*ifd->is, lx); in readNextTileData()
373 Xdr::read <StreamIO> (*ifd->is, ly); in readNextTileData()
374 Xdr::read <StreamIO> (*ifd->is, dataSize); in readNextTileData()
376 if (dataSize > (int) ifd->tileBufferSize) in readNextTileData()
383 ifd->is->read (buffer, dataSize); in readNextTileData()
391 ifd->currentPosition += 5 * Xdr::size<int>() + dataSize; in readNextTileData()
405 TiledInputFile::Data *ifd,
421 TiledInputFile::Data *ifd, in TileBufferTask() argument
425 _ifd (ifd), in TileBufferTask()
582 TiledInputFile::Data *ifd, in newTileBufferTask() argument
595 TileBuffer *tileBuffer = ifd->getTileBuffer (number); in newTileBufferTask()
608 readTileData (ifd, dx, dy, lx, ly, in newTileBufferTask()
624 return new TileBufferTask (group, ifd, tileBuffer); in newTileBufferTask()