Home
last modified time | relevance | path

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

/external/webrtc/modules/desktop_capture/win/
Ddxgi_output_duplicator.cc177 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 …]
Ddxgi_output_duplicator.h88 DesktopRegion* updated_region);
93 DesktopRegion* updated_region);
Ddxgi_context.h25 DesktopRegion updated_region; member
/external/webrtc/modules/desktop_capture/
Ddesktop_capturer_differ_wrapper_unittest.cc43 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 …]
Ddesktop_frame_generator.cc33 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()
Dblank_detector_desktop_capturer_wrapper_unittest.cc94 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()
Ddesktop_frame_generator.h40 virtual bool Paint(DesktopFrame* frame, DesktopRegion* updated_region) = 0;
110 DesktopRegion* updated_region();
113 bool Paint(DesktopFrame* frame, DesktopRegion* updated_region) override;
Ddesktop_and_cursor_composer_unittest.cc357 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()
Dscreen_capturer_integration_test.cc57 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()
Ddesktop_frame_rotation_unittest.cc339 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()
Dscreen_capturer_unittest.cc143 EXPECT_FALSE(frame->updated_region().is_empty()); in TEST_F()
144 DesktopRegion::Iterator it(frame->updated_region()); in TEST_F()
Dscreen_capturer_mac_unittest.cc61 DesktopRegion::Iterator it((*frame)->updated_region()); in CaptureDoneCallback1()
Dblank_detector_desktop_capturer_wrapper.cc83 if (!frame->updated_region().is_empty() || is_first_frame_) { in OnCaptureResult()
Ddesktop_frame.h67 const DesktopRegion& updated_region() const { return updated_region_; } in updated_region() function
Ddesktop_frame.cc134 *mutable_updated_region() = other.updated_region(); in CopyFrameInfoFrom()
/external/webrtc/modules/desktop_capture/linux/
Dscreen_capturer_x11.cc266 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()