Home
last modified time | relevance | path

Searched refs:raster (Results 1 – 10 of 10) sorted by relevance

/libtiff-4.0.7/tools/
H A Dtiff2rgba.c173 raster = (uint32*)_TIFFmalloc(rastersize); in cvt_by_tile()
174 if (raster == 0) { in cvt_by_tile()
241 raster, in cvt_by_tile()
250 _TIFFfree( raster ); in cvt_by_tile()
287 if (raster == 0) { in cvt_by_strip()
366 _TIFFfree( raster ); in cvt_by_strip()
405 if (raster == 0) { in cvt_whole_image()
414 _TIFFfree(raster); in cvt_whole_image()
434 src = dst = (unsigned char *) raster; in cvt_whole_image()
473 _TIFFfree( raster ); in cvt_whole_image()
[all …]
H A Drgb2ycbcr.c189 uint32 RGB = (raster - k*w)[j]; in cvtClump()
228 tp = raster; in cvtStrip()
239 raster -= vertSubSampling*width; in cvtStrip()
242 tp = raster; in cvtStrip()
271 cvtStrip(buf, raster + (y-1)*width, nr, width); in cvtRaster()
288 uint32* raster; /* retrieve RGBA image */ in tiffcvt() local
311 if (raster == 0) { in tiffcvt()
319 if (!TIFFReadRGBAImage(in, width, height, raster, 0)) { in tiffcvt()
320 _TIFFfree(raster); in tiffcvt()
356 result = cvtRaster(out, raster, width, height); in tiffcvt()
[all …]
H A Dtiffgt.c53 static uint32* raster = NULL; /* displayable image */ variable
203 if (raster != NULL) in cleanup_and_exit()
204 _TIFFfree(raster); in cleanup_and_exit()
243 if (raster != NULL) in initImage()
244 _TIFFfree(raster), raster = NULL; in initImage()
245 raster = (uint32*) _TIFFCheckMalloc(tif, rastersize, sizeof (uint32), in initImage()
247 if (raster == NULL) { in initImage()
255 TIFFRGBAImageGet(&img, raster, img.width, img.height); in initImage()
257 TIFFSwabArrayOfLong(raster,img.width*img.height); in initImage()
301 glDrawPixels(img.width, img.height, GL_RGBA, GL_UNSIGNED_BYTE, (const GLvoid *) raster); in raster_draw()
H A Dthumbnail.c597 unsigned char* raster; in generateThumbnail() local
617 raster = (unsigned char*)_TIFFmalloc(rastersize+3); in generateThumbnail()
618 if (!raster) { in generateThumbnail()
623 raster[rastersize] = 0; in generateThumbnail()
624 raster[rastersize+1] = 0; in generateThumbnail()
625 raster[rastersize+2] = 0; in generateThumbnail()
626 rp = raster; in generateThumbnail()
633 setImage(raster, sw, sh); in generateThumbnail()
634 _TIFFfree(raster); in generateThumbnail()
/libtiff-4.0.7/contrib/win_dib/
H A DTiffile.cpp43 HANDLE TIFFRGBA2DIB(TIFFDibImage* dib, uint32* raster) ;
102 uint32* raster; in ReadTIFF() local
108 if (raster != NULL) { in ReadTIFF()
110 pDIB = TIFFRGBA2DIB(&img, raster); in ReadTIFF()
113 _TIFFfree(raster); in ReadTIFF()
131 HANDLE TIFFRGBA2DIB(TIFFDibImage* dib, uint32* raster) in TIFFRGBA2DIB() argument
201 long* rgbTif = (long*)raster; in TIFFRGBA2DIB()
203 _TIFFmemcpy(pbiBits, raster, bi.biSizeImage); in TIFFRGBA2DIB()
247 long* rgbTif = (long*)raster; in TIFFRGBA2DIB()
393 getStripContig1Bit(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) in getStripContig1Bit() argument
[all …]
H A DREADME.Tiffile11 routines of the RGBA interface to just copy the data from the input raster
12 to the output raster, rather than expanding out to full 32 bit format. It
/libtiff-4.0.7/archive/tools/
H A Dgif2tiff.c115 unsigned char *raster; /* Decoded image data */ variable
314 if ((raster = (unsigned char*) _TIFFmalloc(raster_size)) == NULL) { in readgifimage()
335 _TIFFfree(raster); in readgifimage()
370 unsigned char *fill = raster; in readraster()
414 if (fill >= raster + width*height) { in readraster()
420 if (fill != raster + width*height) { in readraster()
422 (long) (fill-raster)); in readraster()
454 if (*fill >= raster + width*height) { in process()
488 if (*fill >= raster + width*height) { in process()
535 ras = raster; in rasterize()
/libtiff-4.0.7/libtiff/
H A Dtif_getimage.c516 return (*img->get)(img, raster, w, h); in TIFFRGBAImageGet()
525 uint32 rwidth, uint32 rheight, uint32* raster, in TIFFReadRGBAImageOriented() argument
535 ok = TIFFRGBAImageGet(&img, raster+(rheight-img.height)*rwidth, in TIFFReadRGBAImageOriented()
551 uint32 rwidth, uint32 rheight, uint32* raster, int stop) in TIFFReadRGBAImage() argument
553 return TIFFReadRGBAImageOriented(tif, rwidth, rheight, raster, in TIFFReadRGBAImage()
713 uint32 *left = raster + (line * w); in gtTileContig()
881 uint32 *left = raster + (line * w); in gtTileSeparate()
972 uint32 *left = raster + (line * w); in gtStripContig()
1107 uint32 *left = raster + (line * w); in gtStripSeparate()
2816 TIFFReadRGBAStrip(TIFF* tif, uint32 row, uint32 * raster ) in TIFFReadRGBAStrip() argument
[all …]
/libtiff-4.0.7/contrib/pds/
H A Dtif_imageiter.c235 uint32 rwidth, uint32 rheight, uint8* raster, int stop) in TIFFReadImageIter() argument
243 ok = TIFFImageIterGet(&img, raster, rwidth, img.height); in TIFFReadImageIter()
/libtiff-4.0.7/
H A DChangeLog2024 * tools/tiffgt.c: Properly check the raster buffer allocations for
2725 * tools/rgb2ycbcr.c: fix memory leak of raster buffer.
5551 function TIFFReadRGBAImageOriented() implemented to retrieve raster