/third_party/backends/backend/ |
H A D | snapscan-options.c | 576 ps->tly = ps->pdev->y_range.min; in init_options() 1128 *(SANE_Fixed *) v = pss->tly; in sane_control_option() 1438 pss->tly = *(SANE_Fixed *) v; in sane_control_option() 1440 if (pss->tly > pdev->y_range.max){ in sane_control_option() 1441 pss->tly = 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() 1467 if (pss->bry < pss->tly) { in sane_control_option() 1468 pss->tly = pss->bry; in sane_control_option() 1485 pss->tly in sane_control_option() [all...] |
H A D | coolscan.h | 169 int tly; /* Top edge in ILU */ member
|
H A D | snapscan.h | 406 SANE_Fixed tly; /* window top left y */ member
|
H A D | coolscan.c | 406 y = (s->bry + s->tly) / 2; in coolscan_autofocus_LS30() 435 y = (s->bry + s->tly) / 2; in coolscan_autofocus() 573 set_WD_ULY (buffer_r, s->tly); /* upper_edge y */ in coolscan_set_window_param_LS20() 575 set_WD_length (buffer_r, (s->bry - s->tly + 1)); in coolscan_set_window_param_LS20() 669 s->x_nres, s->y_nres, s->tlx, s->tly); in coolscan_set_window_param_LS20() 743 set_WD_ULY (buffer_r, s->tly); /* upper_edge y */ in coolscan_set_window_param_LS30() 745 set_WD_length (buffer_r, (s->bry - s->tly+1)); in coolscan_set_window_param_LS30() 801 s->x_nres, s->y_nres, s->tlx, s->tly); 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 in lines_per_scan() [all...] |
H A D | ma1509.c | 703 SANE_Int tlx, tly, width, height; in set_window() local 728 tly = SANE_UNFIX (s->val[OPT_TL_Y].w) * pixels_per_mm + 0.5; in set_window() 751 DBG (4, "set_window: tlx=%d (%d mm); tly=%d (%d mm); width=%d (%d mm); " in set_window() 752 "height=%d (%d mm)\n", tlx, (int) (tlx / pixels_per_mm), tly, in set_window() 753 (int) (tly / pixels_per_mm), width, (int) (width / pixels_per_mm), in set_window() 760 STORE16B (cp, tly); in set_window()
|
H A D | mustek.c | 1889 SANE_Int tlx, tly, brx, bry; in area_and_windows() local 1899 tly = SANE_UNFIX (s->val[OPT_TL_Y].w) * eights_per_mm + 0.5; in area_and_windows() 1903 STORE16L (cp, tly); in area_and_windows() 1906 DBG (5, "area_and_windows: tlx=%d (%d mm); tly=%d (%d mm); " in area_and_windows() 1908 (int) (tlx / eights_per_mm), tly, (int) (tly / eights_per_mm), brx, in area_and_windows() 1914 SANE_Int tlx, tly, brx, bry; in area_and_windows() local 1938 tly = SANE_UNFIX (s->val[OPT_TL_Y].w) * pixels_per_mm + 0.5; in area_and_windows() 1941 STORE16L (cp, tly); in area_and_windows() 1944 DBG (5, "area_and_windows: tlx=%d (%d mm); tly in area_and_windows() 1971 SANE_Int tlx, tly, width, height; set_window_se() local [all...] |
H A D | avision.h | 357 long tly; member
|
H A D | artec_eplus48u.c | 4113 int tly; in sane_get_parameters() local 4121 tly = s->val[OPT_TL_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() 4135 tmp = tly; in sane_get_parameters() 4136 tly = bry; in sane_get_parameters() 4150 s->request.y0 = tly; /**< Top boundary */ in sane_get_parameters() 4153 s->request.ys = bry - tly; /**< Height */ in sane_get_parameters()
|
H A D | avision.c | 1850 DBG (dbg_level, "%s: tlx: %ld, tly: %ld, brx: %ld, bry: %ld\n", in debug_print_avdimen() 1851 func, avdimen->tlx, avdimen->tly, in debug_print_avdimen() 2985 DBG (3, "sane_compute_parameters: tlx: %f, tly: %f, brx: %f, bry: %f\n", in compute_parameters() 2992 s->avdimen.tly = (long int) (s->avdimen.hw_yres * SANE_UNFIX (s->val[OPT_TL_Y].w) in compute_parameters() 3195 s->avdimen.hw_lines = (int) (s->avdimen.bry - s->avdimen.tly - in compute_parameters() 6285 set_quad (cmd.window.descriptor.uly, s->avdimen.tly * base_dpi_abs / s->avdimen.hw_yres); in set_window()
|
H A D | lexmark_low.c | 93 SANE_Int tly, 2403 SANE_Int tly, in low_set_scan_area() 2420 vert_start += (tly * res) / 600; in low_set_scan_area() 2449 DBG (2, "low_set_scan_area: vert_start: %d (tly=%d)\n", vert_start, tly); 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
|
H A D | snapscan.c | 1111 height = SANE_UNFIX (pss->bry - pss->tly); in sane_get_parameters()
|
H A D | snapscan-scsi.c | 1001 (int) (pos_factor*IN_PER_MM*SANE_UNFIX(pss->tly)); in set_window() 1007 /* Check for brx > tlx and bry > tly */ in set_window()
|