Lines Matching refs:samplebuffer

2167 	unsigned char* samplebuffer=NULL;  in t2p_readwrite_pdf_image()  local
2427 _TIFFfree(samplebuffer); in t2p_readwrite_pdf_image()
2493 samplebuffer = (unsigned char*) _TIFFmalloc(stripsize); in t2p_readwrite_pdf_image()
2494 if(samplebuffer==NULL){ in t2p_readwrite_pdf_image()
2509 (tdata_t) &(samplebuffer[samplebufferoffset]), in t2p_readwrite_pdf_image()
2525 samplebuffer, in t2p_readwrite_pdf_image()
2529 _TIFFfree(samplebuffer); in t2p_readwrite_pdf_image()
2556 _TIFFfree(samplebuffer); in t2p_readwrite_pdf_image()
2566 samplebuffer=(unsigned char*)_TIFFrealloc( in t2p_readwrite_pdf_image()
2569 if(samplebuffer==NULL){ in t2p_readwrite_pdf_image()
2578 buffer=samplebuffer; in t2p_readwrite_pdf_image()
2597 samplebuffer=(unsigned char*)_TIFFrealloc( in t2p_readwrite_pdf_image()
2600 if(samplebuffer==NULL){ in t2p_readwrite_pdf_image()
2609 buffer=samplebuffer; in t2p_readwrite_pdf_image()
2767 unsigned char* samplebuffer=NULL; in t2p_readwrite_pdf_image_tile() local
2976 samplebuffer = (unsigned char*) _TIFFmalloc(t2p->tiff_datasize); in t2p_readwrite_pdf_image_tile()
2977 if(samplebuffer==NULL){ in t2p_readwrite_pdf_image_tile()
2991 (tdata_t) &(samplebuffer[samplebufferoffset]), in t2p_readwrite_pdf_image_tile()
2998 _TIFFfree(samplebuffer); in t2p_readwrite_pdf_image_tile()
3008 samplebuffer, in t2p_readwrite_pdf_image_tile()
3011 _TIFFfree(samplebuffer); in t2p_readwrite_pdf_image_tile()
3630 unsigned char* samplebuffer, in t2p_sample_planar_separate_to_contig() argument
3640 buffer[i*t2p->tiff_samplesperpixel + j] = samplebuffer[i + j*stride]; in t2p_sample_planar_separate_to_contig()