Home
last modified time | relevance | path

Searched refs:rel_x (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
263 rel_x = (float) comp_x / (float) width; in gst_gl_composition_overlay_add_transformation()
270 rel_x = rel_x * 2.0 - 1.0; in gst_gl_composition_overlay_add_transformation()
279 overlay->positions[0] = rel_x + rel_w; in gst_gl_composition_overlay_add_transformation()
283 overlay->positions[4] = rel_x; in gst_gl_composition_overlay_add_transformation()
287 overlay->positions[8] = rel_x; in gst_gl_composition_overlay_add_transformation()
291 overlay->positions[12] = rel_x + rel_w; in gst_gl_composition_overlay_add_transformation()
/third_party/weston/shared/
Dframe.c682 int rel_x, rel_y; in frame_find_button() local
685 rel_x = x - button->allocation.x; in frame_find_button()
688 if (0 <= rel_x && rel_x < button->allocation.width && in frame_find_button()
/third_party/libinput/tools/
Dlibinput-debug-gui.c162 int rel_x, rel_y; /* REL_X/Y */ member
201 if (w->evdev.rel_x) { in draw_evdev_rel()
202 int dir = w->evdev.rel_x > 0 ? 1 : -1; in draw_evdev_rel()
203 for (int i = 0; i < abs(w->evdev.rel_x); i++) { in draw_evdev_rel()
916 w->evdev.rel_x = e.value; in handle_event_evdev()