Lines Matching defs:depth
1176 write_pnm_header (SANE_Frame format, int width, int height, int depth, FILE *ofp)
1188 (depth <= 8) ? 255 : 65535);
1192 if (depth == 1)
1196 (depth <= 8) ? 255 : 65535);
1206 write_png_header (SANE_Frame format, int width, int height, int depth, int dpi, const char * icc_profile, FILE *ofp, png_structp* png_ptr, png_infop* info_ptr)
1243 depth, color_type, PNG_INTERLACE_NONE,
1419 parm.depth * (SANE_FRAME_RGB == parm.format ? 3 : 1));
1424 parm.depth * (SANE_FRAME_RGB == parm.format ? 3 : 1));
1439 assert (parm.depth == 8);
1446 assert ((parm.depth == 8) || (parm.depth == 16));
1448 assert ((parm.depth == 1) || (parm.depth == 8)
1449 || (parm.depth == 16));
1461 parm.depth, resolution_value,
1466 parm.lines, parm.depth, ofp);
1471 parm.lines, parm.depth, resolution_value,
1559 if (verbose && parm.depth == 8)
1633 if(parm.depth == 1)
1642 if (parm.depth == 16)
1672 if(parm.depth == 1)
1693 if ((output_format == OUTPUT_TIFF) || (parm.depth != 16))
1730 if (verbose && parm.depth == 8)
1750 image.height, parm.depth, resolution_value,
1755 image.height, parm.depth, ofp);
1760 image.height, parm.depth, resolution_value,
1784 if (output_format != OUTPUT_TIFF && parm.depth == 16)
1904 parm.depth * (SANE_FRAME_RGB == parm.format ? 3 : 1));
1909 parm.depth * (SANE_FRAME_RGB == parm.format ? 3 : 1));
1912 parm.depth);