Home
last modified time | relevance | path

Searched refs:capturer (Results 1 – 25 of 83) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Dmouse_cursor_monitor_unittest.cc65 scoped_ptr<MouseCursorMonitor> capturer(MouseCursorMonitor::CreateForScreen( in TEST_F() local
67 assert(capturer.get()); in TEST_F()
68 capturer->Init(this, MouseCursorMonitor::SHAPE_AND_POSITION); in TEST_F()
69 capturer->Capture(); in TEST_F()
101 scoped_ptr<MouseCursorMonitor> capturer( in TEST_F() local
104 assert(capturer.get()); in TEST_F()
106 capturer->Init(this, MouseCursorMonitor::SHAPE_AND_POSITION); in TEST_F()
107 capturer->Capture(); in TEST_F()
116 scoped_ptr<MouseCursorMonitor> capturer(MouseCursorMonitor::CreateForScreen( in TEST_F() local
118 assert(capturer.get()); in TEST_F()
[all …]
/external/chromium_org/content/renderer/media/
Dwebrtc_audio_device_impl.cc368 scoped_refptr<WebRtcAudioCapturer> capturer(GetDefaultCapturer()); in SetMicrophoneVolume() local
369 if (!capturer.get()) in SetMicrophoneVolume()
372 capturer->SetVolume(volume); in SetMicrophoneVolume()
382 scoped_refptr<WebRtcAudioCapturer> capturer(GetDefaultCapturer()); in MicrophoneVolume() local
383 if (!capturer.get()) in MicrophoneVolume()
386 *volume = static_cast<uint32_t>(capturer->Volume()); in MicrophoneVolume()
413 scoped_refptr<WebRtcAudioCapturer> capturer(GetDefaultCapturer()); in StereoRecordingIsAvailable() local
414 if (!capturer.get()) in StereoRecordingIsAvailable()
417 *available = (capturer->source_audio_parameters().channels() == 2); in StereoRecordingIsAvailable()
436 scoped_refptr<WebRtcAudioCapturer> capturer(GetDefaultCapturer()); in RecordingSampleRate() local
[all …]
Dwebrtc_local_audio_track.cc21 const scoped_refptr<WebRtcAudioCapturer>& capturer, in WebRtcLocalAudioTrack() argument
25 capturer_(capturer), in WebRtcLocalAudioTrack()
27 DCHECK(capturer.get() || webaudio_source); in WebRtcLocalAudioTrack()
54 scoped_refptr<WebRtcAudioCapturer> capturer; in Capture() local
59 capturer = capturer_; in Capture()
89 if (new_volume != 0 && capturer.get() && !webaudio_source_) { in Capture()
92 capturer->SetVolume(new_volume); in Capture()
Dwebrtc_local_audio_track_unittest.cc38 FakeAudioThread(WebRtcAudioCapturer* capturer, in FakeAudioThread() argument
40 : capturer_(capturer), in FakeAudioThread()
43 DCHECK(capturer); in FakeAudioThread()
88 explicit MockCapturerSource(WebRtcAudioCapturer* capturer) in MockCapturerSource() argument
89 : capturer_(capturer) {} in MockCapturerSource()
480 scoped_refptr<WebRtcAudioCapturer> capturer( in TEST_F() local
490 new MockCapturerSource(capturer.get())); in TEST_F()
491 EXPECT_CALL(*source.get(), OnInitialize(_, capturer.get(), -1)); in TEST_F()
494 capturer->SetCapturerSourceForTesting(source, params); in TEST_F()
500 new WebRtcLocalAudioTrack(adapter, capturer, NULL)); in TEST_F()
[all …]
Dmedia_stream_audio_source.h35 void SetAudioCapturer(WebRtcAudioCapturer* capturer) { in NON_EXPORTED_BASE()
37 audio_capturer_ = capturer; in NON_EXPORTED_BASE()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Ddevicemanager.cc215 VideoCapturer* capturer = ConstructFakeVideoCapturer(device); in CreateVideoCapturer() local
216 if (capturer) { in CreateVideoCapturer()
217 return capturer; in CreateVideoCapturer()
220 capturer = device_video_capturer_factory_->Create(device); in CreateVideoCapturer()
221 if (!capturer) { in CreateVideoCapturer()
227 capturer->set_enable_camera_list(has_max); in CreateVideoCapturer()
229 capturer->ConstrainSupportedFormats(video_format); in CreateVideoCapturer()
231 return capturer; in CreateVideoCapturer()
239 FileVideoCapturer* capturer = new FileVideoCapturer; in ConstructFakeVideoCapturer() local
240 if (!capturer->Init(device)) { in ConstructFakeVideoCapturer()
[all …]
Ddevicemanager_unittest.cc381 scoped_ptr<cricket::VideoCapturer> capturer(dm->CreateWindowCapturer( in TEST() local
383 EXPECT_FALSE(capturer.get() == NULL); in TEST()
404 scoped_ptr<cricket::VideoCapturer> capturer(dm->CreateDesktopCapturer( in TEST() local
406 EXPECT_FALSE(capturer.get() == NULL); in TEST()
413 scoped_ptr<cricket::VideoCapturer> capturer( in TEST_F() local
416 capturer->set_enable_camera_list(true); in TEST_F()
417 EXPECT_TRUE(capturer->GetBestCaptureFormat(kHdFormat, &best_format)); in TEST_F()
423 scoped_ptr<cricket::VideoCapturer> capturer( in TEST_F() local
426 capturer->set_enable_camera_list(true); in TEST_F()
427 EXPECT_TRUE(capturer->GetBestCaptureFormat(kHdFormat, &best_format)); in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/test/
Dframe_generator_capturer.cc30 FrameGeneratorCapturer* capturer = new FrameGeneratorCapturer( in Create() local
32 if (!capturer->Init()) { in Create()
33 delete capturer; in Create()
37 return capturer; in Create()
47 FrameGeneratorCapturer* capturer = new FrameGeneratorCapturer( in CreateFromYuvFile() local
52 if (!capturer->Init()) { in CreateFromYuvFile()
53 delete capturer; in CreateFromYuvFile()
57 return capturer; in CreateFromYuvFile()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dchannelmanager.cc65 : capturer(c), in CaptureStateParams()
67 cricket::VideoCapturer* capturer; member
628 VideoCapturer* capturer) { in IsSameCapturer() argument
629 if (capturer == NULL) { in IsSameCapturer()
636 return capturer->GetId() == device.id; in IsSameCapturer()
705 VideoCapturer* capturer = device_manager_->CreateVideoCapturer(device); in CreateVideoCapturer() local
706 if (capturer && default_video_encoder_config_.max_codec.id != 0) { in CreateVideoCapturer()
710 capturer->UpdateAspectRatio( in CreateVideoCapturer()
714 return capturer; in CreateVideoCapturer()
789 bool ChannelManager::RegisterVideoProcessor(VideoCapturer* capturer, in RegisterVideoProcessor() argument
[all …]
Dchannelmanager.h151 VideoCapturer* capturer);
181 bool RegisterVideoProcessor(VideoCapturer* capturer,
183 bool UnregisterVideoProcessor(VideoCapturer* capturer,
208 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer);
209 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer);
273 void OnVideoCaptureStateChange(VideoCapturer* capturer,
275 bool RegisterVideoProcessor_w(VideoCapturer* capturer,
277 bool UnregisterVideoProcessor_w(VideoCapturer* capturer,
Dchannelmanager_unittest.cc211 void OnVideoFrame(VideoCapturer* capturer, const VideoFrame* frame) { in OnVideoFrame()
215 GetCapturerFrameSize(VideoCapturer* capturer) : width(0), height(0) { in GetCapturerFrameSize()
216 capturer->SignalVideoFrame.connect(this, in GetCapturerFrameSize()
218 static_cast<FakeVideoCapturer*>(capturer)->CaptureFrame(); in GetCapturerFrameSize()
231 VideoCapturer* capturer = cm_->CreateVideoCapturer(); in TEST_F() local
232 ASSERT_TRUE(capturer != NULL); in TEST_F()
233 EXPECT_EQ(CS_RUNNING, capturer->Start(format)); in TEST_F()
234 GetCapturerFrameSize size(capturer); in TEST_F()
237 delete capturer; in TEST_F()
240 capturer = cm_->CreateVideoCapturer(); in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_base_impl.cc91 ViECapturer* capturer = is.Capture(provider->Id()); in RegisterCpuOveruseObserver() local
92 assert(capturer); in RegisterCpuOveruseObserver()
93 capturer->RegisterCpuOveruseObserver(observer); in RegisterCpuOveruseObserver()
115 ViECapturer* capturer = is.Capture(provider->Id()); in SetCpuOveruseOptions() local
116 if (capturer) { in SetCpuOveruseOptions()
117 capturer->SetCpuOveruseOptions(options); in SetCpuOveruseOptions()
141 ViECapturer* capturer = is.Capture(provider->Id()); in CpuOveruseMeasures() local
142 if (capturer) { in CpuOveruseMeasures()
144 capturer->GetCpuOveruseMetrics(&metrics); in CpuOveruseMeasures()
169 ViECapturer* capturer = is.Capture(provider->Id()); in GetCpuOveruseMetrics() local
[all …]
/external/chromium_org/remoting/host/
Dvideo_scheduler_unittest.cc77 void StartVideoScheduler(scoped_ptr<webrtc::ScreenCapturer> capturer);
118 scoped_ptr<webrtc::ScreenCapturer> capturer) { in StartVideoScheduler() argument
123 capturer.Pass(), in StartVideoScheduler()
154 scoped_ptr<webrtc::MockScreenCapturer> capturer( in TEST_F() local
157 EXPECT_CALL(*capturer, Start(_)) in TEST_F()
164 Expectation capturer_capture = EXPECT_CALL(*capturer, Capture(_)) in TEST_F()
185 StartVideoScheduler(capturer.PassAs<webrtc::ScreenCapturer>()); in TEST_F()
Dshaped_screen_capturer_unittest.cc90 ShapedScreenCapturer capturer( in TEST_F() local
93 capturer.Start(this); in TEST_F()
94 capturer.Capture(webrtc::DesktopRegion()); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dpeerconnectionfactory.cc83 CreateVideoSourceParams(cricket::VideoCapturer* capturer, in CreateVideoSourceParams()
85 : capturer(capturer), in CreateVideoSourceParams()
88 cricket::VideoCapturer* capturer; member
219 pdata->source = CreateVideoSource_s(pdata->capturer, pdata->constraints); in OnMessage()
273 cricket::VideoCapturer* capturer, in CreateVideoSource_s() argument
276 VideoSource::Create(channel_manager_.get(), capturer, constraints)); in CreateVideoSource_s()
336 cricket::VideoCapturer* capturer, in CreateVideoSource() argument
339 CreateVideoSourceParams params(capturer, in CreateVideoSource()
Dremotevideocapturer_unittest.cc74 void OnStateChange(VideoCapturer* capturer, in OnStateChange() argument
76 EXPECT_EQ(&capturer_, capturer); in OnStateChange()
80 void OnVideoFrame(VideoCapturer* capturer, const VideoFrame* frame) { in OnVideoFrame() argument
81 EXPECT_EQ(&capturer_, capturer); in OnVideoFrame()
Dvideosource.h66 cricket::VideoCapturer* capturer,
83 cricket::VideoCapturer* capturer);
88 void OnStateChange(cricket::VideoCapturer* capturer,
Dvideosource.cc304 explicit FrameInputWrapper(cricket::VideoCapturer* capturer) in FrameInputWrapper() argument
305 : capturer_(capturer) { in FrameInputWrapper()
342 cricket::VideoCapturer* capturer, in Create() argument
345 ASSERT(capturer != NULL); in Create()
348 capturer)); in Create()
354 cricket::VideoCapturer* capturer) in VideoSource() argument
356 video_capturer_(capturer), in VideoSource()
450 void VideoSource::OnStateChange(cricket::VideoCapturer* capturer, in OnStateChange() argument
452 if (capturer == video_capturer_.get()) { in OnStateChange()
/external/chromium_org/content/browser/media/capture/
Ddesktop_capture_device.cc58 scoped_ptr<webrtc::DesktopCapturer> capturer,
152 scoped_ptr<webrtc::DesktopCapturer> capturer, in Core() argument
156 desktop_capturer_(capturer.Pass()), in Core()
441 scoped_ptr<webrtc::DesktopCapturer> capturer; in Create() local
464 capturer.reset(new webrtc::DesktopAndCursorComposer( in Create()
477 capturer.reset(new webrtc::DesktopAndCursorComposer( in Create()
491 if (capturer) { in Create()
500 task_runner, ui_thread.Pass(), capturer.Pass(), source.type)); in Create()
528 scoped_ptr<webrtc::DesktopCapturer> capturer, in DesktopCaptureDevice() argument
530 : core_(new Core(task_runner, thread.Pass(), capturer.Pass(), type)) { in DesktopCaptureDevice()
/external/chromium_org/third_party/webrtc/video/
Dcall_perf_tests.cc316 scoped_ptr<test::FrameGeneratorCapturer> capturer( in TEST_F() local
324 capturer->Start(); in TEST_F()
339 capturer->Stop(); in TEST_F()
435 void SetCapturer(test::FrameGeneratorCapturer* capturer) { in SetCapturer() argument
436 capturer_ = capturer; in SetCapturer()
473 scoped_ptr<test::FrameGeneratorCapturer> capturer( in TestCaptureNtpTime() local
479 observer.SetCapturer(capturer.get()); in TestCaptureNtpTime()
505 capturer->Start(); in TestCaptureNtpTime()
511 capturer->Stop(); in TestCaptureNtpTime()
669 scoped_ptr<test::FrameGeneratorCapturer> capturer( in TestMinTransmitBitrate() local
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoengine.h267 virtual bool SetCapturer(uint32 ssrc, VideoCapturer* capturer);
296 void SendFrame(VideoCapturer* capturer, const VideoFrame* frame);
301 void OnLocalFrame(VideoCapturer* capturer, const VideoFrame* frame) { in OnLocalFrame() argument
302 SendFrame(0u, frame, capturer->IsScreencast()); in OnLocalFrame()
304 void OnLocalFrameFormat(VideoCapturer* capturer, const VideoFormat* format) { in OnLocalFrameFormat() argument
380 int GetSendChannelNum(VideoCapturer* capturer);
415 void MaybeConnectCapturer(VideoCapturer* capturer);
418 void MaybeDisconnectCapturer(VideoCapturer* capturer);
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/
DRTCVideoCapturer.mm52 talk_base::scoped_ptr<cricket::VideoCapturer> capturer(
55 [[RTCVideoCapturer alloc] initWithCapturer:capturer.release()];
63 - (id)initWithCapturer:(cricket::VideoCapturer*)capturer {
65 _capturer.reset(capturer);
/external/chromium_org/content/renderer/media/webrtc/
Dpeer_connection_dependency_factory.cc207 scoped_refptr<WebRtcAudioCapturer> capturer( in InitializeMediaStreamAudioSource() local
210 if (!capturer.get()) { in InitializeMediaStreamAudioSource()
219 source_data->SetAudioCapturer(capturer); in InitializeMediaStreamAudioSource()
250 cricket::VideoCapturer* capturer, in CreateVideoSource() argument
254 GetPcFactory()->CreateVideoSource(capturer, &webrtc_constraints).get(); in CreateVideoSource()
508 const std::string& id, cricket::VideoCapturer* capturer) { in CreateLocalVideoTrack() argument
509 if (!capturer) { in CreateLocalVideoTrack()
516 GetPcFactory()->CreateVideoSource(capturer, NULL).get(); in CreateLocalVideoTrack()
Dmock_peer_connection_dependency_factory.cc206 void MockVideoSource::SetVideoCapturer(cricket::VideoCapturer* capturer) { in SetVideoCapturer() argument
207 capturer_.reset(capturer); in SetVideoCapturer()
465 cricket::VideoCapturer* capturer, in CreateVideoSource() argument
468 last_video_source_->SetVideoCapturer(capturer); in CreateVideoSource()
497 cricket::VideoCapturer* capturer) { in CreateLocalVideoTrack() argument
500 source->SetVideoCapturer(capturer); in CreateLocalVideoTrack()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
DPeerConnectionFactory.java82 VideoCapturer capturer, MediaConstraints constraints) { in createVideoSource() argument
84 nativeFactory, capturer.takeNativeVideoCapturer(), constraints)); in createVideoSource()

1234