/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 talk_base::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 …]
|
/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 talk_base::scoped_ptr<cricket::FileVideoCapturer> capturer_; member in __anonfd1b12590111::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 | 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 | 65 capturer_.SignalVideoFrame.connect(this, &VideoCapturerTest::OnVideoFrame); in VideoCapturerTest() 66 capturer_.SignalStateChange.connect(this, in VideoCapturerTest() 88 cricket::FakeVideoCapturer capturer_; member in VideoCapturerTest 97 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F() 102 EXPECT_TRUE(capturer_.IsRunning()); in TEST_F() 105 capturer_.Stop(); in TEST_F() 108 capturer_.Stop(); in TEST_F() 114 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F() 119 EXPECT_TRUE(capturer_.IsRunning()); in TEST_F() 122 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat( in TEST_F() [all …]
|
D | mutedvideocapturer_unittest.cc | 38 capturer_.SignalVideoFrame in SetUp() 43 EXPECT_EQ(capturer, &capturer_); in OnVideoFrame() 50 return (received_width_ == capturer_.GetCaptureFormat()->width) && in ReceivedCorrectFormat() 51 (received_height_ == capturer_.GetCaptureFormat()->height); in ReceivedCorrectFormat() 54 cricket::MutedVideoCapturer capturer_; member in MutedVideoCapturerTest 65 EXPECT_TRUE(capturer_.GetBestCaptureFormat(format, &best_format)); in TEST_F() 73 EXPECT_FALSE(capturer_.IsScreencast()); in TEST_F() 78 EXPECT_TRUE(capturer_.GetPreferredFourccs(&fourccs)); in TEST_F() 80 EXPECT_TRUE(capturer_.GetPreferredFourccs(&fourccs)); in TEST_F() 88 EXPECT_EQ(capturer_.Start(format), cricket::CS_RUNNING); 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 | 334 : capturer_(capturer) { in FrameInputWrapper() 335 ASSERT(capturer_ != NULL); in FrameInputWrapper() 346 if (!capturer_->IsRunning()) { in RenderFrame() 353 capturer_->SignalVideoFrame(capturer_, frame); in RenderFrame() 358 cricket::VideoCapturer* capturer_; member in __anon560bd72a0111::FrameInputWrapper
|
/external/chromium_org/content/renderer/media/ |
D | webrtc_local_audio_track_unittest.cc | 38 : capturer_(capturer), in FakeAudioThread() 55 capturer_.get()); in ThreadMain() 78 scoped_refptr<WebRtcAudioCapturer> capturer_; member in content::__anonc6e5f29d0111::FakeAudioThread 87 : capturer_(capturer) {} in MockCapturerSource() 104 audio_thread_.reset(new FakeAudioThread(capturer_, params_)); in Start() 118 WebRtcAudioCapturer* capturer_; member in content::__anonc6e5f29d0111::MockCapturerSource 165 capturer_ = WebRtcAudioCapturer::CreateCapturer(); in SetUp() 166 capturer_source_ = new MockCapturerSource(capturer_.get()); in SetUp() 167 EXPECT_CALL(*capturer_source_.get(), OnInitialize(_, capturer_.get(), 0)) in SetUp() 169 capturer_->SetCapturerSource(capturer_source_, in SetUp() [all …]
|
D | webrtc_audio_capturer_unittest.cc | 97 capturer_ = WebRtcAudioCapturer::CreateCapturer(); in WebRtcAudioCapturerTest() 98 capturer_->Initialize(-1, params_.channel_layout(), params_.sample_rate(), in WebRtcAudioCapturerTest() 102 EXPECT_CALL(*capturer_source_.get(), Initialize(_, capturer_.get(), 0)); in WebRtcAudioCapturerTest() 103 capturer_->SetCapturerSource(capturer_source_, in WebRtcAudioCapturerTest() 112 track_ = WebRtcLocalAudioTrack::Create(std::string(), capturer_, NULL, in WebRtcAudioCapturerTest() 122 scoped_refptr<WebRtcAudioCapturer> capturer_; in WebRtcAudioCapturerTest() member in content::WebRtcAudioCapturerTest 139 int expected_volume_value = volume * capturer_->MaxVolume() + 0.5; in TEST_F() 149 static_cast<media::AudioCapturerSource::CaptureCallback*>(capturer_); in TEST_F() 163 capturer_->GetAudioProcessingParams(&cached_delay, &cached_volume, in TEST_F() 171 capturer_->Stop(); in TEST_F()
|
D | webaudio_capturer_source.cc | 25 capturer_(NULL), in WebAudioCapturerSource() 68 capturer_ = capturer; in Start() 75 capturer_ = NULL; in Stop() 112 if (capturer_) { in consumeAudio() 113 capturer_->GetAudioProcessingParams(&delay, &volume, &key_pressed); in consumeAudio()
|
D | webrtc_local_audio_track.cc | 142 capturer_(capturer), in WebRtcLocalAudioTrack() 174 capturer = capturer_; in Capture() 356 webaudio_source_->Start(this, capturer_.get()); in Start() 360 if (capturer_.get()) in Start() 361 capturer_->AddTrack(this); in Start() 378 if (!capturer_.get() && !webaudio_source_.get()) in Stop() 390 capturer_->RemoveTrack(this); in Stop() 401 capturer_ = NULL; in Stop()
|
D | webaudio_capturer_source.h | 68 WebRtcAudioCapturer* capturer_; variable
|
D | webrtc_local_audio_track.h | 120 scoped_refptr<WebRtcAudioCapturer> capturer_; in NON_EXPORTED_BASE() local
|
D | mock_media_stream_dependency_factory.cc | 163 capturer_.reset(capturer); in SetVideoCapturer() 167 return capturer_.get(); in GetVideoCapturer()
|
D | mock_media_stream_dependency_factory.h | 47 scoped_ptr<cricket::VideoCapturer> capturer_; variable
|
/external/chromium_org/remoting/host/ |
D | video_scheduler.cc | 45 capturer_(capturer.Pass()), in VideoScheduler() 55 DCHECK(capturer_); in VideoScheduler() 97 if (!capturer_) in OnCursorShapeChanged() 172 capturer_->SetMouseShapeObserver(this); in StartOnCaptureThread() 173 capturer_->Start(this); in StartOnCaptureThread() 186 capturer_.reset(); in StopOnCaptureThread() 205 if (!capturer_ || is_paused_) in CaptureNextFrame() 228 capturer_->Capture(webrtc::DesktopRegion()); in CaptureNextFrame()
|
D | video_scheduler.h | 163 scoped_ptr<webrtc::ScreenCapturer> capturer_; variable
|