Lines Matching full:desired
111 // desired format with large resolution.
112 cricket::VideoFormat desired(
114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
118 // Desired format with small resolution.
119 desired.width = 0;
120 desired.height = 0;
121 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
128 // desired format same as the capture format supported by the file
129 cricket::VideoFormat desired = capturer_->GetSupportedFormats()->at(0);
130 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
131 EXPECT_TRUE(desired == capture_format_);
133 // desired format same as the supported capture format except the fourcc
134 desired.fourcc = cricket::FOURCC_ANY;
135 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
136 EXPECT_NE(capture_format_.fourcc, desired.fourcc);
138 // desired format with minimum interval
139 desired.interval = cricket::VideoFormat::kMinimumInterval;
140 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));