Home
last modified time | relevance | path

Searched refs:pixel_bounds (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/desktop_capture/mac/
Ddesktop_configuration.mm67 display_config.pixel_bounds = NSRectToDesktopRect(ns_pixel_bounds);
69 display_config.pixel_bounds = display_config.bounds;
131 desktop_config.displays[0].pixel_bounds.left() * scaling_factor,
132 desktop_config.displays[0].pixel_bounds.top() * scaling_factor,
133 desktop_config.displays[0].pixel_bounds.right() * scaling_factor,
134 desktop_config.displays[0].pixel_bounds.bottom() * scaling_factor);
135 InvertRectYOrigin(primary_bounds, &display_config.pixel_bounds);
146 desktop_config.pixel_bounds.UnionWith(display_config.pixel_bounds);
159 left.pixel_bounds.equals(right.pixel_bounds) &&
165 pixel_bounds.equals(other.pixel_bounds) &&
Ddesktop_configuration.h40 DesktopRect pixel_bounds; member
85 DesktopRect pixel_bounds; member
Dscreen_capturer_mac.mm129 // |pixel_bounds| should be in the primary display's coordinate in physical
131 rtc::ScopedCFTypeRef<CGImageRef> CreateExcludedWindowRegionImage(const DesktopRect& pixel_bounds,
137 window_bounds.origin.x = pixel_bounds.left() / dip_to_pixel_scale;
138 window_bounds.origin.y = pixel_bounds.top() / dip_to_pixel_scale;
139 window_bounds.size.width = pixel_bounds.width();
140 window_bounds.size.height = pixel_bounds.height();
332 DesktopRect display_bounds = display_config.pixel_bounds;
349 excluded_window_bounds.IntersectWith(display_config.pixel_bounds);
419 screen_pixel_bounds_ = config ? config->pixel_bounds : DesktopRect();
422 screen_pixel_bounds_ = desktop_config_.pixel_bounds;
[all …]
/external/webrtc/modules/desktop_capture/
Dscreen_capturer_mac_unittest.cc62 EXPECT_TRUE(!it.IsAtEnd() && it.rect().equals(config.pixel_bounds)); in CaptureDoneCallback1()
72 int width = config.pixel_bounds.width(); in CaptureDoneCallback2()
73 int height = config.pixel_bounds.height(); in CaptureDoneCallback2()