/third_party/libinput/src/ |
D | filter-tablet.c | 41 int xres, yres; member 88 mm.y = 1.0 * units->y/filter->yres; in tablet_accelerator_filter_flat_pen() 156 create_tablet_filter_flat(int xres, int yres) in create_tablet_filter_flat() argument 163 filter->yres = yres; in create_tablet_filter_flat() 165 filter->yres_scale = DEFAULT_MOUSE_DPI/(25.4 * yres); in create_tablet_filter_flat() 171 create_pointer_accelerator_filter_tablet(int xres, int yres) in create_pointer_accelerator_filter_tablet() argument 175 filter = create_tablet_filter_flat(xres, yres); in create_pointer_accelerator_filter_tablet()
|
D | filter.h | 132 create_pointer_accelerator_filter_tablet(int xres, int yres);
|
D | evdev-mt-touchpad-buttons.c | 1057 int xres, yres; in tp_clickfinger_within_distance() local 1070 yres = tp->device->abs.absinfo_y->resolution; in tp_clickfinger_within_distance() 1072 y /= yres; in tp_clickfinger_within_distance() 1093 if (tp->device->abs.dimensions.y/yres < 50) in tp_clickfinger_within_distance() 1096 bottom_threshold = tp->device->abs.absinfo_y->maximum - 20 * yres; in tp_clickfinger_within_distance()
|
D | evdev.c | 1557 size_t *yres) in evdev_read_attr_res_prop() argument 1572 *yres = dim.y; in evdev_read_attr_res_prop() 1616 yres = EVDEV_FAKE_RESOLUTION; in evdev_fix_abs_resolution() local 1638 if (!evdev_read_attr_res_prop(device, &xres, &yres) && in evdev_fix_abs_resolution() 1641 yres = (absy->maximum - absy->minimum)/heightmm; in evdev_fix_abs_resolution() 1647 libevdev_set_abs_resolution(evdev, ycode, yres); in evdev_fix_abs_resolution()
|
D | evdev-mt-touchpad.c | 3448 int xres, yres; in tp_init_default_resolution() local 3468 yres = device->abs.dimensions.y/touchpad_height_mm; in tp_init_default_resolution() 3470 libevdev_set_abs_resolution(device->evdev, ABS_Y, yres); in tp_init_default_resolution() 3472 libevdev_set_abs_resolution(device->evdev, ABS_MT_POSITION_Y, yres); in tp_init_default_resolution()
|
/third_party/libevdev/tools/ |
D | libevdev-tweak-device.c | 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() 453 set_resolution(dev, xres, yres); in main()
|
D | touchpad-edge-detector.c | 169 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/ |
D | pdftops.c | 312 int xres = 0, yres = 0, /* resolution values */ in main() local 814 yres = header.HWResolution[1]; in main() 821 if ((xres == 0) && (yres == 0) && in main() 822 ((numvalues = sscanf(resolution, "%dx%d", &xres, &yres)) <= 0)) in main() 826 if ((xres == 0) && (yres == 0)) in main() 832 xres = yres = strtol(val, (char **)&ptr, 10); in main() 836 yres = strtol(ptr + 1, (char **)&ptr, 10); in main() 839 if (ptr <= val || xres <= 0 || yres <= 0 || !ptr || in main() 853 yres = yres * 254 / 100; in main() 858 if ((xres > 0) || (yres > 0)) in main() [all …]
|
/third_party/libinput/tools/ |
D | libinput-analyze-per-slot-delta.py | 150 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/cups-filters/cupsfilters/ |
D | raster.c | 314 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()
|
D | image-tiff.c | 54 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()
|
D | ppdgenerator.c | 94 int *xres, int *yres, char *name, size_t namesize); 1617 int xres, yres; /* Resolution values */ in ppdCreateFromIPP2() local 3847 yres = common_def->y; in ppdCreateFromIPP2() 3848 if (xres == yres) in ppdCreateFromIPP2() 3851 cupsFilePrintf(fp, "*DefaultResolution: %dx%ddpi\n", xres, yres); in ppdCreateFromIPP2() 4492 int *yres, /* O - Y resolution in DPI */ in pwg_ppdize_resolution() argument 4498 *xres = ippGetResolution(attr, element, yres, &units); in pwg_ppdize_resolution() 4502 *yres = (int)(*yres * 2.54); in pwg_ppdize_resolution() 4506 if (*xres == *yres) in pwg_ppdize_resolution() 4509 snprintf(name, namesize, "%dx%ddpi", *xres, *yres); in pwg_ppdize_resolution()
|
/third_party/gstreamer/gstplugins_bad/sys/fbdev/ |
D | gstfbdevsink.c | 245 fbdevsink->cy = ((int) fbdevsink->varinfo.yres - fbdevsink->height) / 2; in gst_fbdevsink_setcaps() 254 if (fbdevsink->lines > fbdevsink->varinfo.yres) in gst_fbdevsink_setcaps() 255 fbdevsink->lines = fbdevsink->varinfo.yres; in gst_fbdevsink_setcaps()
|
/third_party/ffmpeg/libavdevice/ |
D | fbdev_enc.c | 128 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()
|
D | fbdev_dec.c | 117 fbdev->height = fbdev->varinfo.yres; in fbdev_read_header()
|
/third_party/NuttX/include/nuttx/video/ |
D | fb.h | 298 fb_coord_t yres; /* Vertical resolution in pixel rows */ member
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/ |
D | gstexiftag.c | 2802 GstExifTagData *yres = NULL; in deserialize_resolution() local 2829 yres = gst_exif_reader_get_pending_tag (exif_reader, EXIF_TAG_YRESOLUTION); in deserialize_resolution() 2830 if (yres) { in deserialize_resolution() 2832 yres->count, yres->offset, multiplier, FALSE); in deserialize_resolution()
|
/third_party/cups-filters/utils/ |
D | cups-browsed.c | 1748 int xres[num_resolution], yres[num_resolution]; in add_resolution_attributes() local 1752 yres[i] = resolution->y; in add_resolution_attributes() 1756 IPP_RES_PER_INCH, xres, yres); in add_resolution_attributes() 2961 int xres, yres; in get_cluster_default_attributes() local 3219 yres = res->y; in get_cluster_default_attributes() 3222 IPP_RES_PER_INCH, xres, yres); in get_cluster_default_attributes() 3223 debug_printf("Default Resolution : %dx%d\n", xres, yres); in get_cluster_default_attributes() 6173 int xres, yres; in on_job_state() local 6578 yres = res->y; in on_job_state() 6579 if (xres == yres) in on_job_state() [all …]
|
/third_party/libinput/patch/diff_libinput_mmi/libinput/ |
D | libinput_0000.diff | 3962 + size_t yres = 0; 3967 + yres = (absy->maximum - absy->minimum) / heightmm; 3968 + if (xres == 0 || yres == 0) { 3972 + libevdev_set_abs_resolution(evdev, ABS_Y, yres);
|
/third_party/libevdev/ |
D | third_party_libevdev.diff | 32641 +--resolution res[,yres] /dev/input/eventX 32680 +.B --resolution res[,yres] 32735 + "%s --resolution res[,yres] /dev/input/eventXYZ\n" 32767 +parse_resolution_argument(const char *arg, int *xres, int *yres) 32771 + matched = sscanf(arg, "%d,%d", xres, yres); 32777 + *yres = *xres; 32926 +parse_options_resolution(int argc, char **argv, int *xres, int *yres) 32948 + xres, yres)) 33068 +set_resolution(struct libevdev *dev, int xres, int yres) 33078 + abs.resolution = yres; [all …]
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 60935 __u32 yres; member 61073 u32 yres; member 61350 u32 yres; member
|
/third_party/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 33412 …<var-decl name="yres" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_connector.… 35900 …<var-decl name="yres" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/fb.h" l… 36345 …<var-decl name="yres" type-id="19c2251e" visibility="default" filepath="include/linux/fb.h" line="… 40182 …<var-decl name="yres" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_connector.… 67797 …<var-decl name="yres" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/fb.h" l… 68059 …<var-decl name="yres" type-id="19c2251e" visibility="default" filepath="include/linux/fb.h" line="…
|
D | test-PR27569-v0.abi | 33383 …<var-decl name="yres" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_connector.… 35871 …<var-decl name="yres" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/fb.h" l… 36316 …<var-decl name="yres" type-id="19c2251e" visibility="default" filepath="include/linux/fb.h" line="… 40153 …<var-decl name="yres" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_connector.… 67783 …<var-decl name="yres" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/fb.h" l… 68045 …<var-decl name="yres" type-id="19c2251e" visibility="default" filepath="include/linux/fb.h" line="…
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 77286 xres = 800, yres = 480, xres_virtual = 1920, yres_virtual = 1200,
|