Home
last modified time | relevance | path

Searched refs:rel_y (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstgloverlaycompositor.c248 float rel_x, rel_y, rel_w, rel_h; in gst_gl_composition_overlay_add_transformation() local
264 rel_y = (float) comp_y / (float) height; in gst_gl_composition_overlay_add_transformation()
271 rel_y = (1.0 - rel_y) * 2.0 - 1.0; in gst_gl_composition_overlay_add_transformation()
280 overlay->positions[1] = rel_y * yswap; in gst_gl_composition_overlay_add_transformation()
284 overlay->positions[5] = rel_y * yswap; in gst_gl_composition_overlay_add_transformation()
288 overlay->positions[9] = (rel_y - rel_h) * yswap; in gst_gl_composition_overlay_add_transformation()
292 overlay->positions[13] = (rel_y - rel_h) * yswap; in gst_gl_composition_overlay_add_transformation()
/third_party/weston/shared/
Dframe.c682 int rel_x, rel_y; in frame_find_button() local
686 rel_y = y - button->allocation.y; in frame_find_button()
689 0 <= rel_y && rel_y < button->allocation.height) in frame_find_button()
/third_party/libinput/tools/
Dlibinput-debug-gui.c162 int rel_x, rel_y; /* REL_X/Y */ member
214 if (w->evdev.rel_y) { in draw_evdev_rel()
215 int dir = w->evdev.rel_y > 0 ? 1 : -1; in draw_evdev_rel()
216 for (int i = 0; i < abs(w->evdev.rel_y); i++) { in draw_evdev_rel()
919 w->evdev.rel_y = e.value; in handle_event_evdev()