Lines Matching defs:depth
280 max depth, pointer to depth list,
286 commandtype, max depth, pointer to depth list
296 8, kodakaio_depth_list, /* color depth max 8, list above */
306 8, kodakaio_depth_list, /* color depth max 8, list above */
316 8, kodakaio_depth_list, /* color depth max 8, list above */
326 8, kodakaio_depth_list, /* color depth max 8, list above */
336 8, kodakaio_depth_list, /* color depth max 8, list above */
346 8, kodakaio_depth_list, /* color depth max 8, list above */
356 8, kodakaio_depth_list, /* color depth max 8, list above */
366 8, kodakaio_depth_list, /* color depth max 8, list above */
376 8, kodakaio_depth_list, /* color depth max 8, list above */
386 8, kodakaio_depth_list, /* color depth max 8, list above */
396 8, kodakaio_depth_list, /* color depth max 8, list above */
406 8, kodakaio_depth_list, /* color depth max 8, list above */
416 8, kodakaio_depth_list, /* color depth max 8, list above */
426 8, kodakaio_depth_list, /* color depth max 8, list above */
436 8, kodakaio_depth_list, /* color depth max 8, list above */
446 8, kodakaio_depth_list, /* color depth max 8, list above */
456 8, kodakaio_depth_list, /* color depth max 8, list above */
466 8, kodakaio_depth_list, /* color depth max 8, list above */
476 8, kodakaio_depth_list, /* color depth max 8, list above */
486 8, kodakaio_depth_list, /* color depth max 8, list above */
496 8, kodakaio_depth_list, /* color depth max 8, list above */
506 8, kodakaio_depth_list, /* color depth max 8, list above */
516 8, kodakaio_depth_list, /* color depth max 8, list above */
526 8, kodakaio_depth_list, /* color depth max 8, list above */
536 8, kodakaio_depth_list, /* color depth max 8, list above */
546 8, kodakaio_depth_list, /* color depth max 8, list above */
556 8, kodakaio_depth_list, /* color depth max 8, list above */
568 8, kodakaio_depth_list, /* color depth max 8, list above */
578 8, kodakaio_depth_list, /* color depth max 8, list above */
593 * The depth variable gets updated when the bit depth is modified.
675 DBG(level, "params.depth = %d\n", params.depth);
688 DBG(level, "params.depth = %d\n", params.depth);
1156 SANE_Frame *format, SANE_Int *depth,
1166 NOT_USED (depth);
1545 DBG (10, " %s: Setup block mode - scan_bytes_per_line=%d, pixels_per_line=%d, depth=%d, data_len=%d, block_len=%d, blocks=%d, last_len=%d\n",
1546 __func__, s->scan_bytes_per_line, s->params.pixels_per_line, s->params.depth, s->data_len, s->block_len, s->blocks, s->last_len);
1627 &s->params.format, &s->params.depth,
1637 s->params.bytes_per_line = ceil (s->params.pixels_per_line * s->params.depth / 8.0);
1830 * The default color depth is stored in mode_params.depth:
1832 if (mode_params[s->val[OPT_MODE].w].depth == 1)
1833 s->params.depth = 1;
1835 s->params.depth = s->val[OPT_BIT_DEPTH].w;
1837 DBG(20, "%s: bit depth = s->params.depth = %d\n", __func__,s->params.depth);
1839 s->params.bytes_per_line = 3 * ceil (s->params.depth * s->params.pixels_per_line / 8.0);
2785 /* bit depth */
2796 DBG(20, "%s: depth list has depth_list[0] = %d entries\n", __func__, s->hw->cap->depth_list[0]);
2799 DBG(20, "%s: Only one depth in list so inactive option\n", __func__);
3237 /* if binary, then disable the bit depth selection and enable threshold */
3239 DBG(17, "%s: binary mode setting depth to 1\n", __func__);
3245 DBG(17, "%s: non-binary mode but only one depth available\n", __func__);
3250 DBG(17, "%s: non-binary mode and depth list available\n", __func__);
3252 s->val[OPT_BIT_DEPTH].w = mode_params[optindex].depth;
3262 mode_params[s->val[OPT_MODE].w].depth = sval->w;