Lines Matching defs:depth
514 if (s->params.depth > 8)
620 if (s->params.depth > 8)
1151 SANE_Int depth;
1170 depth = request->depth;
1184 depth = 8;
1196 depth = 8;
1208 depth = 8;
1219 depth = 8;
1243 XDBG ((6, "%s: color=%s, depth=%d\n", function_name,
1244 color ? "TRUE" : "FALSE", depth));
1250 switch (depth)
1261 XDBG ((6, "%s: unsupported depth=%d\n", function_name, depth));
1276 pixel_align = 32; /* best case for depth = 16 */
1277 while ((depth * pixel_align) % (64 * 8) != 0)
1292 bits_per_line = depth * scan_xs;
1400 params->depth = depth;
2172 XDBG ((6, "%s: enter params depth: %i\n", function_name, params->depth));
2210 if (reader->params.depth == 8)
2212 else if (reader->params.depth == 16)
2218 if (reader->params.depth == 8)
2220 XDBG ((2, "depth 8\n"));
2223 else if (reader->params.depth == 16)
2225 XDBG ((2, "depth 16\n"));
2232 XDBG ((3, "%s: unsupported bit depth (%d)\n",
2233 function_name, reader->params.depth));
4147 s->request.depth = s->val[OPT_BIT_DEPTH].w;
4149 s->request.depth = 8;
4167 params->depth = s->params.depth;
4180 params->depth = 1;
4187 if (params->depth == 1)
4192 if (params->depth == 16)