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.c82 gdouble norm_y; in fisheye_map() local
90 norm_y = 2.0 * y / height - 1.0; in fisheye_map()
93 r = sqrt ((norm_x * norm_x + norm_y * norm_y) / 2.0); in fisheye_map()
112 norm_y *= (0.33 + 0.1 * r * r + 0.57 * pow (r, 6.0)); in fisheye_map()
116 *in_y = 0.5 * (norm_y + 1.0) * height; in fisheye_map()
Dgsttunnel.c84 gdouble norm_x, norm_y; in tunnel_map() local
94 norm_y = 2.0 * (y - cgt->y_center * height) / MAX (width, height); in tunnel_map()
97 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in tunnel_map()
102 norm_y *= CLAMP (r, 0.0, cgt->radius) / r; in tunnel_map()
106 *in_y = 0.5 * (norm_y) * MAX (width, height) + cgt->y_center * height; in tunnel_map()
Dgstbulge.c135 gdouble norm_x, norm_y; in bulge_map() local
144 norm_y = 2.0 * (y / height - cgt->y_center); in bulge_map()
147 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in bulge_map()
162 norm_y *= scale; in bulge_map()
166 *in_y = (0.5 * norm_y + cgt->y_center) * height; in bulge_map()
Dgststretch.c135 gdouble norm_x, norm_y; in stretch_map() local
144 norm_y = 2.0 * (y / height - cgt->y_center); in stretch_map()
147 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in stretch_map()
163 norm_y *= a - b * gst_gm_smoothstep (0.0, cgt->radius, r); in stretch_map()
167 *in_y = (0.5 * norm_y + cgt->y_center) * height; in stretch_map()
Dgstsquare.c160 gdouble norm_y; in square_map() local
168 norm_y = 2.0 * y / height - 1.0; in square_map()
176 norm_y *= in square_map()
179 square->height + 0.125, ABS (norm_y))); in square_map()
183 *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()