Home
last modified time | relevance | path

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

/external/webrtc/modules/desktop_capture/
Ddesktop_frame.cc71 DesktopVector src_frame_offset = src_frame_origin.subtract(origin); in CopyIntersectingPixelsFrom() local
79 std::round((horizontal_scale - 1.0) * src_frame_offset.x())), in CopyIntersectingPixelsFrom()
81 std::round((vertical_scale - 1.0) * src_frame_offset.y()))); in CopyIntersectingPixelsFrom()
85 src_frame_offset = src_frame_offset.add(origin_adjustment); in CopyIntersectingPixelsFrom()
98 int32_t src_pos_x = std::max(0, -src_frame_offset.x()); in CopyIntersectingPixelsFrom()
99 int32_t src_pos_y = std::max(0, -src_frame_offset.y()); in CopyIntersectingPixelsFrom()