Lines Matching refs:tif_rawdata
108 tif->tif_rawdata, tif->tif_rawdatasize); in TIFFReadAndRealloc()
114 _TIFFfree(tif->tif_rawdata); in TIFFReadAndRealloc()
115 tif->tif_rawdata = 0; in TIFFReadAndRealloc()
119 tif->tif_rawdata = new_rawdata; in TIFFReadAndRealloc()
121 if( tif->tif_rawdata == NULL ) in TIFFReadAndRealloc()
128 tif->tif_rawdata + rawdata_offset + already_read, to_read); in TIFFReadAndRealloc()
131 memset( tif->tif_rawdata + rawdata_offset + already_read, 0, in TIFFReadAndRealloc()
231 unused_data = tif->tif_rawdataloaded - (tif->tif_rawcp - tif->tif_rawdata); in TIFFFillStripPartial()
238 memmove( tif->tif_rawdata, tif->tif_rawcp, unused_data ); in TIFFFillStripPartial()
281 tif->tif_rawcp = tif->tif_rawdata; in TIFFFillStripPartial()
286 TIFFReverseBits(tif->tif_rawdata + unused_data, to_read ); in TIFFFillStripPartial()
414 if( ((tif->tif_rawdata + tif->tif_rawdataloaded) - tif->tif_rawcp) < read_ahead in TIFFSeek()
876 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFFillStrip()
877 _TIFFfree(tif->tif_rawdata); in TIFFFillStrip()
878 tif->tif_rawdata = NULL; in TIFFFillStrip()
883 tif->tif_rawdata = tif->tif_base + (tmsize_t)TIFFGetStrileOffset(tif, strip); in TIFFFillStrip()
918 tif->tif_rawdata = NULL; in TIFFFillStrip()
930 if (TIFFReadRawStrip1(tif, strip, tif->tif_rawdata, in TIFFFillStrip()
951 TIFFReverseBits(tif->tif_rawdata, bytecountm); in TIFFFillStrip()
1292 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFFillTile()
1293 _TIFFfree(tif->tif_rawdata); in TIFFFillTile()
1294 tif->tif_rawdata = NULL; in TIFFFillTile()
1300 tif->tif_rawdata = in TIFFFillTile()
1329 tif->tif_rawdata = NULL; in TIFFFillTile()
1341 if (TIFFReadRawTile1(tif, tile, tif->tif_rawdata, in TIFFFillTile()
1360 if (tif->tif_rawdata != NULL && in TIFFFillTile()
1363 TIFFReverseBits(tif->tif_rawdata, in TIFFFillTile()
1387 if (tif->tif_rawdata) { in TIFFReadBufferSetup()
1389 _TIFFfree(tif->tif_rawdata); in TIFFReadBufferSetup()
1390 tif->tif_rawdata = NULL; in TIFFReadBufferSetup()
1395 tif->tif_rawdata = (uint8*) bp; in TIFFReadBufferSetup()
1406 tif->tif_rawdata = (uint8*) _TIFFcalloc(1, tif->tif_rawdatasize); in TIFFReadBufferSetup()
1409 if (tif->tif_rawdata == NULL) { in TIFFReadBufferSetup()
1444 tif->tif_rawcp = tif->tif_rawdata; in TIFFStartStrip()
1491 tif->tif_rawcp = tif->tif_rawdata; in TIFFStartTile()
1535 void* old_rawdata = tif->tif_rawdata; in TIFFReadFromUserBuffer()
1551 tif->tif_rawdata = inbuf; in TIFFReadFromUserBuffer()
1597 tif->tif_rawdata = old_rawdata; in TIFFReadFromUserBuffer()