Home
last modified time | relevance | path

Searched refs:yres (Results 1 - 25 of 49) sorted by relevance

12

/third_party/libinput/src/
H A Dfilter-tablet.c41 int xres, yres; member
88 mm.y = 1.0 * units->y/filter->yres; in tablet_accelerator_filter_flat_pen()
157 create_tablet_filter_flat(int xres, int yres) in create_tablet_filter_flat() argument
164 filter->yres = yres; in create_tablet_filter_flat()
166 filter->yres_scale = DEFAULT_MOUSE_DPI/(25.4 * yres); in create_tablet_filter_flat()
172 create_pointer_accelerator_filter_tablet(int xres, int yres) in create_pointer_accelerator_filter_tablet() argument
176 filter = create_tablet_filter_flat(xres, yres); in create_pointer_accelerator_filter_tablet()
H A Dfilter.h161 create_pointer_accelerator_filter_tablet(int xres, int yres);
H A Devdev-mt-touchpad-buttons.c1065 int xres, yres; in tp_clickfinger_within_distance() local
1078 yres = tp->device->abs.absinfo_y->resolution; in tp_clickfinger_within_distance()
1080 y /= yres; in tp_clickfinger_within_distance()
1101 if (tp->device->abs.dimensions.y/yres < 50) in tp_clickfinger_within_distance()
1104 bottom_threshold = tp->device->abs.absinfo_y->maximum - 20 * yres; in tp_clickfinger_within_distance()
/third_party/libevdev/tools/
H A Dlibevdev-tweak-device.c30 "%s --resolution res[,yres] /dev/input/eventXYZ\n" in usage()
62 parse_resolution_argument(const char *arg, int *xres, int *yres) in parse_resolution_argument() argument
66 matched = sscanf(arg, "%d,%d", xres, yres); in parse_resolution_argument()
72 *yres = *xres; in parse_resolution_argument()
221 parse_options_resolution(int argc, char **argv, int *xres, int *yres) in parse_options_resolution() argument
243 xres, yres)) in parse_options_resolution()
363 set_resolution(struct libevdev *dev, int xres, int yres) in set_resolution() argument
373 abs.resolution = yres; in set_resolution()
394 yres = 0; in main() local
413 &yres); in main()
[all...]
H A Dtouchpad-edge-detector.c169 int xres, yres; in print_udev_override_rule() local
176 yres = round((double)h/size->h); in print_udev_override_rule()
208 dim->top, dim->bottom, yres); in print_udev_override_rule()
213 dim->top, dim->bottom, yres); in print_udev_override_rule()
/third_party/cups-filters/filter/
H A Dpdftops.c312 int xres = 0, yres = 0, /* resolution values */ local
814 yres = header.HWResolution[1];
821 if ((xres == 0) && (yres == 0) &&
822 ((numvalues = sscanf(resolution, "%dx%d", &xres, &yres)) <= 0))
826 if ((xres == 0) && (yres == 0))
832 xres = yres = strtol(val, (char **)&ptr, 10);
836 yres = strtol(ptr + 1, (char **)&ptr, 10);
839 if (ptr <= val || xres <= 0 || yres <= 0 || !ptr ||
853 yres = yres * 25
[all...]
/third_party/backends/backend/genesys/
H A Dsettings.h39 unsigned yres = 0; member
86 unsigned yres = NOT_SET; member
132 if (xres == NOT_SET || yres == NOT_SET || startx == NOT_SET || starty == NOT_SET || in assert_valid()
146 yres == other.yres && in operator ==()
169 serialize(str, x.yres); in serialize()
H A Dgl124.cpp438 unsigned yres; in gl124_init_motor_regs_scan() local
473 yres=min_speed; in gl124_init_motor_regs_scan()
474 linesel = yres / scan_yres - 1; in gl124_init_motor_regs_scan()
479 yres=scan_yres*2; in gl124_init_motor_regs_scan()
484 yres=scan_yres; in gl124_init_motor_regs_scan()
498 if (has_flag(flags, ScanFlag::DISABLE_BUFFER_FULL_MOVE) || (yres >= sensor.full_resolution)) in gl124_init_motor_regs_scan()
512 auto scan_table = create_slope_table(dev->model->asic_type, dev->motor, yres, in gl124_init_motor_regs_scan()
520 fast_dpi=yres; in gl124_init_motor_regs_scan()
713 slope_dpi = session.params.yres * session.params.channels; in init_regs_for_scan_session()
715 slope_dpi = session.params.yres; in init_regs_for_scan_session()
[all...]
H A Dsettings.cpp34 << " xres: " << settings.xres << " yres: " << settings.yres << '\n' in operator <<()
60 << " yres: " << params.yres in operator <<()
H A Dgl841.cpp569 session.params.yres = dev->motor.base_ydpi; in gl841_init_motor_regs_feed()
940 slope_dpi = session.params.yres* session.params.channels; in init_regs_for_scan_session()
942 slope_dpi = session.params.yres; in init_regs_for_scan_session()
957 move -= (dev->head_pos(ScanHeadId::PRIMARY) * session.params.yres) / dev->motor.base_ydpi; in init_regs_for_scan_session()
1024 session.params.yres = dev->settings.yres; in calculate_scan_session()
1392 (dev->model->post_scan / MM_PER_INCH) * dev->settings.yres); in detect_document_end()
1437 if (dev->session.params.yres >= 1200) { in begin_scan()
1442 if (dev->session.params.yres >= 600) { in begin_scan()
1508 session.params.yres in init_regs_for_shading()
[all...]
H A Dlow.cpp880 // to match yres */ in session_adjust_output_pixels()
884 dev.session.params.xres < dev.session.params.yres)) in session_adjust_output_pixels()
922 s.params.xres, s.params.yres, false); in compute_session()
947 s.num_staggered_lines = s.stagger_y.max_shift() * s.params.yres / s.params.xres; in compute_session()
954 if (dev->model->motor_id == MotorId::G4050 && s.params.yres > 600) { in compute_session()
961 s.color_shift_lines_r = (s.color_shift_lines_r * s.params.yres) / dev->motor.base_ydpi; in compute_session()
962 s.color_shift_lines_g = (s.color_shift_lines_g * s.params.yres) / dev->motor.base_ydpi; in compute_session()
963 s.color_shift_lines_b = (s.color_shift_lines_b * s.params.yres) / dev->motor.base_ydpi; in compute_session()
1696 if (!profile.resolutions.matches(session.params.yres)) { in get_motor_profile_ptr()
1819 if (dev_params.yres ! in sanei_genesys_is_compatible_calibration()
[all...]
H A Dgl842.cpp544 slope_dpi = session.params.yres * session.params.channels; in init_regs_for_scan_session()
546 slope_dpi = session.params.yres; in init_regs_for_scan_session()
619 session.params.yres = settings.yres; in calculate_scan_session()
816 session.params.yres = resolution; in init_regs_for_shading()
911 session.params.yres = resolution; in init_regs_for_warmup()
H A Dgl646.cpp455 motor_master[i].dpi == session.params.yres && in init_regs_for_scan_session()
464 session.params.yres, session.params.channels); in init_regs_for_scan_session()
1212 gl646_set_fe(dev, sensor, set, dev->settings.yres); in set_fe()
1447 (dev->model->y_offset * dev->session.params.yres) / MM_PER_INCH); in detect_document_end()
1685 session.params.yres = resolution; in move_back_home()
1803 session.params.yres = resolution; in init_regs_for_shading()
1910 session.params.yres = sensor.full_resolution; in led_calibration()
2090 session.params.yres = sensor.full_resolution; in ad_fe_offset_calibration()
2204 session.params.yres = resolution; in offset_calibration()
2357 session.params.yres in coarse_gain_calibration()
[all...]
H A Dgl846.cpp637 slope_dpi = session.params.yres * session.params.channels; in init_regs_for_scan_session()
639 slope_dpi = session.params.yres; in init_regs_for_scan_session()
712 session.params.yres = settings.yres; in calculate_scan_session()
837 session.params.yres = resolution; in init_regs_for_shading()
/third_party/libinput/tools/
H A Dlibinput-analyze-per-slot-delta.py150 xres, yres = 1, 1
205 yres = 1.0 * absinfo[libevdev.EV_ABS.ABS_Y.value][4]
206 if not xres or not yres:
361 resolution=(xres, yres) if args.use_mm else None,
/third_party/backends/backend/
H A Dcanon-sane.c527 int iPos, xres, yres; in sane_control_option() local
565 yres = s->yres_word_list[1]; in sane_control_option()
570 yres = s->yres_word_list[iPos + 1]; in sane_control_option()
572 s->val[OPT_Y_RESOLUTION].w = yres; in sane_control_option()
1030 int width, length, xres, yres; in sane_get_parameters() local
1041 yres = s->val[OPT_Y_RESOLUTION].w; in sane_get_parameters()
1043 yres = xres; in sane_get_parameters()
1047 if (xres > 0 && yres > 0 && width > 0 && length > 0) in sane_get_parameters()
1052 DBG (11, "sane_get_parameters: length='%d', yres='%d', mud='%d'\n", in sane_get_parameters()
1053 length, yres, in sane_get_parameters()
[all...]
H A Dibm.c886 int width, length, xres, yres; in sane_get_parameters() local
894 yres = s->val[OPT_Y_RESOLUTION].w; in sane_get_parameters()
898 if (xres > 0 && yres > 0 && width > 0 && length > 0) in sane_get_parameters()
901 s->params.lines = length * yres / s->hw->info.mud; in sane_get_parameters()
964 s->yres = s->val[OPT_Y_RESOLUTION].w; in sane_start()
991 _lto2b(s->yres, wbuf.y_res); in sane_start()
1031 DBG (5, "yres=%d\n", _2btol(wbuf.y_res)); in sane_start()
1055 DBG (5, "yres=%d\n", _2btol(wbuf.y_res)); in sane_start()
H A Dricoh.c744 int width, length, xres, yres; in sane_get_parameters() local
752 yres = s->val[OPT_Y_RESOLUTION].w; in sane_get_parameters()
756 if (xres > 0 && yres > 0 && width > 0 && length > 0) in sane_get_parameters()
759 s->params.lines = length * yres / s->hw->info.mud; in sane_get_parameters()
819 s->yres = s->val[OPT_Y_RESOLUTION].w; in sane_start()
843 _lto2b(s->yres, wbuf.y_res); in sane_start()
881 DBG (5, "yres=%d\n", _2btol(wbuf.y_res)); in sane_start()
905 DBG (5, "yres=%d\n", _2btol(wbuf.y_res)); in sane_start()
H A Dumax1220u-common.c1794 yres = 75 => ydpi = 150 => ysamp = 2 => yoff_scale = 8 in read_raw_strip_color()
1795 yres = 150 => ydpi = 150 => ysamp = 1 => yoff_scale = 4 in read_raw_strip_color()
1796 yres = 300 => ydpi = 300 => ysamp = 1 => yoff_scale = 2 in read_raw_strip_color()
1797 yres = 600 => ydpi = 600 => ysamp = 1 => yoff_scale = 1 in read_raw_strip_color()
1893 const int h, const int xres, const int yres) in UMAX_set_scan_parameters()
1901 int bottom = yo + h * 600 / yres; in UMAX_set_scan_parameters()
1907 DBG (2, "xres = %d, yres = %d\n", xres, yres); in UMAX_set_scan_parameters()
1923 if ((yres != 75) && (yres ! in UMAX_set_scan_parameters()
1888 UMAX_set_scan_parameters(UMAX_Handle * scan, const int color, const int xo, const int yo, const int w, const int h, const int xres, const int yres) UMAX_set_scan_parameters() argument
[all...]
H A Dtamarack.h188 unsigned char yres[2]; member
H A Dlexmark.c991 SANE_Int xres, yres, width_px, height_px; in sane_get_parameters() local
1010 yres = lexmark_device->val[OPT_RESOLUTION].w; in sane_get_parameters()
1011 if (yres == 1200) in sane_get_parameters()
1014 xres = yres; in sane_get_parameters()
1052 device_params->lines = (height_px * yres) / 600; in sane_get_parameters()
H A Dcanon.h272 SANE_Int yres; member
/third_party/ffmpeg/libavdevice/
H A Dfbdev_enc.c128 disp_height = FFMIN(fbdev->varinfo.yres, video_height); in fbdev_write_packet()
160 int diff = (video_height + fbdev->yoffset) - fbdev->varinfo.yres; in fbdev_write_packet()
/third_party/cups-filters/cupsfilters/
H A Draster.c314 yres; /* Y resolution */ in cupsRasterParseIPPOptions() local
317 xres = yres = strtol(val, (char **)&ptr, 10); in cupsRasterParseIPPOptions()
321 yres = strtol(ptr + 1, (char **)&ptr, 10); in cupsRasterParseIPPOptions()
324 if (ptr <= val || xres <= 0 || yres <= 0 || !ptr || in cupsRasterParseIPPOptions()
343 yres = yres * 254 / 100; in cupsRasterParseIPPOptions()
346 h->HWResolution[1] = yres; in cupsRasterParseIPPOptions()
H A Dimage-tiff.c54 yres; /* Vertical resolution */ in _cupsImageReadTIFF() local
157 TIFFGetField(tif, TIFFTAG_YRESOLUTION, &yres) && in _cupsImageReadTIFF()
163 img->yppi = yres; in _cupsImageReadTIFF()
168 img->yppi = yres * 2.54; in _cupsImageReadTIFF()
183 xres, yres, resunit); in _cupsImageReadTIFF()

Completed in 32 milliseconds

12