Lines Matching refs:tif_rawdata
90 unused_data = tif->tif_rawdataloaded - (tif->tif_rawcp - tif->tif_rawdata); in TIFFFillStripPartial()
97 memmove( tif->tif_rawdata, tif->tif_rawcp, unused_data ); in TIFFFillStripPartial()
125 cc = TIFFReadFile(tif, tif->tif_rawdata + unused_data, to_read); in TIFFFillStripPartial()
147 tif->tif_rawcp = tif->tif_rawdata; in TIFFFillStripPartial()
152 TIFFReverseBits(tif->tif_rawdata + unused_data, to_read ); in TIFFFillStripPartial()
243 if( ((tif->tif_rawdata + tif->tif_rawdataloaded) - tif->tif_rawcp) < read_ahead in TIFFSeek()
529 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFFillStrip()
530 _TIFFfree(tif->tif_rawdata); in TIFFFillStrip()
531 tif->tif_rawdata = NULL; in TIFFFillStrip()
572 tif->tif_rawdata = tif->tif_base + (tmsize_t)td->td_stripoffset[strip]; in TIFFFillStrip()
612 if (TIFFReadRawStrip1(tif, strip, tif->tif_rawdata, in TIFFFillStrip()
621 TIFFReverseBits(tif->tif_rawdata, bytecountm); in TIFFFillStrip()
832 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFFillTile()
833 _TIFFfree(tif->tif_rawdata); in TIFFFillTile()
834 tif->tif_rawdata = NULL; in TIFFFillTile()
853 tif->tif_rawdata = in TIFFFillTile()
888 if (TIFFReadRawTile1(tif, tile, tif->tif_rawdata, in TIFFFillTile()
897 TIFFReverseBits(tif->tif_rawdata, in TIFFFillTile()
921 if (tif->tif_rawdata) { in TIFFReadBufferSetup()
923 _TIFFfree(tif->tif_rawdata); in TIFFReadBufferSetup()
924 tif->tif_rawdata = NULL; in TIFFReadBufferSetup()
929 tif->tif_rawdata = (uint8*) bp; in TIFFReadBufferSetup()
935 tif->tif_rawdata = (uint8*) _TIFFmalloc(tif->tif_rawdatasize); in TIFFReadBufferSetup()
938 if (tif->tif_rawdata == NULL) { in TIFFReadBufferSetup()
976 tif->tif_rawcp = tif->tif_rawdata; in TIFFStartStrip()
1015 tif->tif_rawcp = tif->tif_rawdata; in TIFFStartTile()