Lines Matching defs:pixels
361 the number of pixels the ccd needs to send,
369 the amount of pixels transferred.
770 session.params.pixels = 50;
936 session.params.pixels = 50;
1079 session.params.pixels = 50;
1174 unsigned pixels = dev.model->x_size_calib_mm * dpi / MM_PER_INCH;
1191 session.params.pixels = pixels;
1269 // count of white/black pixels depending on the color searched
1272 // when searching for black, detect white pixels
1277 // when searching for white, detect black pixels
1285 // count*100/pixels < 3
1293 DBG(DBG_data, "%s: pixels=%zu, count=%zu (%zu%%)\n", __func__,
1303 // count of white/black pixels depending on the color searched
1305 // when searching for black, detect white pixels
1309 // when searching for white, detect black pixels
1323 DBG(DBG_data, "%s: pixels=%zu, count=%zu (%zu%%)\n", __func__, image.get_width(),
1348 // FIXME: start with the second line because the black pixels often have noise on the first
1434 // compute divider factor to compute final pixels number
1488 session.params.pixels = target_pixels;
1800 session.params.pixels = dev.model->x_size_calib_mm * resolution / MM_PER_INCH;
1812 std::size_t pixels = session.output_pixels;
1874 for (std::size_t x = pixels / 4; x < (pixels * 3 / 4); x++) {
1995 session.params.pixels = dev.model->x_size_calib_mm * resolution / MM_PER_INCH;
2245 pixels_per_line = dev->calib_session.params.pixels;
2365 pixels_per_line = dev->calib_session.params.pixels;
2380 /* we average values on 'the left' where CCD pixels are under casing and
2590 pixels_per_line = dev->calib_session.params.pixels;
2771 * @param pixels_per_line number of pixels per line
2792 DBG(DBG_info, "%s: pixels=%d, offset=%d\n", __func__, pixels_per_line, o);
2861 DBG(DBG_info, "%s: averaging over %d pixels\n", __func__, avgpixels);
2896 /*fill all pixels, even if only the last one is relevant*/
2914 /*fill all pixels, even if only the last one is relevant*/
2952 * @param pixels_per_line number of pixels per line
3023 * @param pixels_per_line number of pixels per line
3133 DBG(DBG_info, "%s: pixels_per_line=%d, coeff=0x%04x, averaging over %d pixels\n", __func__,
3209 pixels_per_line = dev->calib_session.params.pixels + start_offset;
3792 // in case we haven't black shading data, build it from black pixels of white calibration
4254 settings.pixels = pixels_per_line;