Home
last modified time | relevance | path

Searched refs:display_rect (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglimagesink.c426 if (gl_sink->display_rect.w > 0) in _display_size_to_stream_size()
428 (x - gl_sink->display_rect.x) / gl_sink->display_rect.w * stream_width; in _display_size_to_stream_size()
439 if (gl_sink->display_rect.h > 0) in _display_size_to_stream_size()
441 (y - gl_sink->display_rect.y) / gl_sink->display_rect.h * stream_height; in _display_size_to_stream_size()
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()
468 if (delta_y != 0 && gl_sink->display_rect.h > 0) in _display_scroll_value_to_stream_scroll_value()
469 *stream_delta_y = delta_y * (stream_height / gl_sink->display_rect.h); in _display_scroll_value_to_stream_scroll_value()
1532 if (glimage_sink->display_rect.w > 0 && glimage_sink->display_rect.h > 0) { in update_output_format()
1533 new_w = glimage_sink->display_rect.w; in update_output_format()
[all …]
Dgstglimagesink.h112 GstVideoRectangle display_rect; member
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvksink.c604 GstVideoRectangle * display_rect, gdouble x, gdouble y, gdouble * stream_x, in _display_size_to_stream_size() argument
613 if (display_rect->w > 0) in _display_size_to_stream_size()
614 *stream_x = (x - display_rect->x) / display_rect->w * stream_width; in _display_size_to_stream_size()
622 if (display_rect->h > 0) in _display_size_to_stream_size()
623 *stream_y = (y - display_rect->y) / display_rect->h * stream_height; in _display_size_to_stream_size()
638 GstVideoRectangle display_rect; in gst_vulkan_sink_navigation_send_event() local
648 &display_rect); in gst_vulkan_sink_navigation_send_event()
651 if (display_rect.w != 0 && display_rect.h != 0 in gst_vulkan_sink_navigation_send_event()
656 _display_size_to_stream_size (vk_sink, &display_rect, x, y, &stream_x, in gst_vulkan_sink_navigation_send_event()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkswapper.c97 GstVideoRectangle display_rect; member
1106 gst_video_sink_center_rect (src, priv->surface_location, &priv->display_rect, in _build_render_buffer_cmd()
1110 "src %ux%u dst %ux%u", priv->display_rect.w, priv->display_rect.h, in _build_render_buffer_cmd()
1111 priv->display_rect.x, priv->display_rect.y, src.w, src.h, in _build_render_buffer_cmd()
1136 {priv->display_rect.x, priv->display_rect.y, 0}, in _build_render_buffer_cmd()
1137 … {priv->display_rect.x + priv->display_rect.w, priv->display_rect.y + priv->display_rect.h, 1}, in _build_render_buffer_cmd()
1481 GstVideoRectangle * display_rect) in gst_vulkan_swapper_get_surface_rectangles() argument
1497 *display_rect = priv->surface_location; in gst_vulkan_swapper_get_surface_rectangles()
1500 if (display_rect) { in gst_vulkan_swapper_get_surface_rectangles()
1501 *display_rect = priv->display_rect; in gst_vulkan_swapper_get_surface_rectangles()
Dgstvkswapper.h113 GstVideoRectangle *display_rect);
/third_party/cef/tests/cefclient/browser/
Dwindow_test_runner_gtk.cc63 CefRect display_rect(rect.x, rect.y, rect.width, rect.height); in SetPosImpl() local
65 WindowTestRunner::ModifyBounds(display_rect, window_rect); in SetPosImpl()
Dwindow_test_runner_win.cc51 CefRect display_rect(info.rcWork.left, info.rcWork.top, in SetPosImpl() local
55 WindowTestRunner::ModifyBounds(display_rect, window_rect); in SetPosImpl()
Dwindow_test_runner_mac.mm51 CefRect display_rect(
56 ModifyBounds(display_rect, window_rect);
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui.cpp2414 ImRect display_rect = bb; in RenderNavHighlight() local
2415 display_rect.ClipWith(window->ClipRect); in RenderNavHighlight()
2420 display_rect.Expand(ImVec2(DISTANCE,DISTANCE)); in RenderNavHighlight()
2421 bool fully_visible = window->ClipRect.Contains(display_rect); in RenderNavHighlight()
2423 window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); in RenderNavHighlight()
2424 …window->DrawList->AddRect(display_rect.Min + ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), display_rect.M… in RenderNavHighlight()
2430 …window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavHighlight), … in RenderNavHighlight()
8534 …const ImRect& display_rect = (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HasDisplayRect… in BeginDragDropTarget() local
8537 id = window->GetIDFromRectangle(display_rect); in BeginDragDropTarget()
8542 g.DragDropTargetRect = display_rect; in BeginDragDropTarget()
/third_party/mesa3d/src/imgui/
Dimgui.cpp2470 ImRect display_rect = bb; in RenderNavHighlight() local
2471 display_rect.ClipWith(window->ClipRect); in RenderNavHighlight()
2476 display_rect.Expand(ImVec2(DISTANCE,DISTANCE)); in RenderNavHighlight()
2477 bool fully_visible = window->ClipRect.Contains(display_rect); in RenderNavHighlight()
2479 window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); in RenderNavHighlight()
2480 …window->DrawList->AddRect(display_rect.Min + ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), display_rect.M… in RenderNavHighlight()
2486 …window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavHighlight), … in RenderNavHighlight()
8685 …const ImRect& display_rect = (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HasDisplayRect… in BeginDragDropTarget() local
8688 id = window->GetIDFromRectangle(display_rect); in BeginDragDropTarget()
8693 g.DragDropTargetRect = display_rect; in BeginDragDropTarget()
/third_party/skia/third_party/externals/imgui/
Dimgui.cpp2912 ImRect display_rect = bb; in RenderNavHighlight() local
2913 display_rect.ClipWith(window->ClipRect); in RenderNavHighlight()
2918 display_rect.Expand(ImVec2(DISTANCE, DISTANCE)); in RenderNavHighlight()
2919 bool fully_visible = window->ClipRect.Contains(display_rect); in RenderNavHighlight()
2921 window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); in RenderNavHighlight()
2922 …window->DrawList->AddRect(display_rect.Min + ImVec2(THICKNESS * 0.5f, THICKNESS * 0.5f), display_r… in RenderNavHighlight()
2928 …window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavHighlight), … in RenderNavHighlight()
10335 …const ImRect& display_rect = (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HasDisplayRect) ? … in BeginDragDropTarget() local
10338 id = window->GetIDFromRectangle(display_rect); in BeginDragDropTarget()
10343 g.DragDropTargetRect = display_rect; in BeginDragDropTarget()
/third_party/cef/patch/patches/
Dviews_1749_2102.patch96 const Rect& display_rect() const { return display_rect_; }
/third_party/gstreamer/gstplugins_base/
DChangeLog17207 glimagesink: only update the output info iff there's a valid display_rect
17208 Attempting to use the MAX(1, display_rect) would result in the overlay