Home | History | Annotate | Download | only in devices

Lines Matching defs:capture_format_

86   cricket::VideoFormat capture_format_;
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_));
136 EXPECT_NE(capture_format_.fourcc, desired.fourcc);
140 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
149 capture_format_ = capturer_->GetSupportedFormats()->at(0);
150 EXPECT_EQ(cricket::CS_RUNNING, capturer_->Start(capture_format_));
162 capture_format_ = capturer_->GetSupportedFormats()->at(0);
163 capture_format_.interval = cricket::VideoFormat::FpsToInterval(50);
164 EXPECT_EQ(cricket::CS_RUNNING, capturer_->Start(capture_format_));
166 EXPECT_TRUE(capture_format_ == *capturer_->GetCaptureFormat());
173 EXPECT_EQ(listener.frame_width(), capture_format_.width);
174 EXPECT_EQ(listener.frame_height(), capture_format_.height);
184 capture_format_ = capturer_->GetSupportedFormats()->at(0);
185 EXPECT_EQ(cricket::CS_RUNNING, capturer_->Start(capture_format_));