Searched refs:norm_x (Results 1 – 6 of 6) sorted by relevance
/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/ |
D | gstfisheye.c | 84 gdouble norm_x; in fisheye_map() local 92 norm_x = 2.0 * x / width - 1.0; in fisheye_map() 96 r = sqrt ((norm_x * norm_x + norm_y * norm_y) / 2.0); in fisheye_map() 114 norm_x *= (0.33 + 0.1 * r * r + 0.57 * pow (r, 6.0)); in fisheye_map() 118 *in_x = 0.5 * (norm_x + 1.0) * width; in fisheye_map()
|
D | gsttunnel.c | 87 gdouble norm_x, norm_y; in tunnel_map() local 96 norm_x = 2.0 * (x - cgt->x_center * width) / MAX (width, height); in tunnel_map() 100 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in tunnel_map() 104 norm_x *= CLAMP (r, 0.0, cgt->radius) / r; in tunnel_map() 108 *in_x = 0.5 * (norm_x) * MAX (width, height) + cgt->x_center * width; in tunnel_map()
|
D | gstbulge.c | 138 gdouble norm_x, norm_y; in bulge_map() local 146 norm_x = 2.0 * (x / width - cgt->x_center); in bulge_map() 150 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in bulge_map() 164 norm_x *= scale; in bulge_map() 168 *in_x = (0.5 * norm_x + cgt->x_center) * width; in bulge_map()
|
D | gststretch.c | 138 gdouble norm_x, norm_y; in stretch_map() local 146 norm_x = 2.0 * (x / width - cgt->x_center); in stretch_map() 150 r = sqrt (0.5 * (norm_x * norm_x + norm_y * norm_y)); in stretch_map() 165 norm_x *= a - b * gst_gm_smoothstep (0.0, cgt->radius, r); in stretch_map() 169 *in_x = (0.5 * norm_x + cgt->x_center) * width; in stretch_map()
|
D | gstsquare.c | 162 gdouble norm_x; in square_map() local 170 norm_x = 2.0 * x / width - 1.0; in square_map() 175 norm_x *= in square_map() 178 square->width + 0.125, ABS (norm_x))); in square_map() 185 *in_x = 0.5 * (norm_x + 1.0) * width; in square_map()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_evdev.c | 404 float norm_x, norm_y; in SDL_EVDEV_Poll() local 524 … norm_x = (float)(item->touchscreen_data->slots[j].x - item->touchscreen_data->min_x) / 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()
|