Home
last modified time | relevance | path

Searched refs:capturer_ (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/modules/desktop_capture/
Dscreen_capturer_unittest.cc36 capturer_ = DesktopCapturer::CreateScreenCapturer( in SetUp()
38 ASSERT_TRUE(capturer_); in SetUp()
49 capturer_ = DesktopCapturer::CreateScreenCapturer(options); in MaybeCreateDirectxCapturer()
65 capturer_ = DesktopCapturer::CreateScreenCapturer(options); in CreateMagnifierCapturer()
69 std::unique_ptr<DesktopCapturer> capturer_; member in webrtc::ScreenCapturerTest
104 EXPECT_TRUE(capturer_->GetSourceList(&screens)); in TEST_F()
106 EXPECT_TRUE(capturer_->SelectSource(screen.id)); in TEST_F()
117 capturer_->Start(&callback_); in TEST_F()
132 capturer_->Start(&callback_); in TEST_F()
133 capturer_->CaptureFrame(); in TEST_F()
[all …]
Dwindow_capturer_unittest.cc28 capturer_ = DesktopCapturer::CreateWindowCapturer( in SetUp()
30 ASSERT_TRUE(capturer_); in SetUp()
42 std::unique_ptr<DesktopCapturer> capturer_; member in webrtc::WindowCapturerTest
49 EXPECT_TRUE(capturer_->GetSourceList(&sources)); in TEST_F()
72 capturer_->Start(this); in TEST_F()
73 EXPECT_TRUE(capturer_->GetSourceList(&sources)); in TEST_F()
78 if (capturer_->SelectSource(it->id)) { in TEST_F()
79 capturer_->CaptureFrame(); in TEST_F()
85 EXPECT_TRUE(capturer_->GetSourceList(&new_list)); in TEST_F()
Dblank_detector_desktop_capturer_wrapper.cc27 : capturer_(std::move(capturer)), blank_pixel_(blank_pixel) { in BlankDetectorDesktopCapturerWrapper()
28 RTC_DCHECK(capturer_); in BlankDetectorDesktopCapturerWrapper()
37 capturer_->Start(this); in Start()
42 capturer_->SetSharedMemoryFactory(std::move(shared_memory_factory)); in SetSharedMemoryFactory()
47 capturer_->CaptureFrame(); in CaptureFrame()
51 capturer_->SetExcludedWindow(window); in SetExcludedWindow()
55 return capturer_->GetSourceList(sources); in GetSourceList()
59 return capturer_->SelectSource(id); in SelectSource()
63 return capturer_->FocusOnSelectedSource(); in FocusOnSelectedSource()
67 return capturer_->IsOccluded(pos); in IsOccluded()
Dscreen_capturer_integration_test.cc84 capturer_ = DesktopCapturer::CreateScreenCapturer( in SetUp()
153 TestCaptureUpdatedRegion({capturer_.get()}); in TestCaptureUpdatedRegion()
163 capturer_ = DesktopCapturer::CreateScreenCapturer(options); in MaybeCreateDirectxCapturer()
179 capturer_ = DesktopCapturer::CreateScreenCapturer(options); in CreateMagnifierCapturer()
183 std::unique_ptr<DesktopCapturer> capturer_; member in webrtc::ScreenCapturerIntegrationTest
306 std::unique_ptr<DesktopCapturer> capturer2 = std::move(capturer_); in TEST_F()
308 TestCaptureUpdatedRegion({capturer_.get(), capturer2.get()}); in TEST_F()
329 std::unique_ptr<DesktopCapturer> capturer2 = std::move(capturer_); in TEST_F()
331 TestCaptureUpdatedRegion({capturer_.get(), capturer2.get()}); in TEST_F()
358 std::unique_ptr<DesktopCapturer> capturer2 = std::move(capturer_); in TEST_F()
[all …]
Dscreen_capturer_mac_unittest.cc44 capturer_ = DesktopCapturer::CreateScreenCapturer( in SetUp()
48 std::unique_ptr<DesktopCapturer> capturer_; member in webrtc::ScreenCapturerMacTest
92 capturer_->Start(&callback_); in TEST_F()
95 capturer_->CaptureFrame(); in TEST_F()
98 capturer_->CaptureFrame(); in TEST_F()
Dblank_detector_desktop_capturer_wrapper_unittest.cc39 DesktopCapturer* capturer_ = nullptr; member in webrtc::BlankDetectorDesktopCapturerWrapperTest
61 capturer_ = fake_capturer; in BlankDetectorDesktopCapturerWrapperTest()
161 capturer_->Start(this); in TEST_F()
162 PerfTest(capturer_); in TEST_F()
Dblank_detector_desktop_capturer_wrapper.h61 const std::unique_ptr<DesktopCapturer> capturer_; variable
/external/webrtc/test/testsupport/
Dcopy_to_file_audio_capturer_unittest.cc30 capturer_ = std::make_unique<CopyToFileAudioCapturer>(std::move(delegate), in SetUp()
36 std::unique_ptr<CopyToFileAudioCapturer> capturer_; member in webrtc::test::CopyToFileAudioCapturerTest
42 ASSERT_TRUE(capturer_->Capture(&expected_buffer)); in TEST_F()
45 capturer_.reset(nullptr); in TEST_F()
/external/webrtc/modules/audio_device/include/
Dtest_audio_device.cc62 capturer_(std::move(capturer)), in TestAudioDeviceModuleImpl()
79 if (capturer_) { in TestAudioDeviceModuleImpl()
80 RTC_CHECK(good_sample_rate(capturer_->SamplingFrequency())); in TestAudioDeviceModuleImpl()
123 RTC_CHECK(capturer_); in StartRecording()
161 const bool keep_capturing = capturer_->Capture(&recording_buffer_); in ProcessAudio()
166 recording_buffer_.size() / capturer_->NumChannels(), in ProcessAudio()
167 2 * capturer_->NumChannels(), capturer_->NumChannels(), in ProcessAudio()
168 capturer_->SamplingFrequency(), 0, 0, 0, false, new_mic_level); in ProcessAudio()
193 const std::unique_ptr<Capturer> capturer_ RTC_GUARDED_BY(lock_);
/external/webrtc/test/
Dmac_capturer.mm73 capturer_ = (__bridge_retained void *)capturer;
93 (__bridge_transfer RTC_OBJC_TYPE(RTCCameraVideoCapturer) *)capturer_;
Dmac_capturer.h43 void* capturer_; variable
/external/webrtc/examples/peerconnection/client/
Dconductor.cc99 : VideoTrackSource(/*remote=*/false), capturer_(std::move(capturer)) {} in CapturerTrackSource()
103 return capturer_.get(); in source()
105 std::unique_ptr<webrtc::test::VcmCapturer> capturer_; member in __anon142c687a0111::CapturerTrackSource
/external/webrtc/examples/unityplugin/
Dsimple_peer_connection.cc70 : VideoTrackSource(/*remote=*/false), capturer_(std::move(capturer)) {} in CapturerTrackSource()
74 return capturer_.get(); in source()
76 std::unique_ptr<webrtc::test::VcmCapturer> capturer_; member in __anoncfcfdb4b0111::CapturerTrackSource
/external/webrtc/call/
Dcall_perf_tests.cc386 capturer_(nullptr), in TestCaptureNtpTime()
457 90 * static_cast<uint32_t>(capturer_->first_frame_capture_time()); in TestCaptureNtpTime()
472 capturer_ = frame_generator_capturer; in TestCaptureNtpTime()
499 test::FrameGeneratorCapturer* capturer_; in TestCaptureNtpTime() member in webrtc::CallPerfTest::TestCaptureNtpTime::CaptureNtpTimeObserver
/external/webrtc/video/
Dvideo_send_stream_tests.cc1461 capturer_(nullptr) {} in TEST_F()
1474 capturer_->Stop(); in TEST_F()
1482 capturer_->Stop(); in TEST_F()
1500 capturer_->Start(); in TEST_F()
1517 capturer_ = frame_generator_capturer; in TEST_F()
1537 test::FrameGeneratorCapturer* capturer_ RTC_GUARDED_BY(mutex_); in TEST_F()