Home
last modified time | relevance | path

Searched refs:capture_format_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/talk/media/devices/
Dfilevideocapturer_unittest.cc86 cricket::VideoFormat capture_format_; member in __anona9a13f320111::FileVideoCapturerTest
114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
115 EXPECT_EQ(320, capture_format_.width); in TEST_F()
116 EXPECT_EQ(240, capture_format_.height); in TEST_F()
121 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
122 EXPECT_EQ(320, capture_format_.width); in TEST_F()
123 EXPECT_EQ(240, capture_format_.height); in TEST_F()
130 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
131 EXPECT_TRUE(desired == capture_format_); in TEST_F()
135 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
[all …]
/external/webrtc/talk/media/base/
Dvideoadapter_unittest.cc59 capture_format_ = capturer_->GetSupportedFormats()->at(0); in SetUp()
60 capture_format_.interval = VideoFormat::FpsToInterval(50); in SetUp()
62 adapter_->SetInputFormat(capture_format_); in SetUp()
155 VideoFormat capture_format_; member in cricket::VideoAdapterTest
172 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); in TEST_F()
180 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); in TEST_F()
186 adapter_->SetOutputFormat(capture_format_); in TEST_F()
187 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); in TEST_F()
195 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); in TEST_F()
204 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); in TEST_F()
[all …]
Dvideocapturer.h193 return capture_format_.get(); in GetCaptureFormat()
308 capture_format_.reset(format ? new VideoFormat(*format) : NULL); in SetCaptureFormat()
309 if (capture_format_) { in SetCaptureFormat()
310 ASSERT(capture_format_->interval > 0 && in SetCaptureFormat()
313 video_adapter_.SetInputFormat(*capture_format_); in SetCaptureFormat()
350 rtc::scoped_ptr<VideoFormat> capture_format_; variable
Dvideocapturer.cc185 capture_format_ ? new VideoFormat(*capture_format_) : NULL); in Pause()
196 if (!capture_format_) { in Pause()
205 if (!Start(*capture_format_)) { in Pause()
362 int desired_screencast_fps = capture_format_.get() ? in OnFrameCaptured()
363 VideoFormat::IntervalToFps(capture_format_->interval) : in OnFrameCaptured()