Home
last modified time | relevance | path

Searched refs:bry (Results 1 - 11 of 11) sorted by relevance

/third_party/backends/backend/
H A Dsnapscan-options.c598 ps->bry = ps->pdev->y_range.max; in init_options()
1134 *(SANE_Fixed *) v = pss->bry; in sane_control_option()
1416 if (pss->bry > pss->pdev->y_range.max) in sane_control_option()
1417 pss->bry = pss->pdev->y_range.max; in sane_control_option()
1443 if (pss->bry < pss->tly) { in sane_control_option()
1444 pss->bry = pss->tly; in sane_control_option()
1462 pss->bry = *(SANE_Fixed *) v; in sane_control_option()
1464 if (pss->bry < pdev->y_range.min) { in sane_control_option()
1465 pss->bry = pdev->y_range.min; in sane_control_option()
1467 if (pss->bry < ps in sane_control_option()
[all...]
H A Dcoolscan.h171 int bry; /* Bottom edge in ILU. */ member
H A Dsnapscan.h408 SANE_Fixed bry; /* window bottom right y */ member
H A Dcoolscan.c406 y = (s->bry + s->tly) / 2; in coolscan_autofocus_LS30()
435 y = (s->bry + s->tly) / 2; in coolscan_autofocus()
575 set_WD_length (buffer_r, (s->bry - s->tly + 1)); in coolscan_set_window_param_LS20()
745 set_WD_length (buffer_r, (s->bry - s->tly+1)); in coolscan_set_window_param_LS30()
1367 { pic_line = (s->bry - s->tly + s->y_nres) / s->y_nres; in lines_per_scan()
1370 { pic_line = (( s->bry - s->tly + 1.0 ) / s->y_nres); in lines_per_scan()
1750 s->bry = s->ymaxpix; /* 2700 / 1200; */ in coolscan_initialize_values()
3457 *(SANE_Word *) val = SANE_FIX (iluToMm (scanner->bry)); in sane_control_option()
3799 scanner->bry = mmToIlu (SANE_UNFIX (*(SANE_Word *) val)); in sane_control_option()
H A Davision.h359 long bry; member
H A Davision.c1850 DBG (dbg_level, "%s: tlx: %ld, tly: %ld, brx: %ld, bry: %ld\n", in debug_print_avdimen()
1852 avdimen->brx, avdimen->bry); in debug_print_avdimen()
2985 DBG (3, "sane_compute_parameters: tlx: %f, tly: %f, brx: %f, bry: %f\n", in compute_parameters()
2996 s->avdimen.bry = (long int) (s->avdimen.hw_yres * SANE_UNFIX (s->val[OPT_BR_Y].w) in compute_parameters()
3007 s->avdimen.bry += 2 * s->avdimen.line_difference; in compute_parameters()
3009 /* limit bry + line_difference to real scan boundary */ in compute_parameters()
3013 DBG (3, "sane_compute_parameters: y_max: %ld, bry: %ld, line_difference: %d\n", in compute_parameters()
3014 y_max, s->avdimen.bry, s->avdimen.line_difference); in compute_parameters()
3016 if (s->avdimen.bry + 2 * s->avdimen.line_difference > y_max) { in compute_parameters()
3017 DBG (1, "sane_compute_parameters: bry limite in compute_parameters()
[all...]
H A Dmustek.c1889 SANE_Int tlx, tly, brx, bry; in area_and_windows() local
1901 bry = SANE_UNFIX (s->val[OPT_BR_Y].w) * eights_per_mm + 0.5; in area_and_windows()
1905 STORE16L (cp, bry); in area_and_windows()
1907 "brx=%d (%d mm); bry=%d (%d mm)\n", tlx, in area_and_windows()
1909 (int) (brx / eights_per_mm), bry, (int) (bry / eights_per_mm)); in area_and_windows()
1914 SANE_Int tlx, tly, brx, bry; in area_and_windows() local
1939 bry = SANE_UNFIX (s->val[OPT_BR_Y].w) * pixels_per_mm + 0.5 + offset; in area_and_windows()
1943 STORE16L (cp, bry); in area_and_windows()
1945 "brx=%d (%d mm); bry in area_and_windows()
[all...]
H A Dartec_eplus48u.c4115 int bry; in sane_get_parameters() local
4123 bry = s->val[OPT_BR_Y].w; in sane_get_parameters()
4125 /*make sure, that tlx < brx and tly < bry in sane_get_parameters()
4133 if (tly > bry) in sane_get_parameters()
4136 tly = bry; in sane_get_parameters()
4137 bry = tmp; in sane_get_parameters()
4153 s->request.ys = bry - tly; /**< Height */ in sane_get_parameters()
H A Dsnapscan-scsi.c996 check_range(&(pss->bry), pss->pdev->y_range); in set_window()
1005 (int) (pos_factor*IN_PER_MM*SANE_UNFIX(pss->bry)); in set_window()
1007 /* Check for brx > tlx and bry > tly */ in set_window()
H A Dsnapscan.c1111 height = SANE_UNFIX (pss->bry - pss->tly); in sane_get_parameters()
H A Dlexmark_low.c95 SANE_Int bry,
2405 SANE_Int bry, in low_set_scan_area()
2419 vert_end = vert_start + (bry * res) / 600; in low_set_scan_area()
2401 low_set_scan_area(SANE_Int res, SANE_Int tlx, SANE_Int tly, SANE_Int brx, SANE_Int bry, SANE_Int offset, SANE_Bool half_step, SANE_Byte * regs, Lexmark_Device * dev) low_set_scan_area() argument

Completed in 34 milliseconds