Home
last modified time | relevance | path

Searched refs:tly (Results 1 - 12 of 12) sorted by relevance

/third_party/backends/backend/
H A Dsnapscan-options.c576 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 Dcoolscan.h169 int tly; /* Top edge in ILU */ member
H A Dsnapscan.h406 SANE_Fixed tly; /* window top left 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()
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 Dma1509.c703 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 Dmustek.c1889 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 Davision.h357 long tly; member
H A Dartec_eplus48u.c4113 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 Davision.c1850 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 Dlexmark_low.c93 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 Dsnapscan.c1111 height = SANE_UNFIX (pss->bry - pss->tly); in sane_get_parameters()
H A Dsnapscan-scsi.c1001 (int) (pos_factor*IN_PER_MM*SANE_UNFIX(pss->tly)); in set_window()
1007 /* Check for brx > tlx and bry > tly */ in set_window()

Completed in 38 milliseconds