Lines Matching refs:sect_buff
2205 unsigned char *sect_buff = NULL; /* Image section buffer */ in main() local
2422 if (writeImageSections(in, out, &image, &page, sections, &dump, sect_src, §_buff)) in main()
2455 if (sect_buff) in main()
2456 _TIFFfree(sect_buff); in main()
6646 unsigned char *src_buff, unsigned char *sect_buff) in extractImageSection() argument
6733 _TIFFmemcpy (sect_buff + dst_offset, src_buff + src_offset, full_bytes); in extractImageSection()
6769 _TIFFmemcpy (sect_buff + dst_offset, src_buff + offset1, full_bytes); in extractImageSection()
6777 bitset = *(sect_buff + dst_offset) & (((unsigned char)1 << k)) ? 1 : 0; in extractImageSection()
6788 sect_buff[dst_offset] = bytebuff2; in extractImageSection()
6794 bitset = *(sect_buff + dst_offset) & (((unsigned char)1 << k)) ? 1 : 0; in extractImageSection()
6812 sect_buff[dst_offset + j] = (bytebuff1 << shift1) | (bytebuff2 >> (8 - shift1)); in extractImageSection()
6819 bitset = *(sect_buff + dst_offset) & (((unsigned char)1 << k)) ? 1 : 0; in extractImageSection()
6836 sect_buff[dst_offset] = bytebuff2; in extractImageSection()
6846 sect_buff[dst_offset] &= bytebuff2; in extractImageSection()
6862 bitset = *(sect_buff + dst_offset) & (((unsigned char)1 << k)) ? 1 : 0; in extractImageSection()
6991 unsigned char *sect_buff = *sect_buff_ptr; in writeImageSections() local
7016 sect_buff = *sect_buff_ptr; in writeImageSections()
7018 if (extractImageSection (image, §ions[i], src_buff, sect_buff)) in writeImageSections()
7025 if (writeSingleSection(in, out, image, dump, width, length, hres, vres, sect_buff)) in writeImageSections()
7045 unsigned char *sect_buff) in writeSingleSection() argument
7289 writeBufferToContigTiles (out, sect_buff, length, width, spp, dump); in writeSingleSection()
7291 writeBufferToSeparateTiles (out, sect_buff, length, width, spp, dump); in writeSingleSection()
7296 writeBufferToContigStrips (out, sect_buff, length); in writeSingleSection()
7298 writeBufferToSeparateStrips(out, sect_buff, length, width, spp, dump); in writeSingleSection()
7315 unsigned char *sect_buff = NULL; in createImageSection() local
7319 sect_buff = *sect_buff_ptr; in createImageSection()
7321 if (!sect_buff) in createImageSection()
7323 sect_buff = (unsigned char *)_TIFFmalloc(sectsize); in createImageSection()
7324 *sect_buff_ptr = sect_buff; in createImageSection()
7325 _TIFFmemset(sect_buff, 0, sectsize); in createImageSection()
7331 new_buff = _TIFFrealloc(sect_buff, sectsize); in createImageSection()
7334 free (sect_buff); in createImageSection()
7335 sect_buff = (unsigned char *)_TIFFmalloc(sectsize); in createImageSection()
7338 sect_buff = new_buff; in createImageSection()
7340 _TIFFmemset(sect_buff, 0, sectsize); in createImageSection()
7344 if (!sect_buff) in createImageSection()
7350 *sect_buff_ptr = sect_buff; in createImageSection()