Home
last modified time | relevance | path

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

/third_party/backends/backend/
H A Dsnapscan-options.c565 ps->tlx = ps->pdev->x_range.min; in init_options()
1125 *(SANE_Fixed *) v = pss->tlx; in sane_control_option()
1426 pss->tlx = *(SANE_Fixed *) v; in sane_control_option()
1428 if (pss->tlx > pdev->x_range.max) { in sane_control_option()
1429 pss->tlx = pdev->x_range.max; in sane_control_option()
1431 if (pss->brx < pss->tlx) { in sane_control_option()
1432 pss->brx = pss->tlx; in sane_control_option()
1455 if (pss->brx < pss->tlx) { in sane_control_option()
1456 pss->tlx = pss->brx; in sane_control_option()
1484 pss->tlx in sane_control_option()
[all...]
H A Dcoolscan.h168 int tlx; /* Left edge in 'Internal Length Units'. */ member
H A Dsnapscan.h405 SANE_Fixed tlx; /* window top left x */ member
H A Dcoolscan.c405 x = s->xmaxpix - (s->brx + s->tlx) / 2; in coolscan_autofocus_LS30()
434 x = s->xmaxpix - (s->brx + s->tlx) / 2; in coolscan_autofocus()
574 set_WD_width (buffer_r, (s->brx - s->tlx + 1)); in coolscan_set_window_param_LS20()
669 s->x_nres, s->y_nres, s->tlx, s->tly); in coolscan_set_window_param_LS20()
671 s->brx - s->tlx, s->MUD, s->brx); in coolscan_set_window_param_LS20()
742 set_WD_ULX (buffer_r, s->tlx); in coolscan_set_window_param_LS30()
744 set_WD_width (buffer_r, (s->brx - s->tlx+1)); in coolscan_set_window_param_LS30()
801 s->x_nres, s->y_nres, s->tlx, s->tly); in coolscan_set_window_param_LS30()
803 s->brx - s->tlx, s->MUD, s->brx); in coolscan_set_window_param_LS30()
1353 { pic_dot = (s->brx - s->tlx in pixels_per_line()
[all...]
H A Dma1509.c703 SANE_Int tlx, tly, width, height; in set_window() local
727 tlx = SANE_UNFIX (s->val[OPT_TL_X].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()
758 STORE16B (cp, tlx); in set_window()
H A Dmustek.c1889 SANE_Int tlx, tly, brx, bry; in area_and_windows() local
1898 tlx = SANE_UNFIX (s->val[OPT_TL_X].w) * eights_per_mm + 0.5; in area_and_windows()
1902 STORE16L (cp, tlx); in area_and_windows()
1906 DBG (5, "area_and_windows: tlx=%d (%d mm); tly=%d (%d mm); " in area_and_windows()
1907 "brx=%d (%d mm); bry=%d (%d mm)\n", tlx, 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
1929 tlx = SANE_UNFIX (s->hw->x_range.max - s->val[OPT_BR_X].w) in area_and_windows()
1934 tlx = SANE_UNFIX (s->val[OPT_TL_X].w) * pixels_per_mm + 0.5; in area_and_windows()
1940 STORE16L (cp, tlx); in area_and_windows()
1971 SANE_Int tlx, tly, width, height; set_window_se() local
[all...]
H A Davision.h356 long tlx; member
H A Dartec_eplus48u.c4112 int tlx; in sane_get_parameters() local
4120 tlx = s->val[OPT_TL_X].w; in sane_get_parameters()
4125 /*make sure, that tlx < brx and tly < bry in sane_get_parameters()
4127 if (tlx > brx) in sane_get_parameters()
4129 tmp = tlx; in sane_get_parameters()
4130 tlx = brx; in sane_get_parameters()
4152 s->request.xs = brx - tlx; /**< Width */ 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()
2990 s->avdimen.tlx = (long int) (s->avdimen.hw_xres * SANE_UNFIX (s->val[OPT_TL_X].w) in compute_parameters()
3192 s->avdimen.hw_pixels_per_line = (int) (s->avdimen.brx - s->avdimen.tlx); in compute_parameters()
6284 set_quad (cmd.window.descriptor.ulx, s->avdimen.tlx * base_dpi_abs / s->avdimen.hw_xres); in set_window()
6656 src_ptr = background + s->avdimen.tlx * bpp; in get_background_raster()
H A Dsnapscan.c1110 width = SANE_UNFIX (pss->brx - pss->tlx); in sane_get_parameters()
H A Dsnapscan-scsi.c999 (int) (pos_factor*IN_PER_MM*SANE_UNFIX(pss->tlx)); in set_window()
1007 /* Check for brx > tlx and bry > tly */ in set_window()
H A Dlexmark_low.c92 SANE_Int tlx,
2402 SANE_Int tlx, in low_set_scan_area()
2440 hor_start += tlx; 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 39 milliseconds