Home
last modified time | relevance | path

Searched refs:DesktopRegion (Results 1 – 25 of 30) sorted by relevance

12

/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_region.h27 class DesktopRegion {
69 explicit Iterator(const DesktopRegion& target);
78 const DesktopRegion& region_;
91 DesktopRegion();
92 explicit DesktopRegion(const DesktopRect& rect);
93 DesktopRegion(const DesktopRect* rects, int count);
94 DesktopRegion(const DesktopRegion& other);
95 ~DesktopRegion();
97 DesktopRegion& operator=(const DesktopRegion& other);
101 bool Equals(const DesktopRegion& region) const;
[all …]
Dscreen_capturer_helper_unittest.cc24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F()
32 DesktopRegion region; in TEST_F()
39 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4)).Equals(region)); in TEST_F()
42 DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4))); in TEST_F()
44 DesktopRegion(DesktopRect::MakeXYWH(4, 2, 3, 4))); in TEST_F()
46 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 6, 4)).Equals(region)); in TEST_F()
50 DesktopRegion region; in TEST_F()
53 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeWH(12, 34)).Equals(region)); in TEST_F()
66 DesktopRegion region; in TEST_F()
68 EXPECT_TRUE(DesktopRegion().Equals(region)); in TEST_F()
[all …]
Ddesktop_region.cc19 DesktopRegion::RowSpan::RowSpan(int32_t left, int32_t right) in RowSpan()
23 DesktopRegion::Row::Row(int32_t top, int32_t bottom) in Row()
27 DesktopRegion::Row::~Row() {} in ~Row()
29 DesktopRegion::DesktopRegion() {} in DesktopRegion() function in webrtc::DesktopRegion
31 DesktopRegion::DesktopRegion(const DesktopRect& rect) { in DesktopRegion() function in webrtc::DesktopRegion
35 DesktopRegion::DesktopRegion(const DesktopRect* rects, int count) { in DesktopRegion() function in webrtc::DesktopRegion
39 DesktopRegion::DesktopRegion(const DesktopRegion& other) { in DesktopRegion() function in webrtc::DesktopRegion
43 DesktopRegion::~DesktopRegion() { in ~DesktopRegion()
47 DesktopRegion& DesktopRegion::operator=(const DesktopRegion& other) { in operator =()
58 bool DesktopRegion::Equals(const DesktopRegion& region) const { in Equals()
[all …]
Ddesktop_region_unittest.cc25 void CompareRegion(const DesktopRegion& region, in CompareRegion()
27 DesktopRegion::Iterator it(region); in CompareRegion()
45 DesktopRegion r; in TEST()
51 DesktopRegion r; in TEST()
59 DesktopRegion r; in TEST()
92 DesktopRegion r; in TEST()
197 DesktopRegion r; in TEST()
221 DesktopRegion base_region; in TEST()
241 DesktopRegion r = base_region; in TEST()
251 for (DesktopRegion::Iterator it(r); !it.IsAtEnd(); it.Advance()) { in TEST()
[all …]
Dscreen_capturer_helper.h34 void InvalidateRegion(const DesktopRegion& invalid_region);
41 void TakeInvalidRegion(DesktopRegion* invalid_region);
62 static void ExpandToGrid(const DesktopRegion& region,
64 DesktopRegion* result);
70 DesktopRegion invalid_region_;
Ddesktop_frame.h45 const DesktopRegion& updated_region() const { return updated_region_; } in updated_region()
46 DesktopRegion* mutable_updated_region() { return &updated_region_; } in mutable_updated_region()
59 const DesktopRegion* shape() const { return shape_.get(); } in shape()
60 void set_shape(DesktopRegion* shape) { shape_.reset(shape); } in set_shape()
88 DesktopRegion updated_region_;
91 rtc::scoped_ptr<DesktopRegion> shape_;
Dscreen_capturer_helper.cc34 const DesktopRegion& invalid_region) { in InvalidateRegion()
45 DesktopRegion* invalid_region) { in TakeInvalidRegion()
54 DesktopRegion expanded_region; in TakeInvalidRegion()
87 void ScreenCapturerHelper::ExpandToGrid(const DesktopRegion& region, in ExpandToGrid()
89 DesktopRegion* result) { in ExpandToGrid()
95 for (DesktopRegion::Iterator it(region); !it.IsAtEnd(); it.Advance()) { in ExpandToGrid()
Ddiffer_unittest.cc58 void MergeBlocks(DesktopRegion* dirty) { in MergeBlocks()
63 int RegionRectCount(const DesktopRegion& region) { in RegionRectCount()
65 for (DesktopRegion::Iterator iter(region); in RegionRectCount()
154 bool CheckDirtyRegionContainsRect(const DesktopRegion& region, in CheckDirtyRegionContainsRect()
160 for (DesktopRegion::Iterator i(region); !i.IsAtEnd(); i.Advance()) { in CheckDirtyRegionContainsRect()
175 DesktopRegion dirty; in MarkBlocksAndCheckMerge()
185 DesktopRegion::Iterator it(dirty); in MarkBlocksAndCheckMerge()
385 DesktopRegion dirty; in TEST_F()
541 DesktopRegion dirty; in TEST_F()
Dscreen_capturer_unittest.cc85 capturer_->Capture(DesktopRegion()); in TEST_F()
96 DesktopRegion::Iterator it(frame->updated_region()); in TEST_F()
117 capturer_->Capture(DesktopRegion()); in TEST_F()
135 capturer_->Capture(DesktopRegion()); in TEST_F()
Dscreen_capturer_mac_unittest.cc55 DesktopRegion::Iterator it(frame->updated_region()); in CaptureDoneCallback1()
91 capturer_->Capture(DesktopRegion()); in TEST_F()
94 capturer_->Capture(DesktopRegion()); in TEST_F()
Dscreen_capturer_x11.cc47 void Capture(const DesktopRegion& region) override;
112 DesktopRegion last_invalid_region_;
235 void ScreenCapturerLinux::Capture(const DesktopRegion& region) { in Capture()
324 DesktopRegion* updated_region = frame->mutable_updated_region(); in CaptureScreen()
350 for (DesktopRegion::Iterator it(*updated_region); in CaptureScreen()
404 for (DesktopRegion::Iterator it(last_invalid_region_); in SynchronizeFrame()
Ddesktop_capturer.h21 class DesktopRegion; variable
56 virtual void Capture(const DesktopRegion& region) = 0;
Ddiffer.h42 DesktopRegion* region);
54 void MergeBlocks(DesktopRegion* region);
Dwindow_capturer_null.cc33 void Capture(const DesktopRegion& region) override;
70 void WindowCapturerNull::Capture(const DesktopRegion& region) { in Capture()
Dcropping_window_capturer.cc34 void CroppingWindowCapturer::Capture(const DesktopRegion& region) { in Capture()
81 window_capturer_->Capture(DesktopRegion()); in OnCaptureCompleted()
Dscreen_capturer_mac.mm200 void Capture(const DesktopRegion& region) override;
207 const DesktopRegion& region);
210 const DesktopRegion& region);
213 const DesktopRegion& region);
262 DesktopRegion last_invalid_region_;
388 void ScreenCapturerMac::Capture(const DesktopRegion& region_to_capture) {
406 DesktopRegion region;
502 const DesktopRegion& region) {
515 for (DesktopRegion::Iterator i(last_invalid_region_);
545 for (DesktopRegion::Iterator i(region);
[all …]
Ddesktop_and_cursor_composer_unittest.cc79 void Capture(const DesktopRegion& region) override { in Capture()
193 blender_.Capture(DesktopRegion()); in TEST_F()
237 blender_.Capture(DesktopRegion()); in TEST_F()
Ddiffer.cc39 DesktopRegion* region) { in CalcDirtyRegion()
136 void Differ::MergeBlocks(DesktopRegion* region) { in MergeBlocks()
Dscreen_capturer_mock_objects.h25 MOCK_METHOD1(Capture, void(const DesktopRegion& region));
Dwindow_capturer_win.cc93 void Capture(const DesktopRegion& region) override;
152 void WindowCapturerWin::Capture(const DesktopRegion& region) { in Capture()
Ddesktop_and_cursor_composer.h36 void Capture(const DesktopRegion& region) override;
Dcropping_window_capturer.h32 void Capture(const DesktopRegion& region) override;
Dwindow_capturer_unittest.cc71 capturer_->Capture(DesktopRegion()); in TEST_F()
/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_gdi.cc73 void ScreenCapturerWinGdi::Capture(const DesktopRegion& region) { in Capture()
111 DesktopRegion region; in Capture()
Dscreen_capturer_win_gdi.h37 void Capture(const DesktopRegion& region) override;

12