/external/webrtc/talk/media/devices/ |
filevideocapturer_unittest.cc | 86 cricket::VideoFormat capture_format_; member in class:__anon26239::FileVideoCapturerTest 114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); 115 EXPECT_EQ(320, capture_format_.width); 116 EXPECT_EQ(240, capture_format_.height); 121 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); 122 EXPECT_EQ(320, capture_format_.width); 123 EXPECT_EQ(240, capture_format_.height); 130 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); 131 EXPECT_TRUE(desired == capture_format_); 135 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); [all...] |
/external/webrtc/talk/media/base/ |
videoadapter_unittest.cc | 59 capture_format_ = capturer_->GetSupportedFormats()->at(0); 60 capture_format_.interval = VideoFormat::FpsToInterval(50); 62 adapter_->SetInputFormat(capture_format_); 155 VideoFormat capture_format_; member in class:cricket::VideoAdapterTest 172 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); 180 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 186 adapter_->SetOutputFormat(capture_format_); 187 EXPECT_EQ(CS_RUNNING, capturer_->Start(capture_format_)); 195 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height) [all...] |
videocapturer.h | 193 return capture_format_.get(); 308 capture_format_.reset(format ? new VideoFormat(*format) : NULL); 309 if (capture_format_) { 310 ASSERT(capture_format_->interval > 0 && 313 video_adapter_.SetInputFormat(*capture_format_); 350 rtc::scoped_ptr<VideoFormat> capture_format_; member in class:cricket::VideoCapturer
|