/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | mouse_cursor_monitor_unittest.cc | 65 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/ |
D | webrtc_audio_device_impl.cc | 368 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 …]
|
D | webrtc_local_audio_track.cc | 21 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()
|
D | webrtc_local_audio_track_unittest.cc | 38 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 …]
|
D | media_stream_audio_source.h | 35 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/ |
D | devicemanager.cc | 215 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 …]
|
D | devicemanager_unittest.cc | 381 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/ |
D | frame_generator_capturer.cc | 30 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/ |
D | channelmanager.cc | 65 : 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 …]
|
D | channelmanager.h | 151 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,
|
D | channelmanager_unittest.cc | 211 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/ |
D | vie_base_impl.cc | 91 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/ |
D | video_scheduler_unittest.cc | 77 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()
|
D | shaped_screen_capturer_unittest.cc | 90 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/ |
D | peerconnectionfactory.cc | 83 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()
|
D | remotevideocapturer_unittest.cc | 74 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()
|
D | videosource.h | 66 cricket::VideoCapturer* capturer, 83 cricket::VideoCapturer* capturer); 88 void OnStateChange(cricket::VideoCapturer* capturer,
|
D | videosource.cc | 304 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/ |
D | desktop_capture_device.cc | 58 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/ |
D | call_perf_tests.cc | 316 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/ |
D | webrtcvideoengine.h | 267 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/ |
D | RTCVideoCapturer.mm | 52 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/ |
D | peer_connection_dependency_factory.cc | 207 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()
|
D | mock_peer_connection_dependency_factory.cc | 206 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/ |
D | PeerConnectionFactory.java | 82 VideoCapturer capturer, MediaConstraints constraints) { in createVideoSource() argument 84 nativeFactory, capturer.takeNativeVideoCapturer(), constraints)); in createVideoSource()
|