Home | History | Annotate | Download | only in base

Lines Matching refs:formats

205   std::vector<cricket::VideoFormat> formats;
206 formats.push_back(cricket::VideoFormat(kWidth, kHeight,
208 capturer_.ResetSupportedFormats(formats);
227 std::vector<cricket::VideoFormat> formats;
228 formats.push_back(cricket::VideoFormat(kWidth, kHeight,
232 capturer_.ResetSupportedFormats(formats);
271 std::vector<cricket::VideoFormat> formats;
272 formats.push_back(cricket::VideoFormat(kWidth, kHeight,
276 capturer_.ResetSupportedFormats(formats);
322 std::vector<cricket::VideoFormat> formats;
323 formats.push_back(cricket::VideoFormat(kWidth, kHeight,
325 capturer_.ResetSupportedFormats(formats);
401 // Add some HD formats typical of a mediocre HD webcam.
402 std::vector<cricket::VideoFormat> formats;
403 formats.push_back(cricket::VideoFormat(320, 240,
405 formats.push_back(cricket::VideoFormat(640, 480,
407 formats.push_back(cricket::VideoFormat(960, 544,
409 formats.push_back(cricket::VideoFormat(1280, 720,
411 formats.push_back(cricket::VideoFormat(2592, 1944,
413 capturer_.ResetSupportedFormats(formats);
487 // Ask for 1080p. Fps of HD formats is too low. Get VGA which can do 30 fps.
533 // all formats are low framerate
752 bool HdFormatInList(const std::vector<cricket::VideoFormat>& formats) {
754 formats.begin(); found != formats.end(); ++found) {
773 std::vector<cricket::VideoFormat> formats = *capturer_.GetSupportedFormats();
774 formats.push_back(hd_format);
778 capturer_.ResetSupportedFormats(formats);
785 capturer_.ResetSupportedFormats(formats);
796 formats.
803 // Now, enable the list, which would exclude both formats. However, since
804 // only HD formats are available, we refuse to filter at all, so we don't