Home
last modified time | relevance | path

Searched refs:delta_x (Results 1 – 20 of 20) sorted by relevance

/third_party/boost/boost/graph/
Dchrobak_payne_drawing.hpp32 VertexTo1DCoordMap delta_x, VertexToVertexMap left, in accumulate_offsets() argument
49 x[v] += delta_x[v] + offset; in accumulate_offsets()
99 vertex_to_vsize_map_t delta_x(delta_x_vector.begin(), vm); in chrobak_payne_straight_line_drawing() local
115 delta_x[v2] = 1; in chrobak_payne_straight_line_drawing()
116 delta_x[v3] = 1; in chrobak_payne_straight_line_drawing()
183 ++delta_x[right[leftmost]]; in chrobak_payne_straight_line_drawing()
184 ++delta_x[rightmost]; in chrobak_payne_straight_line_drawing()
192 delta_p_q += delta_x[temp]; in chrobak_payne_straight_line_drawing()
195 delta_x[v] = ((y[rightmost] + delta_p_q) - y[leftmost]) / 2; in chrobak_payne_straight_line_drawing()
196 y[v] = y[leftmost] + delta_x[v]; in chrobak_payne_straight_line_drawing()
[all …]
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstbasewidget.c418 gdouble x, y, delta_x, delta_y; in gtk_gst_base_widget_scroll_event() local
423 if (!gdk_event_get_scroll_deltas ((GdkEvent *) event, &delta_x, &delta_y)) { in gtk_gst_base_widget_scroll_event()
426 delta_x = event->delta_x; in gtk_gst_base_widget_scroll_event()
437 delta_x = -offset; in gtk_gst_base_widget_scroll_event()
440 delta_x = offset; in gtk_gst_base_widget_scroll_event()
447 x, y, delta_x, delta_y); in gtk_gst_base_widget_scroll_event()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dwin32_flutter_window.cc151 void Win32FlutterWindow::OnScroll(double delta_x, double delta_y) { in OnScroll() argument
153 SendScroll(delta_x, delta_y); in OnScroll()
247 void Win32FlutterWindow::SendScroll(double delta_x, double delta_y) { in SendScroll() argument
255 event.scroll_delta_x = delta_x * kScrollOffsetMultiplier; in SendScroll()
Dwin32_flutter_window.h72 void OnScroll(double delta_x, double delta_y) override;
120 void SendScroll(double delta_x, double delta_y);
Dwin32_window.h95 virtual void OnScroll(double delta_x, double delta_y) = 0;
/third_party/boost/boost/gil/image_processing/
Dnumeric.hpp142 const auto delta_x = middle > x ? middle - x : x - middle; in generate_gaussian_kernel() local
144 const double power = (delta_x * delta_x + delta_y * delta_y) / (2 * sigma * sigma); in generate_gaussian_kernel()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dnavigation.c155 double x, double y, double delta_x, double delta_y) in gst_navigation_send_mouse_scroll_event() argument
162 "delta_pointer_x", G_TYPE_DOUBLE, delta_x, in gst_navigation_send_mouse_scroll_event()
872 gdouble * x, gdouble * y, gdouble * delta_x, gdouble * delta_y) in gst_navigation_event_parse_mouse_scroll_event() argument
885 if (delta_x) in gst_navigation_event_parse_mouse_scroll_event()
886 ret &= gst_structure_get_double (s, "delta_pointer_x", delta_x); in gst_navigation_event_parse_mouse_scroll_event()
Dnavigation.h308 gdouble *delta_x, gdouble *delta_y);
330 double x, double y, double delta_x, double delta_y);
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dnavigation.c132 gdouble x, y, delta_x, delta_y; in nav_send_event() local
134 &delta_x, &delta_y)); in nav_send_event()
137 fail_unless (delta_x == self->sent_delta_x); in nav_send_event()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderVertexSpacing.cpp280 float delta_x = coordinate.x - 0.5f; in getEdgesForQuadsTessellation() local
282 float delta = deFloatSqrt(delta_x * delta_x + delta_y * delta_y); in getEdgesForQuadsTessellation()
285 if (delta_x <= 0.0f && delta_y >= 0.0f) in getEdgesForQuadsTessellation()
295 if (delta_x >= 0.0f && delta_y >= 0.0f) in getEdgesForQuadsTessellation()
305 if (delta_x <= 0.0f && delta_y <= 0.0f) in getEdgesForQuadsTessellation()
315 if (delta_x >= 0.0f && delta_y <= 0.0f) in getEdgesForQuadsTessellation()
/third_party/gstreamer/gstplugins_bad/ext/wpe/
Dgstwpevideosrc.cpp562 gdouble x, y, delta_x, delta_y; in gst_wpe_video_src_event() local
623 &delta_x, &delta_y)) { in gst_wpe_video_src_event()
625 if (delta_x) { in gst_wpe_video_src_event()
627 wpe_event.value = delta_x; in gst_wpe_video_src_event()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wayland/
Dgstglwindow_wayland_egl.c128 gdouble delta_x, delta_y; in pointer_handle_axis() local
131 delta_x = delta; in pointer_handle_axis()
134 delta_x = 0; in pointer_handle_axis()
138 window_egl->display.pointer_y, delta_x, delta_y); in pointer_handle_axis()
/third_party/ffmpeg/libavcodec/
Dinterplayvideo.c78 static int copy_from(IpvideoContext *s, AVFrame *src, AVFrame *dst, int delta_x, int delta_y) in copy_from() argument
84 int dx = delta_x + x - ((delta_x + x >= width) - (delta_x + x < 0)) * width; in copy_from()
85 int dy = delta_y + y + (delta_x + x >= width) - (delta_x + x < 0); in copy_from()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglimagesink.c455 gdouble delta_x, gdouble delta_y, gdouble * stream_delta_x, in _display_scroll_value_to_stream_scroll_value() argument
463 if (delta_x != 0 && gl_sink->display_rect.w > 0) in _display_scroll_value_to_stream_scroll_value()
464 *stream_delta_x = delta_x * (stream_width / gl_sink->display_rect.w); in _display_scroll_value_to_stream_scroll_value()
466 *stream_delta_x = delta_x; in _display_scroll_value_to_stream_scroll_value()
473 GST_TRACE_OBJECT (gl_sink, "transform %fx%f into %fx%f", delta_x, delta_y, in _display_scroll_value_to_stream_scroll_value()
966 double posx, double posy, double delta_x, double delta_y, in gst_glimage_sink_mouse_scroll_event_cb() argument
971 posx, posy, delta_x, delta_y); in gst_glimage_sink_mouse_scroll_event_cb()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglwindow.h241 double delta_x,
Dgstglwindow.c976 double posx, double posy, double delta_x, double delta_y) in gst_gl_window_send_scroll_event() argument
979 posx, posy, delta_x, delta_y); in gst_gl_window_send_scroll_event()
/third_party/flutter/engine/flutter/shell/platform/glfw/
Dflutter_glfw.cc291 double delta_x, in GLFWScrollCallback() argument
300 event.scroll_delta_x = delta_x * kScrollOffsetMultiplier; in GLFWScrollCallback()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_generator.cpp956 struct brw_reg delta_x = src[0]; in generate_linterp() local
967 if (devinfo->ver <= 6 && (delta_x.nr & 1) != 0) { in generate_linterp()
991 offset(delta_x, g * 2)); in generate_linterp()
1009 offset(delta_x, g * 2 + 1)); in generate_linterp()
1018 brw_PLN(p, dst, interp, delta_x); in generate_linterp()
1023 i[0] = brw_LINE(p, brw_null_reg(), interp, delta_x); in generate_linterp()
/third_party/gettext/libtextstyle/gnulib-local/lib/
Dterm-ostream.oo.c162 float delta_x = color1->saturation * cosf (angle1) in color_distance()
169 return delta_x * delta_x + delta_y * delta_y + delta_v * delta_v; in color_distance()
/third_party/cef/libcef/browser/native/
Dbrowser_platform_delegate_native_mac.mm528 result.delta_x = deltaX;