Home
last modified time | relevance | path

Searched refs:norm_y (Results 1 – 6 of 6) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/
Dgstfisheye.c85 gdouble norm_y; in fisheye_map() local
93 norm_y = 2.0 * y / height - 1.0; in fisheye_map()
96 r = sqrt ((norm_x * norm_x + norm_y * norm_y) / 2.0); in fisheye_map()
115 norm_y *= (0.33 + 0.1 * r * r + 0.57 * pow (r, 6.0)); in fisheye_map()
119 *in_y = 0.5 * (norm_y + 1.0) * height; in fisheye_map()
Dgsttunnel.c87 gdouble norm_x, norm_y; in tunnel_map() local
97 norm_y = 2.0 * (y - cgt->y_center * height) / MAX (width, height); in tunnel_map()
100 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in tunnel_map()
105 norm_y *= CLAMP (r, 0.0, cgt->radius) / r; in tunnel_map()
109 *in_y = 0.5 * (norm_y) * MAX (width, height) + cgt->y_center * height; in tunnel_map()
Dgstbulge.c138 gdouble norm_x, norm_y; in bulge_map() local
147 norm_y = 2.0 * (y / height - cgt->y_center); in bulge_map()
150 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in bulge_map()
165 norm_y *= scale; in bulge_map()
169 *in_y = (0.5 * norm_y + cgt->y_center) * height; in bulge_map()
Dgststretch.c138 gdouble norm_x, norm_y; in stretch_map() local
147 norm_y = 2.0 * (y / height - cgt->y_center); in stretch_map()
150 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in stretch_map()
166 norm_y *= a - b * gst_gm_smoothstep (0.0, cgt->radius, r); in stretch_map()
170 *in_y = (0.5 * norm_y + cgt->y_center) * height; in stretch_map()
Dgstsquare.c163 gdouble norm_y; in square_map() local
171 norm_y = 2.0 * y / height - 1.0; in square_map()
179 norm_y *= in square_map()
182 square->height + 0.125, ABS (norm_y))); in square_map()
186 *in_y = 0.5 * (norm_y + 1.0) * height; in square_map()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_evdev.c404 float norm_x, norm_y; in SDL_EVDEV_Poll() local
526norm_y = (float)(item->touchscreen_data->slots[j].y - item->touchscreen_data->min_y) / in SDL_EVDEV_Poll()
531 …_SendTouch(item->fd, item->touchscreen_data->slots[j].tracking_id, SDL_TRUE, norm_x, norm_y, 1.0f); in SDL_EVDEV_Poll()
535 …SendTouch(item->fd, item->touchscreen_data->slots[j].tracking_id, SDL_FALSE, norm_x, norm_y, 1.0f); in SDL_EVDEV_Poll()
540 … SDL_SendTouchMotion(item->fd, item->touchscreen_data->slots[j].tracking_id, norm_x, norm_y, 1.0f); in SDL_EVDEV_Poll()