kopia lustrzana https://gitlab.com/sane-project/backends
Remove "nested" comment
rodzic
22b17e232a
commit
2f72ee5b8f
|
@ -93,7 +93,7 @@ sanei_ir_create_norm_histo (const SANE_Parameters * params,
|
|||
DBG (1, "sanei_ir_create_norm_histo: %d pixels_per_line, %d lines => %d num_pixels\n", params->pixels_per_line, params->lines, num_pixels);
|
||||
DBG (1, "sanei_ir_create_norm_histo: histo_data[] with %d x %ld bytes\n", HISTOGRAM_SIZE, sizeof(int));
|
||||
/* Populate the histogram */
|
||||
is = 16 - HISTOGRAM_SHIFT; /*params->depth - HISTOGRAM_SHIFT; /* Number of data bits to ignore */
|
||||
is = 16 - HISTOGRAM_SHIFT; /* Number of data bits to ignore */
|
||||
DBG (1, "sanei_ir_create_norm_histo: depth %d, HISTOGRAM_SHIFT %d => ignore %d bits\n", params->depth, HISTOGRAM_SHIFT, is);
|
||||
for (i = num_pixels; i > 0; i--) {
|
||||
histo_data[*img_data++ >> is]++;
|
||||
|
|
Ładowanie…
Reference in New Issue