MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / SetUpdatedRegion

Function SetUpdatedRegion

modules/desktop_capture/desktop_frame_generator.cc:32–62  ·  view source on GitHub ↗

Sets |updated_region| to |frame|. If |enlarge_updated_region| is true, this function will randomly enlarge each DesktopRect in |updated_region|. But the enlarged DesktopRegion won't excceed the frame->size(). If |add_random_updated_region| is true, several random rectangles will also be included in |frame|.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

GetNextFrameMethod · 0.85

Calls 13

TimeMicrosFunction · 0.85
MakeLTRBFunction · 0.85
IsAtEndMethod · 0.80
AddRectMethod · 0.80
sizeMethod · 0.45
ClearMethod · 0.45
AdvanceMethod · 0.45
rectMethod · 0.45
ExtendMethod · 0.45
RandMethod · 0.45
IntersectWithMethod · 0.45
widthMethod · 0.45

Tested by

no test coverage detected