/external/webrtc/talk/media/webrtc/ |
D | webrtcvideocapturer_unittest.cc | 50 capturer_(new cricket::WebRtcVideoCapturer(factory_)), in WebRtcVideoCapturerTest() 51 listener_(capturer_.get()) { in WebRtcVideoCapturerTest() 64 rtc::scoped_ptr<cricket::WebRtcVideoCapturer> capturer_; member in WebRtcVideoCapturerTest 69 EXPECT_EQ("", capturer_->GetId()); in TEST_F() 70 EXPECT_TRUE(capturer_->GetSupportedFormats()->empty()); in TEST_F() 71 EXPECT_TRUE(capturer_->GetCaptureFormat() == NULL); in TEST_F() 72 EXPECT_FALSE(capturer_->IsRunning()); in TEST_F() 76 EXPECT_FALSE(capturer_->Init(cricket::Device("bad-name", "bad-id"))); in TEST_F() 77 EXPECT_FALSE(capturer_->IsRunning()); in TEST_F() 81 EXPECT_TRUE(capturer_->Init(cricket::Device(kTestDeviceName, kTestDeviceId))); in TEST_F() [all …]
|
D | webrtcvideoengine2.cc | 1616 capturer_(NULL), in WebRtcVideoSendStream() 1736 capturer_ = NULL; in SetCapturer() 1740 capturer_ = capturer; in SetCapturer() 1782 if (capturer_ == NULL) in DisconnectCapturer() 1785 if (capturer_->video_adapter() != nullptr) in DisconnectCapturer() 1786 old_adapt_changes_ += capturer_->video_adapter()->adaptation_changes(); in DisconnectCapturer() 1788 capturer = capturer_; in DisconnectCapturer() 1789 capturer_ = NULL; in DisconnectCapturer() 1803 if (capturer_ == NULL) in SetApplyRotation() 1806 capturer_->SetApplyRotation(apply_rotation); in SetApplyRotation() [all …]
|
D | webrtcvideoengine2.h | 369 VideoCapturer* capturer_ GUARDED_BY(lock_);
|
/external/webrtc/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 rtc::scoped_ptr<cricket::FileVideoCapturer> capturer_; member in __anone5c317330111::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 | yuvframescapturer.cc | 46 : capturer_(capturer), in YuvFramesThread() 59 if (capturer_) { in Run() 60 capturer_->ReadFrame(true); in Run() 72 if (capturer_) { in OnMessage() 73 capturer_->ReadFrame(false); in OnMessage() 87 YuvFramesCapturer* capturer_; member in cricket::YuvFramesCapturer::YuvFramesThread
|
D | filevideocapturer.cc | 112 : capturer_(capturer), in FileReadThread() 125 if (capturer_ && capturer_->ReadFrame(true, &waiting_time_ms)) { in Run() 137 if (capturer_ && capturer_->ReadFrame(false, &waiting_time_ms)) { in OnMessage() 151 FileVideoCapturer* capturer_; member in cricket::FileVideoCapturer::FileReadThread
|
/external/webrtc/talk/media/base/ |
D | videocapturer_unittest.cc | 59 capturer_.SignalVideoFrame.connect(this, &VideoCapturerTest::OnVideoFrame); in VideoCapturerTest() 60 capturer_.SignalStateChange.connect(this, in VideoCapturerTest() 74 EXPECT_EQ(capturer_.GetRotation(), frame->GetRotation()); in OnVideoFrame() 89 cricket::FakeVideoCapturer capturer_; member in VideoCapturerTest 98 EXPECT_TRUE(capturer_.enable_video_adapter()); in TEST_F() 99 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F() 104 EXPECT_TRUE(capturer_.IsRunning()); in TEST_F() 107 capturer_.Stop(); in TEST_F() 110 capturer_.Stop(); in TEST_F() 116 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F() [all …]
|
D | videoadapter_unittest.cc | 58 capturer_.reset(new FakeVideoCapturer); in SetUp() 59 capture_format_ = capturer_->GetSupportedFormats()->at(0); in SetUp() 65 capturer_->SignalFrameCaptured.connect( in SetUp() 72 capturer_->SignalFrameCaptured.disconnect_all(); in TearDown() 152 rtc::scoped_ptr<FakeVideoCapturer> capturer_; member in cricket::VideoAdapterTest 172 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); in TEST_F() 174 capturer_->CaptureFrame(); in TEST_F() 187 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); in TEST_F() 189 capturer_->CaptureFrame(); in TEST_F() 200 VideoFormat format = capturer_->GetSupportedFormats()->at(0); in TEST_F() [all …]
|
/external/webrtc/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() 152 EXPECT_EQ(capturer_, source_->GetVideoCapturer()); in CreateVideoSource() 160 TestVideoCapturer* capturer_; member in VideoSourceTest 177 ASSERT_TRUE(capturer_->CaptureFrame()); in TEST_F() 180 capturer_->Stop(); in TEST_F() 192 ASSERT_TRUE(capturer_->CaptureFrame()); in TEST_F() 203 ASSERT_TRUE(capturer_->CaptureFrame()); in TEST_F() 243 capturer_->SignalStateChange(capturer_, cricket::CS_FAILED); in TEST_F() 259 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); in TEST_F() 279 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); in TEST_F() [all …]
|
D | videosource.cc | 300 : capturer_(capturer) { in FrameInputWrapper() 301 ASSERT(capturer_ != NULL); in FrameInputWrapper() 308 if (!capturer_->IsRunning()) { in RenderFrame() 315 capturer_->SignalVideoFrame(capturer_, frame); in RenderFrame() 320 cricket::VideoCapturer* capturer_; member in __anon15db69840111::FrameInputWrapper
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | screen_capturer_unittest.cc | 34 capturer_.reset( in SetUp() 39 rtc::scoped_ptr<ScreenCapturer> capturer_; member in webrtc::ScreenCapturerTest 63 EXPECT_TRUE(capturer_->GetScreenList(&screens)); in TEST_F() 66 EXPECT_TRUE(capturer_->SelectScreen(it->id)); in TEST_F() 71 capturer_->Start(&callback_); in TEST_F() 84 capturer_->Start(&callback_); in TEST_F() 85 capturer_->Capture(DesktopRegion()); in TEST_F() 116 capturer_->Start(&callback_); in TEST_F() 117 capturer_->Capture(DesktopRegion()); in TEST_F() 129 capturer_.reset(ScreenCapturer::Create(options)); in TEST_F() [all …]
|
D | window_capturer_unittest.cc | 26 capturer_.reset( in SetUp() 38 rtc::scoped_ptr<WindowCapturer> capturer_; member in webrtc::WindowCapturerTest 45 EXPECT_TRUE(capturer_->GetWindowList(&windows)); in TEST_F() 63 capturer_->Start(this); in TEST_F() 64 EXPECT_TRUE(capturer_->GetWindowList(&windows)); in TEST_F() 70 if (capturer_->SelectWindow(it->id)) { in TEST_F() 71 capturer_->Capture(DesktopRegion()); in TEST_F() 77 EXPECT_TRUE(capturer_->GetWindowList(&new_list)); in TEST_F()
|
D | screen_capturer_mac_unittest.cc | 41 void SetUp() override { capturer_.reset(ScreenCapturer::Create()); } in SetUp() 43 rtc::scoped_ptr<ScreenCapturer> capturer_; member in webrtc::ScreenCapturerMacTest 88 capturer_->Start(&callback_); in TEST_F() 91 capturer_->Capture(DesktopRegion()); in TEST_F() 94 capturer_->Capture(DesktopRegion()); in TEST_F()
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | androidvideocapturer_jni.cc | 64 capturer_(nullptr) { in AndroidVideoCapturerJni() 83 RTC_CHECK(capturer_ == nullptr); in Start() 85 capturer_ = capturer; in Start() 113 capturer_ = nullptr; in Stop() 132 invoker_->AsyncInvoke<void>(rtc::Bind(method, capturer_, args...)); in AsyncCapturerInvoke()
|
D | androidvideocapturer_jni.h | 104 webrtc::AndroidVideoCapturer* capturer_ GUARDED_BY(capturer_lock_);
|
/external/webrtc/webrtc/video/ |
D | video_quality_test.cc | 893 capturer_.reset(frame_generator_capturer); in CreateCapturer() 896 capturer_.reset(test::VideoCapturer::Create(input, params_.common.width, in CreateCapturer() 900 capturer_.reset(test::FrameGeneratorCapturer::CreateFromYuvFile( in CreateCapturer() 904 ASSERT_TRUE(capturer_.get() != nullptr) in CreateCapturer() 991 capturer_->Start(); in RunWithAnalyzer() 998 capturer_->Stop(); in RunWithAnalyzer() 1059 capturer_->Start(); in RunWithVideoRenderer() 1063 capturer_->Stop(); in RunWithVideoRenderer()
|
D | video_quality_test.h | 106 rtc::scoped_ptr<test::VideoCapturer> capturer_; variable
|
D | video_send_stream_tests.cc | 906 capturer_(nullptr) { in TEST_F() 913 capturer_->Stop(); in TEST_F() 952 capturer_ = frame_generator_capturer; in TEST_F() 964 test::FrameGeneratorCapturer* capturer_ GUARDED_BY(crit_); in TEST_F()
|
/external/webrtc/webrtc/call/ |
D | call_perf_tests.cc | 398 capturer_(nullptr), in TestCaptureNtpTime() 464 90 * static_cast<uint32_t>(capturer_->first_frame_capture_time()); in TestCaptureNtpTime() 478 capturer_ = frame_generator_capturer; in TestCaptureNtpTime() 503 test::FrameGeneratorCapturer* capturer_; in TestCaptureNtpTime() member in webrtc::CallPerfTest::TestCaptureNtpTime::CaptureNtpTimeObserver
|