Lines Matching refs:depth
127 Allow more than 8 bit color depth even for preview mode
156 Several initialization fixes regarding bit depth selection.
186 Add support for color depth > 8 bits per channel.
202 2000-06-01 Threshold should only be active when scan depth
207 (AAS) should only be on when scan depth == 1.
464 * The depth variable gets updated when the bit depth is modified.
472 int depth;
1112 DBG (5, "params.depth = %d\n", params.depth);
2241 * Check for the max. supported color depth and assign
2281 /* the default depth is already in the list */
2284 DBG (1, "Max. supported color depth = %d\n", s->hw->maxDepth);
2826 /* bit depth */
3789 AAS is available when the scan color depth is 1 and the
3792 Threshold is available when halftone is NONE, and depth is 1.
3803 if (mode_params[mdi].depth == 1)
4041 setOptionState (s, mode_params[optindex].depth == 1,
4063 /* if binary, then disable the bit depth selection */
4075 s->val[OPT_BIT_DEPTH].w = mode_params[optindex].depth;
4091 mode_params[s->val[OPT_MODE].w].depth = sval->w;
4220 * requests information aobut the scan configuration (e.g. color depth, mode,
4307 * The default color depth is stored in mode_params.depth:
4310 if (mode_params[s->val[OPT_MODE].w].depth == 1)
4312 s->params.depth = 1;
4316 s->params.depth = s->val[OPT_BIT_DEPTH].w;
4319 if (s->params.depth > 8)
4321 s->params.depth = 16; /*
4332 bytes_per_pixel = s->params.depth / 8; /* this works because it can only be set to 1, 8 or 16 */
4333 if (s->params.depth % 8) /* just in case ... */
4353 s->params.pixels_per_line * s->params.depth / 8;
4489 DBG (1, "sane_start: Setting data format to %d bits\n", mparam->depth);
4490 status = set_data_format (s, mparam->depth);
4660 val += mparam->depth == 1 ? 0 : 1;
4830 if ((s->hw->optical_res != 0) && (mparam->depth == 8)
4924 * for bi-level scanning. If a bit depth of 1 is selected, then
5523 if (s->params.depth > 8)
5628 if (1 == s->params.depth)