Lines Matching defs:depth

261   enum color_depths             depth;
315 ret = hp5590_calc_pixel_bits (scanner->dpi, scanner->depth, &_pixel_bits);
643 ptr->depth = DEPTH_BW;
1000 switch (scanner->depth) {
1242 scanner->depth = DEPTH_BW;
1246 scanner->depth = DEPTH_GRAY;
1250 scanner->depth = DEPTH_COLOR_24;
1254 scanner->depth = DEPTH_COLOR_48;
1436 switch (scanner->depth) {
1438 params->depth = pixel_bits;
1443 params->depth = pixel_bits;
1448 params->depth = pixel_bits / 3;
1453 params->depth = pixel_bits / 3;
1458 DBG(DBG_err, "%s: Unknown depth\n", __func__);
1464 "pixels_per_line: %u, lines: %u, depth: %u\n",
1467 params->lines, params->depth);
1580 scanner->depth, scanner->preview ? MODE_PREVIEW : MODE_NORMAL,
1599 if ( scanner->depth == DEPTH_COLOR_24
1600 || scanner->depth == DEPTH_COLOR_48)
1682 int is_linear = (scanner->depth == DEPTH_BW);
1705 if ( ! (scanner->depth == DEPTH_BW || scanner->depth == DEPTH_GRAY))
1731 if (scanner->depth == DEPTH_GRAY)
1739 else if (scanner->depth == DEPTH_BW)
1764 if (scanner->depth == DEPTH_BW)
1780 if (scanner->depth == DEPTH_BW)
1792 if (scanner->depth == DEPTH_BW)
1803 if (scanner->depth == DEPTH_BW)
1889 if ( ! (scanner->depth == DEPTH_COLOR_24 || scanner->depth == DEPTH_COLOR_48))
1895 if (scanner->depth == DEPTH_COLOR_48)
1910 if ((scanner->depth == DEPTH_COLOR_48) && (bytes_per_line_limit > 3))
1939 if (scanner->depth == DEPTH_COLOR_24)
1948 else if (scanner->depth == DEPTH_COLOR_48)
1975 if (scanner->depth == DEPTH_COLOR_24)
1986 else if (scanner->depth == DEPTH_COLOR_48)
2017 if (scanner->depth == DEPTH_COLOR_24)
2048 if (scanner->depth == DEPTH_COLOR_24)
2165 if (scanner->depth == DEPTH_COLOR_48)
2230 if (scanner->depth == DEPTH_COLOR_48)
2495 ((scanner->depth == DEPTH_COLOR_48) || (scanner->depth == DEPTH_COLOR_24)))
2505 SANE_Bool color_48 = (scanner->depth == DEPTH_COLOR_48);