/external/webrtc/webrtc/modules/desktop_capture/ |
desktop_region_unittest.cc | 26 const DesktopRect rects[], int rects_size) { 52 DesktopRect rect = DesktopRect::MakeXYWH(1, 2, 0, 0); 60 DesktopRect rect = DesktopRect::MakeXYWH(1, 2, 3, 4); 69 DesktopRect rects[4]; 71 { 1, { DesktopRect::MakeXYWH(10, 10, 10, 10) } }, 72 { 2, { DesktopRect::MakeXYWH(10, 10, 10, 10), 73 DesktopRect::MakeXYWH(30, 10, 10, 15) } }, 74 { 2, { DesktopRect::MakeXYWH(10, 10, 10, 10) [all...] |
cropped_desktop_frame.h | 21 const DesktopRect& rect);
|
desktop_geometry.cc | 17 bool DesktopRect::Contains(const DesktopVector& point) const { 22 bool DesktopRect::ContainsRect(const DesktopRect& rect) const { 27 void DesktopRect::IntersectWith(const DesktopRect& rect) { 40 void DesktopRect::Translate(int32_t dx, int32_t dy) {
|
cropped_desktop_frame.cc | 18 CroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect); 27 CreateCroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect) { 28 if (!DesktopRect::MakeSize(frame->size()).ContainsRect(rect)) { 37 const DesktopRect& rect)
|
screen_capturer_helper_unittest.cc | 24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); 36 region.SetRect(DesktopRect::MakeXYWH(1, 2, 3, 4)); 39 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4)).Equals(region)); 42 DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4))); 44 DesktopRegion(DesktopRect::MakeXYWH(4, 2, 3, 4))); 46 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 6, 4)).Equals(region)); 53 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeWH(12, 34)).Equals(region)); 71 DesktopRegion(DesktopRect::MakeXYWH(7, 7, 1, 1))); 73 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(7, 7, 1, 1)).Equals(region)); 77 DesktopRegion(DesktopRect::MakeXYWH(7, 7, 1, 1))) [all...] |
desktop_geometry.h | 78 class DesktopRect { 80 static DesktopRect MakeSize(const DesktopSize& size) { 81 return DesktopRect(0, 0, size.width(), size.height()); 83 static DesktopRect MakeWH(int32_t width, int32_t height) { 84 return DesktopRect(0, 0, width, height); 86 static DesktopRect MakeXYWH(int32_t x, int32_t y, 88 return DesktopRect(x, y, x + width, y + height); 90 static DesktopRect MakeLTRB(int32_t left, int32_t top, 92 return DesktopRect(left, top, right, bottom); 94 static DesktopRect MakeOriginSize(const DesktopVector& origin [all...] |
cropping_window_capturer_win.cc | 36 DesktopRect selected_window_rect; 92 DesktopRect intersect_rect = context->selected_window_rect; 93 DesktopRect enumerated_desktop_rect = 94 DesktopRect::MakeLTRB(enumerated_rect.left, 117 DesktopRect GetWindowRectInVirtualScreen() override; 121 DesktopRect window_region_rect_; 158 context.selected_window_rect = DesktopRect::MakeLTRB( 176 DesktopRect rgn_rect = 177 DesktopRect::MakeLTRB(region_rect.left, 193 DesktopRect CroppingWindowCapturerWin::GetWindowRectInVirtualScreen() [all...] |
desktop_region.h | 75 const DesktopRect& rect() const { return rect_; } 88 DesktopRect rect_; 92 explicit DesktopRegion(const DesktopRect& rect); 93 DesktopRegion(const DesktopRect* rects, int count); 107 void SetRect(const DesktopRect& rect); 110 void AddRect(const DesktopRect& rect); 111 void AddRects(const DesktopRect* rects, int count); 121 void IntersectWith(const DesktopRect& rect); 127 void Subtract(const DesktopRect& rect);
|
mouse_cursor_monitor_win.cc | 36 DesktopRect GetScreenRect(); 109 DesktopRect original_rect; 110 DesktopRect cropped_rect; 124 DesktopRect rect = GetScreenRect(); 133 DesktopRect MouseCursorMonitorWin::GetScreenRect() { 136 return DesktopRect::MakeXYWH( 146 return DesktopRect(); 154 return DesktopRect(); 156 return DesktopRect::MakeXYWH(device_mode.dmPosition.x,
|
desktop_frame.cc | 32 const DesktopRect& dest_rect) { 33 assert(DesktopRect::MakeSize(size()).ContainsRect(dest_rect)); 45 const DesktopRect& dest_rect) { 46 assert(DesktopRect::MakeSize(src_frame.size()).ContainsRect( 47 DesktopRect::MakeOriginSize(src_pos, dest_rect.size())));
|
desktop_and_cursor_composer.cc | 84 DesktopRect target_rect = DesktopRect::MakeSize(cursor.image()->size()); 87 target_rect.IntersectWith(DesktopRect::MakeSize(size())); 96 DesktopRect::MakeSize(restore_frame_->size())); 114 DesktopRect target_rect = DesktopRect::MakeSize(restore_frame_->size());
|
screen_capturer_helper.cc | 41 invalid_region_.AddRect(DesktopRect::MakeSize(size)); 58 invalid_region->IntersectWith(DesktopRect::MakeSize(size_most_recent_)); 100 result->AddRect(DesktopRect::MakeLTRB(left, top, right, bottom));
|
desktop_frame.h | 65 const DesktopRect& dest_rect); 68 const DesktopRect& dest_rect);
|
cropping_window_capturer.h | 57 virtual DesktopRect GetWindowRectInVirtualScreen() = 0;
|
screen_capturer_mac.mm | 57 DesktopRect ScaleAndRoundCGRect(const CGRect& rect, float scale) { 58 return DesktopRect::MakeLTRB( 72 const DesktopRect& rect) { 132 DesktopRect GetExcludedWindowPixelBounds(CGWindowID window, 168 CGImageRef CreateExcludedWindowRegionImage(const DesktopRect& pixel_bounds, 252 DesktopRect screen_pixel_bounds_; 504 DesktopRect clip_rect = DesktopRect::MakeSize(frame.size()); 517 DesktopRect copy_rect = i.rect(); 547 DesktopRect copy_rect = i.rect() [all...] |
/external/webrtc/webrtc/modules/desktop_capture/mac/ |
desktop_configuration.h | 31 DesktopRect bounds; 34 DesktopRect pixel_bounds; 64 DesktopRect bounds; 67 DesktopRect pixel_bounds;
|
desktop_configuration.mm | 33 DesktopRect NSRectToDesktopRect(const NSRect& ns_rect) { 34 return DesktopRect::MakeLTRB( 41 DesktopRect JoinRects(const DesktopRect& a, 42 const DesktopRect& b) { 43 return DesktopRect::MakeLTRB( 52 void InvertRectYOrigin(const DesktopRect& bounds, 53 DesktopRect* rect) { 55 *rect = DesktopRect::MakeXYWH( 126 DesktopRect primary_bounds = DesktopRect::MakeLTRB [all...] |
/external/webrtc/webrtc/modules/desktop_capture/win/ |
window_capture_utils.h | 22 DesktopRect* cropped_rect, 23 DesktopRect* original_rect);
|
screen_capture_utils.h | 31 DesktopRect GetScreenRect(ScreenId screen, const std::wstring& device_key);
|
screen_capture_utils.cc | 57 DesktopRect GetScreenRect(ScreenId screen, const std::wstring& device_key) { 59 return DesktopRect::MakeXYWH(GetSystemMetrics(SM_XVIRTUALSCREEN), 69 return DesktopRect(); 76 return DesktopRect(); 84 return DesktopRect(); 86 return DesktopRect::MakeXYWH(device_mode.dmPosition.x,
|
window_capture_utils.cc | 17 DesktopRect* cropped_rect, 18 DesktopRect* original_rect) { 29 *original_rect = DesktopRect::MakeLTRB( 35 *cropped_rect = DesktopRect::MakeLTRB(
|
screen_capturer_win_gdi.h | 73 DesktopRect desktop_dc_rect_;
|
screen_capturer_win_magnifier.h | 29 class DesktopRect; 87 bool CaptureImage(const DesktopRect& rect);
|
screen_capturer_win_gdi.cc | 188 DesktopRect screen_rect(DesktopRect::MakeXYWH( 202 desktop_dc_rect_ = DesktopRect(); 226 DesktopRect screen_rect =
|
/external/webrtc/webrtc/modules/desktop_capture/x11/ |
x_server_pixel_buffer.h | 57 void CaptureRect(const DesktopRect& rect, DesktopFrame* frame); 66 const DesktopRect& rect, 69 const DesktopRect& rect,
|