/external/webrtc/modules/desktop_capture/ |
D | screen_capturer_helper_unittest.cc | 23 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F() 31 DesktopRegion region; in TEST_F() 38 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4)).Equals(region)); in TEST_F() 41 DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4))); in TEST_F() 43 DesktopRegion(DesktopRect::MakeXYWH(4, 2, 3, 4))); in TEST_F() 45 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 6, 4)).Equals(region)); in TEST_F() 49 DesktopRegion region; in TEST_F() 52 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeWH(12, 34)).Equals(region)); in TEST_F() 64 DesktopRegion region; in TEST_F() 66 EXPECT_TRUE(DesktopRegion().Equals(region)); in TEST_F() [all …]
|
D | desktop_region.h | 28 class RTC_EXPORT DesktopRegion { 72 explicit Iterator(const DesktopRegion& target); 81 const DesktopRegion& region_; 94 DesktopRegion(); 95 explicit DesktopRegion(const DesktopRect& rect); 96 DesktopRegion(const DesktopRect* rects, int count); 97 DesktopRegion(const DesktopRegion& other); 98 ~DesktopRegion(); 100 DesktopRegion& operator=(const DesktopRegion& other); 104 bool Equals(const DesktopRegion& region) const; [all …]
|
D | desktop_region.cc | 20 DesktopRegion::RowSpan::RowSpan(int32_t left, int32_t right) in RowSpan() 23 DesktopRegion::Row::Row(const Row&) = default; 24 DesktopRegion::Row::Row(Row&&) = default; 26 DesktopRegion::Row::Row(int32_t top, int32_t bottom) in Row() 29 DesktopRegion::Row::~Row() {} in ~Row() 31 DesktopRegion::DesktopRegion() {} in DesktopRegion() function in webrtc::DesktopRegion 33 DesktopRegion::DesktopRegion(const DesktopRect& rect) { in DesktopRegion() function in webrtc::DesktopRegion 37 DesktopRegion::DesktopRegion(const DesktopRect* rects, int count) { in DesktopRegion() function in webrtc::DesktopRegion 41 DesktopRegion::DesktopRegion(const DesktopRegion& other) { in DesktopRegion() function in webrtc::DesktopRegion 45 DesktopRegion::~DesktopRegion() { in ~DesktopRegion() [all …]
|
D | desktop_region_unittest.cc | 28 void CompareRegion(const DesktopRegion& region, in CompareRegion() 31 DesktopRegion::Iterator it(region); in CompareRegion() 49 DesktopRegion r; in TEST() 55 DesktopRegion r; in TEST() 63 DesktopRegion r; in TEST() 101 DesktopRegion r; in TEST() 222 DesktopRegion r; in TEST() 246 DesktopRegion base_region; in TEST() 268 DesktopRegion r = base_region; in TEST() 280 for (DesktopRegion::Iterator it(r); !it.IsAtEnd(); it.Advance()) { in TEST() [all …]
|
D | screen_capturer_helper.h | 36 void InvalidateRegion(const DesktopRegion& invalid_region); 43 void TakeInvalidRegion(DesktopRegion* invalid_region); 64 static void ExpandToGrid(const DesktopRegion& region, 66 DesktopRegion* result); 72 DesktopRegion invalid_region_;
|
D | screen_capturer_helper.cc | 28 const DesktopRegion& invalid_region) { in InvalidateRegion() 38 void ScreenCapturerHelper::TakeInvalidRegion(DesktopRegion* invalid_region) { in TakeInvalidRegion() 47 DesktopRegion expanded_region; in TakeInvalidRegion() 79 void ScreenCapturerHelper::ExpandToGrid(const DesktopRegion& region, in ExpandToGrid() 81 DesktopRegion* result) { in ExpandToGrid() 87 for (DesktopRegion::Iterator it(region); !it.IsAtEnd(); it.Advance()) { in ExpandToGrid()
|
D | desktop_frame_generator.cc | 33 const DesktopRegion& updated_region, in SetUpdatedRegion() 40 for (DesktopRegion::Iterator it(updated_region); !it.IsAtEnd(); in SetUpdatedRegion() 83 DesktopRegion* region, in PaintRegion() 86 for (DesktopRegion::Iterator it(*region); !it.IsAtEnd(); it.Advance()) { in PaintRegion() 119 DesktopRegion updated_region; in GetNextFrame() 171 DesktopRegion* BlackWhiteDesktopFramePainter::updated_region() { in updated_region() 176 DesktopRegion* updated_region) { in Paint()
|
D | desktop_frame_generator.h | 40 virtual bool Paint(DesktopFrame* frame, DesktopRegion* updated_region) = 0; 110 DesktopRegion* updated_region(); 113 bool Paint(DesktopFrame* frame, DesktopRegion* updated_region) override; 116 DesktopRegion updated_region_;
|
D | desktop_capturer_differ_wrapper_unittest.cc | 39 DesktopRegion region; in AssertUpdatedRegionIs() 54 DesktopRegion region; in AssertUpdatedRegionCovers() 61 DesktopRegion intersect(region); in AssertUpdatedRegionCovers() 100 DesktopRegion differ(frame.updated_region()); in AssertUpdatedRegionCovers() 102 for (DesktopRegion::Iterator it(differ); !it.IsAtEnd(); it.Advance()) { in AssertUpdatedRegionCovers()
|
D | desktop_frame.h | 67 const DesktopRegion& updated_region() const { return updated_region_; } in updated_region() 68 DesktopRegion* mutable_updated_region() { return &updated_region_; } in mutable_updated_region() 150 DesktopRegion updated_region_;
|
D | desktop_capturer_differ_wrapper.cc | 59 DesktopRegion* const output) { in CompareRow() 117 DesktopRegion* const output) { in CompareFrames() 208 DesktopRegion hints; in OnCaptureResult() 210 for (DesktopRegion::Iterator it(hints); !it.IsAtEnd(); it.Advance()) { in OnCaptureResult()
|
D | screen_capturer_integration_test.cc | 57 DesktopRegion updated_region(frame.updated_region()); in ArePixelsColoredBy() 59 if (!updated_region.Equals(DesktopRegion(rect))) { in ArePixelsColoredBy()
|
D | screen_capturer_mac_unittest.cc | 61 DesktopRegion::Iterator it((*frame)->updated_region()); in CaptureDoneCallback1()
|
D | desktop_and_cursor_composer_unittest.cc | 358 DesktopRegion expected_region; in TEST_F() 392 DesktopRegion expected_region; in TEST_F()
|
D | screen_capturer_unittest.cc | 144 DesktopRegion::Iterator it(frame->updated_region()); in TEST_F()
|
/external/webrtc/modules/desktop_capture/win/ |
D | dxgi_output_duplicator.cc | 177 DesktopRegion updated_region; in Duplicate() 191 for (DesktopRegion::Iterator it(updated_region); !it.IsAtEnd(); in Duplicate() 200 for (DesktopRegion::Iterator it(updated_region); !it.IsAtEnd(); in Duplicate() 219 for (DesktopRegion::Iterator it(updated_region); !it.IsAtEnd(); in Duplicate() 254 DesktopRegion* updated_region) { in DetectUpdatedRegion() 266 DesktopRegion* updated_region) { in DoDetectUpdatedRegion()
|
D | dxgi_output_duplicator.h | 88 DesktopRegion* updated_region); 93 DesktopRegion* updated_region);
|
D | dxgi_context.h | 25 DesktopRegion updated_region;
|
D | dxgi_texture.h | 24 class DesktopRegion; variable
|
/external/webrtc/modules/desktop_capture/mac/ |
D | screen_capturer_mac.h | 57 bool CgBlit(const DesktopFrame& frame, const DesktopRegion& region); 99 DesktopRegion last_invalid_region_;
|
D | screen_capturer_mac.mm | 229 DesktopRegion region; 295 bool ScreenCapturerMac::CgBlit(const DesktopFrame& frame, const DesktopRegion& region) { 298 if (queue_.previous_frame() && !region.Equals(DesktopRegion(screen_pixel_bounds_))) { 336 DesktopRegion copy_region = region; 375 for (DesktopRegion::Iterator i(copy_region); !i.IsAtEnd(); i.Advance()) { 522 DesktopRegion region;
|
/external/webrtc/modules/desktop_capture/linux/ |
D | screen_capturer_x11.cc | 358 DesktopRegion* updated_region = frame->mutable_updated_region(); in CaptureScreen() 379 for (DesktopRegion::Iterator it(*updated_region); !it.IsAtEnd(); in CaptureScreen() 429 for (DesktopRegion::Iterator it(last_invalid_region_); !it.IsAtEnd(); in SynchronizeFrame()
|
D | screen_capturer_x11.h | 138 DesktopRegion last_invalid_region_;
|