Searched refs:capturer_ (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dremotevideocapturer_unittest.cc52 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_
[all...]
H A Dvideosource_unittest.cc131 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_
[all...]
H A Dvideosource.cc334 : capturer_(capturer) {
335 ASSERT(capturer_ != NULL);
346 if (!capturer_->IsRunning()) {
353 capturer_->SignalVideoFrame(capturer_, frame);
358 cricket::VideoCapturer* capturer_; member in class:__anon12149::FrameInputWrapper
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideocapturer_unittest.cc48 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_
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dmutedvideocapturer_unittest.cc38 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_
[all...]
H A Dvideocapturer_unittest.cc65 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_
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dfilevideocapturer_unittest.cc44 capturer_.reset(new cricket::FileVideoCapturer);
48 return capturer_->Init(cricket::GetTestFilePath(filename));
85 talk_base::scoped_ptr<cricket::FileVideoCapturer> capturer_; member in class:__anon12212::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_
[all...]
H A Dfilevideocapturer.cc108 : 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/content/renderer/media/
H A Dwebrtc_audio_capturer_unittest.cc97 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_
[all...]
H A Dwebrtc_local_audio_track_unittest.cc38 : capturer_(capturer),
55 capturer_.get());
78 scoped_refptr<WebRtcAudioCapturer> capturer_; member in class:content::__anon8503::FakeAudioThread
87 : capturer_(capturer) {}
104 audio_thread_.reset(new FakeAudioThread(capturer_, params_));
118 WebRtcAudioCapturer* capturer_; member in class:content::__anon8503::MockCapturerSource
165 capturer_ = WebRtcAudioCapturer::CreateCapturer();
166 capturer_source_ = new MockCapturerSource(capturer_.get());
167 EXPECT_CALL(*capturer_source_.get(), OnInitialize(_, capturer_.get(), 0))
169 capturer_
177 scoped_refptr<WebRtcAudioCapturer> capturer_; member in class:content::WebRtcLocalAudioTrackTest
[all...]
H A Dwebaudio_capturer_source.cc25 capturer_(NULL),
68 capturer_ = capturer;
75 capturer_ = NULL;
112 if (capturer_) {
113 capturer_->GetAudioProcessingParams(&delay, &volume, &key_pressed);
H A Dwebaudio_capturer_source.h67 // This |capturer_| is guaranteed to outlive this object.
68 WebRtcAudioCapturer* capturer_; member in class:content::WebAudioCapturerSource
H A Dwebrtc_local_audio_track.cc142 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_| t
[all...]
H A Dwebrtc_local_audio_track.h120 scoped_refptr<WebRtcAudioCapturer> capturer_; member in class:content::WebRtcLocalAudioTrack
127 // TODO(xians): merge |track_source_| to |capturer_|.
H A Dmock_media_stream_dependency_factory.cc163 capturer_.reset(capturer);
167 return capturer_.get();
H A Dmock_media_stream_dependency_factory.h47 scoped_ptr<cricket::VideoCapturer> capturer_; member in class:content::MockVideoSource
/external/chromium_org/remoting/host/
H A Dvideo_scheduler.cc45 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());
H A Dvideo_scheduler.h163 scoped_ptr<webrtc::ScreenCapturer> capturer_; member in class:remoting::VideoScheduler

Completed in 1199 milliseconds