Searched refs:depth (Results 1 – 5 of 5) sorted by relevance
| /libtiff-4.0.7/contrib/ras/ |
| H A D | ras2tif.c | 83 int depth, local 172 depth = pix->pr_depth; 174 switch (depth) { 196 error("%s: bogus depth: %d\n", depth); 199 bpsl = ((depth * width + 15) >> 3) & ~1; 220 if (depth == 8) { 229 fprintf(stderr, "%dx%dx%d image, ", width, height, depth);
|
| H A D | tif2ras.c | 83 int depth, local 154 depth = 1; 156 depth = 8; 160 depth = 24; 170 fprintf(stderr, "%dx%dx%d image, ", width, height, depth); 175 pix = mem_create(width, height, depth);
|
| /libtiff-4.0.7/tools/ |
| H A D | raw2tiff.c | 95 int16 depth = 1; /* bytes per pixel in input image */ in main() local 154 depth = TIFFDataWidth(dtype); in main() 228 TIFFSetField(out, TIFFTAG_BITSPERSAMPLE, depth * 8); in main() 270 linebytes = width * depth; in main() 275 linebytes = width * nbands * depth; in main() 278 bufsize = width * nbands * depth; in main() 311 memcpy(buf1 + (col*nbands+band)*depth, in main() 312 buf + col * depth, depth); in main() 375 uint32 depth = TIFFDataWidth(dtype); in guessSize() local 388 imagesize = (filestat.st_size - hdr_size) / nbands / depth; in guessSize() [all …]
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | bmp2tiff.c | 234 uint16 depth = 8; /* bits per pixel in input image */ in main() local 465 depth = info_hdr.iBitCount; in main() 470 ((uint32)(1<<depth)<info_hdr.iClrUsed) in main() 471 ? (uint32) (1 << depth) in main() 474 clr_tbl_size = 1 << depth; in main() 495 _TIFFmalloc(((tmsize_t)1)<<depth * sizeof(unsigned short)); in main() 503 _TIFFmalloc(((tmsize_t)1)<<depth * sizeof(unsigned short)); in main() 511 _TIFFmalloc(((tmsize_t)1)<<depth * sizeof(unsigned short)); in main() 530 depth = info_hdr.iBitCount / nbands; in main() 535 depth = 8; in main() [all …]
|
| /libtiff-4.0.7/contrib/dbs/xtiff/ |
| H A D | xtiff.c | 720 if ((vl->class == visual_class) && (vl->depth >= image_depth) 721 && (vl->visual->map_entries >= (1 << vl->depth))) { 723 xImageDepth = vl->depth;
|