Lines Matching refs:depth
267 write_tiff_grey_header (FILE *fptr, int width, int height, int depth,
285 bps = (depth <= 8) ? 1 : 2; /* Bytes per sample */
286 maxsamplevalue = (depth <= 8) ? 255 : 65535;
317 add_ifd_entry (ifd, 258, IFDE_TYP_SHORT, 1, depth);
390 write_tiff_color_header (FILE *fptr, int width, int height, int depth,
409 bps = (depth <= 8) ? 1 : 2; /* Bytes per sample */
410 maxsamplevalue = (depth <= 8) ? 255 : 65535;
503 write_i2 (fptr, depth, motorola);
504 write_i2 (fptr, depth, motorola);
505 write_i2 (fptr, depth, motorola);
539 sanei_write_tiff_header (SANE_Frame format, int width, int height, int depth,
551 write_tiff_color_header (ofp, width, height, depth, resolution, icc_profile);
555 if (depth == 1)
558 write_tiff_grey_header (ofp, width, height, depth, resolution, icc_profile);