Searched refs:syf1 (Results 1 – 1 of 1) sorted by relevance
/third_party/weston/libweston/backend-drm/ |
D | state-helpers.c | 184 float sxf1, syf1, sxf2, syf2; in drm_plane_state_coords_for_view() local 219 weston_view_from_global_float(ev, box->x1, box->y1, &sxf1, &syf1); in drm_plane_state_coords_for_view() 220 weston_surface_to_buffer_float(ev->surface, sxf1, syf1, &sxf1, &syf1); in drm_plane_state_coords_for_view() 232 if (syf2 < syf1) { in drm_plane_state_coords_for_view() 233 double tmp = syf1; in drm_plane_state_coords_for_view() 234 syf1 = syf2; in drm_plane_state_coords_for_view() 240 state->src_y = wl_fixed_from_double(syf1) << 8; in drm_plane_state_coords_for_view() 242 state->src_h = wl_fixed_from_double(syf2 - syf1) << 8; in drm_plane_state_coords_for_view()
|