Home
last modified time | relevance | path

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

/external/webrtc/modules/desktop_capture/win/
Dwindow_capturer_win_gdi.cc202 DesktopRect original_rect; in CaptureFrame() local
205 &original_rect)) { in CaptureFrame()
214 if (original_rect.is_empty() || in CaptureFrame()
251 static_cast<double>(window_dc_size.width()) / original_rect.width(); in CaptureFrame()
253 static_cast<double>(window_dc_size.height()) / original_rect.height(); in CaptureFrame()
254 original_rect.Scale(horizontal_scale, vertical_scale); in CaptureFrame()
261 (cropped_rect.left() - original_rect.left()) * (horizontal_scale - 1))); in CaptureFrame()
263 (cropped_rect.top() - original_rect.top()) * (vertical_scale - 1))); in CaptureFrame()
268 DesktopFrameWin::Create(original_rect.size(), nullptr, window_dc)); in CaptureFrame()
333 original_rect.top_left().subtract(GetFullscreenRect().top_left())); in CaptureFrame()
[all …]
Dwindow_capture_utils.cc163 DesktopRect* original_rect) { in GetCroppedWindowRect() argument
169 if (original_rect) { in GetCroppedWindowRect()
170 *original_rect = window_rect; in GetCroppedWindowRect()
Dwindow_capture_utils.h48 DesktopRect* original_rect);
/external/webrtc/modules/desktop_capture/
Dmouse_cursor_monitor_win.cc144 DesktopRect original_rect; in Capture() local
147 &cropped_rect, &original_rect)) { in Capture()