Lines Matching defs:depth
96 DBG (1, "sanei_ir_create_norm_histo: depth %d, HISTOGRAM_SHIFT %d => ignore %d bits\n", params->depth, HISTOGRAM_SHIFT, is);
207 if (params->depth > 8)
209 i = 1 << (params->depth - HISTOGRAM_SHIFT);
293 if (params->depth > 8)
295 i = 1 << (params->depth - HISTOGRAM_SHIFT);
393 if (params->depth > 8)
395 it = 1 << (params->depth - HISTOGRAM_SHIFT);
420 if ((params->depth < 8) || (params->depth > 16) ||
443 /* Convert image from >8 bit depth to an 8 bit image
453 if ((params->depth < 8) || (params->depth > 16))
474 out_params->depth = 8;
478 is = params->depth - 8;
522 SANE_Int depth;
545 depth = params->depth;
546 len = 1 << depth;
781 int depth;
786 depth = params->depth;
787 if (depth != 8)
789 a_val = a_val << (depth - 8);
790 b_val = b_val << (depth - 8);