/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideocapturer_unittest.cc | 48 capturer_(new cricket::WebRtcVideoCapturer(factory_)), 49 listener_(capturer_.get()) { 61 FakeWebRtcVcmFactory* factory_; // owned by capturer_ 62 talk_base::scoped_ptr<cricket::WebRtcVideoCapturer> capturer_; member in class:WebRtcVideoCapturerTest 67 EXPECT_EQ("", capturer_->GetId()); 68 EXPECT_TRUE(capturer_->GetSupportedFormats()->empty()); 69 EXPECT_TRUE(capturer_->GetCaptureFormat() == NULL); 70 EXPECT_FALSE(capturer_->IsRunning()); 74 EXPECT_FALSE(capturer_->Init(cricket::Device("bad-name", "bad-id"))); 75 EXPECT_FALSE(capturer_->IsRunning()) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
remotevideocapturer_unittest.cc | 52 capturer_.SignalStateChange.connect( 54 capturer_.SignalVideoFrame.connect( 59 capturer_.SignalStateChange.disconnect(this); 60 capturer_.SignalVideoFrame.disconnect(this); 71 webrtc::RemoteVideoCapturer capturer_; member in class:RemoteVideoCapturerTest 76 EXPECT_EQ(&capturer_, capturer); 81 EXPECT_EQ(&capturer_, capturer); 92 capturer_.StartCapturing(VideoFormat(kTestFormat))); 95 *capturer_.GetCaptureFormat()); 96 EXPECT_TRUE(capturer_.IsRunning()) [all...] |
videosource_unittest.cc | 131 capturer_(capturer_cleanup_.get()), 147 // VideoSource take ownership of |capturer_| 153 EXPECT_EQ(capturer_, source_->GetVideoCapturer()); 161 TestVideoCapturer* capturer_; member in class:VideoSourceTest 178 ASSERT_TRUE(capturer_->CaptureFrame()); 181 capturer_->Stop(); 221 capturer_->SignalStateChange(capturer_, cricket::CS_FAILED); 237 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); 257 const cricket::VideoFormat* format = capturer_->GetCaptureFormat() [all...] |
videosource.cc | 334 : capturer_(capturer) { 335 ASSERT(capturer_ != NULL); 346 if (!capturer_->IsRunning()) { 353 capturer_->SignalVideoFrame(capturer_, frame); 358 cricket::VideoCapturer* capturer_; member in class:__anon14555::FrameInputWrapper
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
filevideocapturer_unittest.cc | 44 capturer_.reset(new cricket::FileVideoCapturer); 48 return capturer_->Init(cricket::GetTestFilePath(filename)); 85 talk_base::scoped_ptr<cricket::FileVideoCapturer> capturer_; member in class:__anon14618::FileVideoCapturerTest 90 EXPECT_EQ("", capturer_->GetId()); 91 EXPECT_TRUE(capturer_->GetSupportedFormats()->empty()); 92 EXPECT_EQ(NULL, capturer_->GetCaptureFormat()); 93 EXPECT_FALSE(capturer_->IsRunning()); 102 EXPECT_NE("", capturer_->GetId()); 103 EXPECT_TRUE(NULL != capturer_->GetSupportedFormats()); 104 EXPECT_EQ(1U, capturer_->GetSupportedFormats()->size()) [all...] |
filevideocapturer.cc | 108 : capturer_(capturer), 121 if (capturer_ && capturer_->ReadFrame(true, &waiting_time_ms)) { 133 if (capturer_ && capturer_->ReadFrame(false, &waiting_time_ms)) { 147 FileVideoCapturer* capturer_; member in class:cricket::FileVideoCapturer::FileReadThread
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocapturer_unittest.cc | 65 capturer_.SignalVideoFrame.connect(this, &VideoCapturerTest::OnVideoFrame); 66 capturer_.SignalStateChange.connect(this, 88 cricket::FakeVideoCapturer capturer_; member in class:VideoCapturerTest 97 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( 102 EXPECT_TRUE(capturer_.IsRunning()); 105 capturer_.Stop(); 108 capturer_.Stop(); 114 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( 119 EXPECT_TRUE(capturer_.IsRunning()); 122 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat [all...] |
mutedvideocapturer_unittest.cc | 38 capturer_.SignalVideoFrame 43 EXPECT_EQ(capturer, &capturer_); 50 return (received_width_ == capturer_.GetCaptureFormat()->width) && 51 (received_height_ == capturer_.GetCaptureFormat()->height); 54 cricket::MutedVideoCapturer capturer_; member in class:MutedVideoCapturerTest 65 EXPECT_TRUE(capturer_.GetBestCaptureFormat(format, &best_format)); 73 EXPECT_FALSE(capturer_.IsScreencast()); 78 EXPECT_TRUE(capturer_.GetPreferredFourccs(&fourccs)); 80 EXPECT_TRUE(capturer_.GetPreferredFourccs(&fourccs)); 88 EXPECT_EQ(capturer_.Start(format), cricket::CS_RUNNING) [all...] |
/external/chromium_org/content/renderer/media/ |
webrtc_audio_capturer_unittest.cc | 97 capturer_ = WebRtcAudioCapturer::CreateCapturer(); 98 capturer_->Initialize(-1, params_.channel_layout(), params_.sample_rate(), 102 EXPECT_CALL(*capturer_source_.get(), Initialize(_, capturer_.get(), 0)); 103 capturer_->SetCapturerSource(capturer_source_, 112 track_ = WebRtcLocalAudioTrack::Create(std::string(), capturer_, NULL, 122 scoped_refptr<WebRtcAudioCapturer> capturer_; member in class:content::WebRtcAudioCapturerTest 139 int expected_volume_value = volume * capturer_->MaxVolume() + 0.5; 149 static_cast<media::AudioCapturerSource::CaptureCallback*>(capturer_); 163 capturer_->GetAudioProcessingParams(&cached_delay, &cached_volume, 171 capturer_->Stop() [all...] |
webrtc_local_audio_track_unittest.cc | 38 : capturer_(capturer), 55 capturer_.get()); 78 scoped_refptr<WebRtcAudioCapturer> capturer_; member in class:content::__anon10909::FakeAudioThread 87 : capturer_(capturer) {} 104 audio_thread_.reset(new FakeAudioThread(capturer_, params_)); 118 WebRtcAudioCapturer* capturer_; member in class:content::__anon10909::MockCapturerSource 165 capturer_ = WebRtcAudioCapturer::CreateCapturer(); 166 capturer_source_ = new MockCapturerSource(capturer_.get()); 167 EXPECT_CALL(*capturer_source_.get(), OnInitialize(_, capturer_.get(), 0)) 169 capturer_->SetCapturerSource(capturer_source_ 177 scoped_refptr<WebRtcAudioCapturer> capturer_; member in class:content::WebRtcLocalAudioTrackTest [all...] |
webaudio_capturer_source.cc | 25 capturer_(NULL), 68 capturer_ = capturer; 75 capturer_ = NULL; 112 if (capturer_) { 113 capturer_->GetAudioProcessingParams(&delay, &volume, &key_pressed);
|
webaudio_capturer_source.h | 67 // This |capturer_| is guaranteed to outlive this object. 68 WebRtcAudioCapturer* capturer_; member in class:content::WebAudioCapturerSource
|
webrtc_local_audio_track.cc | 142 capturer_(capturer), 174 capturer = capturer_; 356 webaudio_source_->Start(this, capturer_.get()); 360 if (capturer_.get()) 361 capturer_->AddTrack(this); 378 if (!capturer_.get() && !webaudio_source_.get()) 384 // Also note that the track is not registered as a sink to the |capturer_| 388 // It is necessary to call RemoveTrack on the |capturer_| to avoid getting 390 capturer_->RemoveTrack(this); 394 // setting the |capturer_| to NULL [all...] |
webrtc_local_audio_track.h | 120 scoped_refptr<WebRtcAudioCapturer> capturer_; member in class:content::WebRtcLocalAudioTrack 127 // TODO(xians): merge |track_source_| to |capturer_|.
|
mock_media_stream_dependency_factory.cc | 163 capturer_.reset(capturer); 167 return capturer_.get();
|
mock_media_stream_dependency_factory.h | 47 scoped_ptr<cricket::VideoCapturer> capturer_; member in class:content::MockVideoSource
|
webrtc_audio_device_impl.cc | 181 // because failure on the capturer_ initialization should not prevent WebRTC
|
/external/chromium_org/remoting/host/ |
video_scheduler.cc | 45 capturer_(capturer.Pass()), 55 DCHECK(capturer_); 97 if (!capturer_) 172 capturer_->SetMouseShapeObserver(this); 173 capturer_->Start(this); 186 capturer_.reset(); 204 // If we are stopping (|capturer_| is NULL), or paused, then don't capture. 205 if (!capturer_ || is_paused_) 228 capturer_->Capture(webrtc::DesktopRegion());
|
video_scheduler.h | 163 scoped_ptr<webrtc::ScreenCapturer> capturer_; member in class:remoting::VideoScheduler
|