/external/webrtc/modules/desktop_capture/win/ |
D | dxgi_output_duplicator.cc | 177 DesktopRegion updated_region; in Duplicate() local 178 updated_region.Swap(&context->updated_region); in Duplicate() 180 DetectUpdatedRegion(frame_info, &context->updated_region); in Duplicate() 185 updated_region.AddRegion(context->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() 210 updated_region.Translate(offset.x(), offset.y()); in Duplicate() 211 target->mutable_updated_region()->AddRegion(updated_region); in Duplicate() 219 for (DesktopRegion::Iterator it(updated_region); !it.IsAtEnd(); in Duplicate() 229 updated_region.Translate(offset.x(), offset.y()); in Duplicate() [all …]
|
D | dxgi_output_duplicator.h | 88 DesktopRegion* updated_region); 93 DesktopRegion* updated_region);
|
D | dxgi_context.h | 25 DesktopRegion updated_region; member
|
/external/webrtc/modules/desktop_capture/ |
D | desktop_capturer_differ_wrapper_unittest.cc | 43 ASSERT_TRUE(frame.updated_region().Equals(region)); in AssertUpdatedRegionIs() 62 intersect.IntersectWith(frame.updated_region()); in AssertUpdatedRegionCovers() 100 DesktopRegion differ(frame.updated_region()); in AssertUpdatedRegionCovers() 117 const T<DesktopRect, Rect...>& updated_region, in ExecuteDifferWrapperCase() argument 124 ::testing::Invoke([&updated_region, check_result, exactly_match]( in ExecuteDifferWrapperCase() 130 AssertUpdatedRegionIs(**frame, updated_region); in ExecuteDifferWrapperCase() 132 AssertUpdatedRegionCovers(**frame, updated_region); in ExecuteDifferWrapperCase() 136 for (const auto& rect : updated_region) { in ExecuteDifferWrapperCase() 137 frame_painter->updated_region()->AddRect(rect); in ExecuteDifferWrapperCase() 210 std::vector<DesktopRect> updated_region; in ExecuteDifferWrapperTest() local [all …]
|
D | desktop_frame_generator.cc | 33 const DesktopRegion& updated_region, in SetUpdatedRegion() argument 40 for (DesktopRegion::Iterator it(updated_region); !it.IsAtEnd(); in SetUpdatedRegion() 119 DesktopRegion updated_region; in GetNextFrame() local 120 if (!painter_->Paint(frame.get(), &updated_region)) { in GetNextFrame() 125 SetUpdatedRegion(frame.get(), updated_region, enlarge_updated_region_, in GetNextFrame() 171 DesktopRegion* BlackWhiteDesktopFramePainter::updated_region() { in updated_region() function in webrtc::BlackWhiteDesktopFramePainter 176 DesktopRegion* updated_region) { in Paint() argument 177 RTC_DCHECK(updated_region->is_empty()); in Paint() 180 updated_region_.Swap(updated_region); in Paint()
|
D | blank_detector_desktop_capturer_wrapper_unittest.cc | 94 painter_.updated_region()->AddRect(DesktopRect::MakeXYWH(0, 0, 100, 100)); in TEST_F() 100 painter_.updated_region()->AddRect( in TEST_F() 107 painter_.updated_region()->AddRect( in TEST_F() 114 painter_.updated_region()->AddRect( in TEST_F() 121 painter_.updated_region()->AddRect(DesktopRect::MakeXYWH( in TEST_F() 136 painter_.updated_region()->AddRect( in TEST_F()
|
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;
|
D | desktop_and_cursor_composer_unittest.cc | 357 EXPECT_TRUE(frame->updated_region().is_empty()); in TEST_F() 361 EXPECT_TRUE(frame_->updated_region().Equals(expected_region)); in TEST_F() 391 EXPECT_TRUE(frame->updated_region().is_empty()); in TEST_F() 395 EXPECT_TRUE(frame_->updated_region().Equals(expected_region)); in TEST_F() 409 EXPECT_TRUE(frame->updated_region().is_empty()); in TEST_F() 410 EXPECT_TRUE(frame_->updated_region().is_empty()); in TEST_F()
|
D | screen_capturer_integration_test.cc | 57 DesktopRegion updated_region(frame.updated_region()); in ArePixelsColoredBy() local 58 updated_region.IntersectWith(rect); in ArePixelsColoredBy() 59 if (!updated_region.Equals(DesktopRegion(rect))) { in ArePixelsColoredBy()
|
D | desktop_frame_rotation_unittest.cc | 339 ASSERT_TRUE(target.updated_region().is_empty()); in TEST() 360 ASSERT_TRUE(target.updated_region().is_empty()); in TEST() 383 ASSERT_TRUE(target.updated_region().is_empty()); in TEST() 406 ASSERT_TRUE(target.updated_region().is_empty()); in TEST()
|
D | screen_capturer_unittest.cc | 143 EXPECT_FALSE(frame->updated_region().is_empty()); in TEST_F() 144 DesktopRegion::Iterator it(frame->updated_region()); in TEST_F()
|
D | screen_capturer_mac_unittest.cc | 61 DesktopRegion::Iterator it((*frame)->updated_region()); in CaptureDoneCallback1()
|
D | blank_detector_desktop_capturer_wrapper.cc | 83 if (!frame->updated_region().is_empty() || is_first_frame_) { in OnCaptureResult()
|
D | desktop_frame.h | 67 const DesktopRegion& updated_region() const { return updated_region_; } in updated_region() function
|
D | desktop_frame.cc | 134 *mutable_updated_region() = other.updated_region(); in CopyFrameInfoFrom()
|
/external/webrtc/modules/desktop_capture/linux/ |
D | screen_capturer_x11.cc | 266 last_invalid_region_ = result->updated_region(); in CaptureFrame() 358 DesktopRegion* updated_region = frame->mutable_updated_region(); in CaptureScreen() local 369 updated_region->AddRect(DesktopRect::MakeXYWH( in CaptureScreen() 373 helper_.InvalidateRegion(*updated_region); in CaptureScreen() 376 helper_.TakeInvalidRegion(updated_region); in CaptureScreen() 377 updated_region->IntersectWith(selected_monitor_rect_); in CaptureScreen() 379 for (DesktopRegion::Iterator it(*updated_region); !it.IsAtEnd(); in CaptureScreen() 391 updated_region->SetRect(selected_monitor_rect_); in CaptureScreen()
|