/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | webrtcvideocapturer_unittest.cc | 48 capturer_(new cricket::WebRtcVideoCapturer(factory_)), in WebRtcVideoCapturerTest() 49 listener_(capturer_.get()) { in WebRtcVideoCapturerTest() 62 rtc::scoped_ptr<cricket::WebRtcVideoCapturer> capturer_; member in WebRtcVideoCapturerTest 67 EXPECT_EQ("", capturer_->GetId()); in TEST_F() 68 EXPECT_TRUE(capturer_->GetSupportedFormats()->empty()); in TEST_F() 69 EXPECT_TRUE(capturer_->GetCaptureFormat() == NULL); in TEST_F() 70 EXPECT_FALSE(capturer_->IsRunning()); in TEST_F() 74 EXPECT_FALSE(capturer_->Init(cricket::Device("bad-name", "bad-id"))); in TEST_F() 75 EXPECT_FALSE(capturer_->IsRunning()); in TEST_F() 79 EXPECT_TRUE(capturer_->Init(cricket::Device(kTestDeviceName, kTestDeviceId))); in TEST_F() [all …]
|
D | webrtcvideoengine2.cc | 1315 capturer_(NULL), in WebRtcVideoSendStream() 1438 capturer_ = NULL; in SetCapturer() 1442 capturer_ = capturer; in SetCapturer() 1482 if (capturer_ == NULL) { in DisconnectCapturer() 1485 capturer_->SignalVideoFrame.disconnect(this); in DisconnectCapturer() 1486 capturer_ = NULL; in DisconnectCapturer() 1660 if (capturer_ != NULL && !capturer_->IsMuted()) { in GetVideoSenderInfo() 1662 capturer_->GetStats(&info.adapt_frame_drops, in GetVideoSenderInfo()
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
D | filevideocapturer_unittest.cc | 44 capturer_.reset(new cricket::FileVideoCapturer); in SetUp() 48 return capturer_->Init(cricket::GetTestFilePath(filename)); in OpenFile() 85 rtc::scoped_ptr<cricket::FileVideoCapturer> capturer_; member in __anon048b91c60111::FileVideoCapturerTest 90 EXPECT_EQ("", capturer_->GetId()); in TEST_F() 91 EXPECT_TRUE(capturer_->GetSupportedFormats()->empty()); in TEST_F() 92 EXPECT_EQ(NULL, capturer_->GetCaptureFormat()); in TEST_F() 93 EXPECT_FALSE(capturer_->IsRunning()); in TEST_F() 102 EXPECT_NE("", capturer_->GetId()); in TEST_F() 103 EXPECT_TRUE(NULL != capturer_->GetSupportedFormats()); in TEST_F() 104 EXPECT_EQ(1U, capturer_->GetSupportedFormats()->size()); in TEST_F() [all …]
|
D | yuvframescapturer.cc | 19 : capturer_(capturer), in YuvFramesThread() 32 if (capturer_) { in Run() 33 capturer_->ReadFrame(true); in Run() 45 if (capturer_) { in OnMessage() 46 capturer_->ReadFrame(false); in OnMessage() 60 YuvFramesCapturer* capturer_; member in cricket::YuvFramesCapturer::YuvFramesThread
|
D | filevideocapturer.cc | 108 : capturer_(capturer), in FileReadThread() 121 if (capturer_ && capturer_->ReadFrame(true, &waiting_time_ms)) { in Run() 133 if (capturer_ && capturer_->ReadFrame(false, &waiting_time_ms)) { in OnMessage() 147 FileVideoCapturer* capturer_; member in cricket::FileVideoCapturer::FileReadThread
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | videocapturer_unittest.cc | 87 capturer_.SignalVideoFrame.connect(this, &VideoCapturerTest::OnVideoFrame); in VideoCapturerTest() 88 capturer_.SignalStateChange.connect(this, in VideoCapturerTest() 110 cricket::FakeVideoCapturer capturer_; member in VideoCapturerTest 119 EXPECT_TRUE(capturer_.enable_video_adapter()); in TEST_F() 120 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F() 125 EXPECT_TRUE(capturer_.IsRunning()); in TEST_F() 128 capturer_.Stop(); in TEST_F() 131 capturer_.Stop(); in TEST_F() 137 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F() 142 EXPECT_TRUE(capturer_.IsRunning()); in TEST_F() [all …]
|
D | videoadapter_unittest.cc | 59 capturer_.reset(new FileVideoCapturer); in SetUp() 60 EXPECT_TRUE(capturer_->Init(GetTestFilePath( in SetUp() 62 capture_format_ = capturer_->GetSupportedFormats()->at(0); in SetUp() 68 capturer_->SignalFrameCaptured.connect( in SetUp() 75 capturer_->SignalFrameCaptured.disconnect_all(); in TearDown() 173 rtc::scoped_ptr<FileVideoCapturer> capturer_; member in cricket::VideoAdapterTest 193 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); in TEST_F() 194 EXPECT_TRUE_WAIT(!capturer_->IsRunning() || in TEST_F() 208 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); in TEST_F() 209 EXPECT_TRUE_WAIT(!capturer_->IsRunning() || in TEST_F() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | remotevideocapturer_unittest.cc | 52 capturer_.SignalStateChange.connect( in SetUp() 54 capturer_.SignalVideoFrame.connect( in SetUp() 59 capturer_.SignalStateChange.disconnect(this); in ~RemoteVideoCapturerTest() 60 capturer_.SignalVideoFrame.disconnect(this); in ~RemoteVideoCapturerTest() 71 webrtc::RemoteVideoCapturer capturer_; member in RemoteVideoCapturerTest 76 EXPECT_EQ(&capturer_, capturer); in OnStateChange() 81 EXPECT_EQ(&capturer_, capturer); in OnVideoFrame() 92 capturer_.StartCapturing(VideoFormat(kTestFormat))); in TEST_F() 95 *capturer_.GetCaptureFormat()); in TEST_F() 96 EXPECT_TRUE(capturer_.IsRunning()); in TEST_F() [all …]
|
D | videosource_unittest.cc | 131 capturer_(capturer_cleanup_.get()), in VideoSourceTest() 153 EXPECT_EQ(capturer_, source_->GetVideoCapturer()); in CreateVideoSource() 161 TestVideoCapturer* capturer_; member in VideoSourceTest 178 ASSERT_TRUE(capturer_->CaptureFrame()); in TEST_F() 181 capturer_->Stop(); in TEST_F() 221 capturer_->SignalStateChange(capturer_, cricket::CS_FAILED); in TEST_F() 237 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); in TEST_F() 257 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); in TEST_F() 278 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); in TEST_F() 304 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); in TEST_F() [all …]
|
D | videosource.cc | 310 : capturer_(capturer) { in FrameInputWrapper() 311 ASSERT(capturer_ != NULL); in FrameInputWrapper() 322 if (!capturer_->IsRunning()) { in RenderFrame() 329 capturer_->SignalVideoFrame(capturer_, frame); in RenderFrame() 334 cricket::VideoCapturer* capturer_; member in __anon64f2dd570111::FrameInputWrapper
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | screen_capturer_unittest.cc | 34 capturer_.reset( in SetUp() 39 scoped_ptr<ScreenCapturer> capturer_; member in webrtc::ScreenCapturerTest 64 EXPECT_TRUE(capturer_->GetScreenList(&screens)); in TEST_F() 67 EXPECT_TRUE(capturer_->SelectScreen(it->id)); in TEST_F() 72 capturer_->SetMouseShapeObserver(&mouse_observer_); in TEST_F() 73 capturer_->Start(&callback_); in TEST_F() 88 capturer_->Start(&callback_); in TEST_F() 89 capturer_->Capture(DesktopRegion()); in TEST_F() 122 capturer_->Start(&callback_); in TEST_F() 123 capturer_->Capture(DesktopRegion()); in TEST_F() [all …]
|
D | window_capturer_unittest.cc | 26 capturer_.reset( in SetUp() 43 scoped_ptr<WindowCapturer> capturer_; member in webrtc::WindowCapturerTest 50 EXPECT_TRUE(capturer_->GetWindowList(&windows)); in TEST_F() 68 capturer_->Start(this); in TEST_F() 69 EXPECT_TRUE(capturer_->GetWindowList(&windows)); in TEST_F() 75 if (capturer_->SelectWindow(it->id)) { in TEST_F() 76 capturer_->Capture(DesktopRegion()); in TEST_F() 82 EXPECT_TRUE(capturer_->GetWindowList(&new_list)); in TEST_F()
|
D | screen_capturer_mac_unittest.cc | 42 capturer_.reset(ScreenCapturer::Create()); in SetUp() 45 scoped_ptr<ScreenCapturer> capturer_; member in webrtc::ScreenCapturerMacTest 90 capturer_->Start(&callback_); in TEST_F() 93 capturer_->Capture(DesktopRegion()); in TEST_F() 96 capturer_->Capture(DesktopRegion()); in TEST_F()
|
/external/chromium_org/content/renderer/media/ |
D | webrtc_local_audio_track_unittest.cc | 41 : capturer_(capturer), in FakeAudioThread() 58 capturer_); in ThreadMain() 81 WebRtcAudioCapturer* capturer_; member in content::__anond5ccf8ca0111::FakeAudioThread 90 : capturer_(capturer) {} in MockCapturerSource() 107 audio_thread_.reset(new FakeAudioThread(capturer_, params_)); in Start() 121 WebRtcAudioCapturer* capturer_; member in content::__anond5ccf8ca0111::MockCapturerSource 182 capturer_ = WebRtcAudioCapturer::CreateCapturer( in SetUp() 185 audio_source->SetAudioCapturer(capturer_.get()); in SetUp() 186 capturer_source_ = new MockCapturerSource(capturer_.get()); in SetUp() 187 EXPECT_CALL(*capturer_source_.get(), OnInitialize(_, capturer_.get(), -1)) in SetUp() [all …]
|
D | webrtc_audio_capturer_unittest.cc | 94 capturer_ = WebRtcAudioCapturer::CreateCapturer( in WebRtcAudioCapturerTest() 101 EXPECT_CALL(*capturer_source_.get(), Initialize(_, capturer_.get(), -1)); in WebRtcAudioCapturerTest() 104 capturer_->SetCapturerSourceForTesting(capturer_source_, params_); in WebRtcAudioCapturerTest() 108 track_.reset(new WebRtcLocalAudioTrack(adapter.get(), capturer_, NULL)); in WebRtcAudioCapturerTest() 122 int expected_volume_value = volume * capturer_->MaxVolume() + 0.5; in WebRtcAudioCapturerTest() 128 capturer_.get()); in WebRtcAudioCapturerTest() 142 capturer_->GetAudioProcessingParams(&cached_delay, &cached_volume, in WebRtcAudioCapturerTest() 150 capturer_->Stop(); in WebRtcAudioCapturerTest() 155 scoped_refptr<WebRtcAudioCapturer> capturer_; in WebRtcAudioCapturerTest() member in content::WebRtcAudioCapturerTest
|
D | webrtc_local_audio_track.cc | 25 capturer_(capturer), in WebRtcLocalAudioTrack() 60 capturer = capturer_; in Capture() 198 webaudio_source_->Start(this, capturer_.get()); in Start() 199 } else if (capturer_.get()) { in Start() 200 capturer_->AddTrack(this); in Start() 218 if (!capturer_.get() && !webaudio_source_.get()) in Stop() 230 capturer_->RemoveTrack(this); in Stop() 241 capturer_ = NULL; in Stop()
|
D | webaudio_capturer_source.cc | 25 capturer_(NULL), in WebAudioCapturerSource() 70 capturer_ = capturer; in Start() 77 capturer_ = NULL; in Stop() 114 if (capturer_) { in consumeAudio() 115 capturer_->GetAudioProcessingParams(&delay, &volume, &key_pressed); in consumeAudio()
|
D | webaudio_capturer_source.h | 68 WebRtcAudioCapturer* capturer_; variable
|
D | webrtc_local_audio_track.h | 95 scoped_refptr<WebRtcAudioCapturer> capturer_; in NON_EXPORTED_BASE() local
|
/external/chromium_org/remoting/host/chromeos/ |
D | aura_desktop_capturer_unittest.cc | 56 capturer_->OnFrameCaptured(output.Pass()); in SimulateFrameCapture() 59 scoped_ptr<AuraDesktopCapturer> capturer_; member in remoting::AuraDesktopCapturerTest 63 capturer_.reset(new AuraDesktopCapturer()); in SetUp() 71 capturer_->Start(this); in TEST_F()
|
/external/chromium_org/remoting/host/ |
D | video_scheduler.cc | 59 capturer_(capturer.Pass()), in VideoScheduler() 70 DCHECK(capturer_); in VideoScheduler() 116 if (!capturer_) in OnMouseCursor() 225 capture_task_runner_->DeleteSoon(FROM_HERE, capturer_.release()); in ~VideoScheduler() 240 capturer_->Start(this); in StartOnCaptureThread() 256 capturer_.reset(); in StopOnCaptureThread() 275 if (!capturer_ || is_paused_) in CaptureNextFrame() 301 capturer_->Capture(webrtc::DesktopRegion()); in CaptureNextFrame()
|
D | video_scheduler.h | 183 scoped_ptr<webrtc::DesktopCapturer> capturer_; variable
|
/external/chromium_org/content/renderer/media/webrtc/ |
D | webrtc_local_audio_track_adapter_unittest.cc | 41 capturer_ = WebRtcAudioCapturer::CreateCapturer( in WebRtcLocalAudioTrackAdapterTest() 44 track_.reset(new WebRtcLocalAudioTrack(adapter_.get(), capturer_, NULL)); in WebRtcLocalAudioTrackAdapterTest() 55 scoped_refptr<WebRtcAudioCapturer> capturer_; member in content::WebRtcLocalAudioTrackAdapterTest
|
D | mock_peer_connection_dependency_factory.cc | 207 capturer_.reset(capturer); in SetVideoCapturer() 211 return capturer_.get(); in GetVideoCapturer() 271 DCHECK(capturer_); in GetLastFrameWidth() 273 static_cast<MockRtcVideoCapturer*>(capturer_.get())->GetLastFrameWidth(); in GetLastFrameWidth() 277 DCHECK(capturer_); in GetLastFrameHeight() 279 static_cast<MockRtcVideoCapturer*>(capturer_.get())->GetLastFrameHeight(); in GetLastFrameHeight() 283 DCHECK(capturer_); in GetFrameNum() 284 return static_cast<MockRtcVideoCapturer*>(capturer_.get())->GetFrameNum(); in GetFrameNum()
|
/external/chromium_org/third_party/webrtc/video/ |
D | call_perf_tests.cc | 330 capturer_(NULL), in TestCaptureNtpTime() 382 90 * static_cast<uint32_t>(capturer_->first_frame_capture_time()); in TestCaptureNtpTime() 396 capturer_ = frame_generator_capturer; in TestCaptureNtpTime() 419 test::FrameGeneratorCapturer* capturer_; in TestCaptureNtpTime() member in webrtc::CallPerfTest::TestCaptureNtpTime::CaptureNtpTimeObserver
|