Lines Matching refs:required_formats

503   std::vector<cricket::VideoFormat> required_formats;  in TEST_F()  local
504 required_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
506 required_formats.push_back(cricket::VideoFormat(320, 200, in TEST_F()
508 required_formats.push_back(cricket::VideoFormat(320, 180, in TEST_F()
511 for (size_t i = 0; i < required_formats.size(); ++i) { in TEST_F()
512 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
524 for (size_t i = 0; i < required_formats.size(); ++i) { in TEST_F()
525 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
543 std::vector<cricket::VideoFormat> required_formats; in TEST_F() local
544 required_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
546 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
549 for (size_t i = 0; i < required_formats.size(); ++i) { in TEST_F()
550 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
551 EXPECT_EQ(required_formats[i].width, best.width); in TEST_F()
552 EXPECT_EQ(required_formats[i].height, best.height); in TEST_F()
565 for (size_t i = 0; i < required_formats.size(); ++i) { in TEST_F()
566 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
584 std::vector<cricket::VideoFormat> required_formats = supported_formats; in TEST_F() local
586 for (size_t i = 0; i < required_formats.size(); ++i) { in TEST_F()
587 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
590 EXPECT_EQ(required_formats[i].interval, best.interval); in TEST_F()
609 std::vector<cricket::VideoFormat> required_formats; in TEST_F() local
610 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
612 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
614 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
619 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[0], &best)); in TEST_F()
625 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[1], &best)); in TEST_F()
631 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[2], &best)); in TEST_F()
651 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[0], &best)); in TEST_F()
657 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[1], &best)); in TEST_F()
663 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[2], &best)); in TEST_F()
680 std::vector<cricket::VideoFormat> required_formats = supported_formats; in TEST_F() local
683 for (size_t i = 0; i < required_formats.size(); ++i) { in TEST_F()
684 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
685 EXPECT_EQ(required_formats[i].width, best.width); in TEST_F()
686 EXPECT_EQ(required_formats[i].height, best.height); in TEST_F()
702 for (size_t i = 0; i < required_formats.size(); ++i) { in TEST_F()
703 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
704 EXPECT_EQ(required_formats[i].width, best.width); in TEST_F()
705 EXPECT_EQ(required_formats[i].height, best.height); in TEST_F()
721 for (size_t i = 0; i < required_formats.size() - 1; ++i) { in TEST_F()
722 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[i], &best)); in TEST_F()
723 EXPECT_EQ(required_formats[i].width, best.width); in TEST_F()
724 EXPECT_EQ(required_formats[i].height, best.height); in TEST_F()
728 EXPECT_TRUE(capturer_.GetBestCaptureFormat(required_formats[2], &best)); in TEST_F()