• Home
  • Raw
  • Download

Lines Matching refs:VideoFormat

99   EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat(  in TEST_F()
102 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
116 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F()
119 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
124 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat( in TEST_F()
127 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
139 EXPECT_TRUE(capturer_.Restart(cricket::VideoFormat( in TEST_F()
142 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
149 cricket::VideoFormat format(640, 480, in TEST_F()
150 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
163 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F()
166 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
205 std::vector<cricket::VideoFormat> formats; in TEST_F()
206 formats.push_back(cricket::VideoFormat(kWidth, kHeight, in TEST_F()
207 cricket::VideoFormat::FpsToInterval(5), cricket::FOURCC_ARGB)); in TEST_F()
210 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F()
213 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
227 std::vector<cricket::VideoFormat> formats; in TEST_F()
228 formats.push_back(cricket::VideoFormat(kWidth, kHeight, in TEST_F()
229 cricket::VideoFormat::FpsToInterval(5), in TEST_F()
237 capturer_.Start(cricket::VideoFormat( in TEST_F()
238 kWidth, kHeight, cricket::VideoFormat::FpsToInterval(30), in TEST_F()
271 std::vector<cricket::VideoFormat> formats; in TEST_F()
272 formats.push_back(cricket::VideoFormat(kWidth, kHeight, in TEST_F()
273 cricket::VideoFormat::FpsToInterval(5), in TEST_F()
283 capturer_.Start(cricket::VideoFormat( in TEST_F()
284 kWidth, kHeight, cricket::VideoFormat::FpsToInterval(30), in TEST_F()
322 std::vector<cricket::VideoFormat> formats; in TEST_F()
323 formats.push_back(cricket::VideoFormat(kWidth, kHeight, in TEST_F()
324 cricket::VideoFormat::FpsToInterval(5), cricket::FOURCC_ARGB)); in TEST_F()
327 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F()
330 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
340 cricket::VideoFormat desired(640, 480, in TEST_F()
341 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
343 cricket::VideoFormat best; in TEST_F()
347 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
357 cricket::VideoFormat desired(1920, 1080, in TEST_F()
358 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
360 cricket::VideoFormat best; in TEST_F()
365 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
373 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
381 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
389 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
397 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
402 std::vector<cricket::VideoFormat> formats; in TEST_F()
403 formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
404 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
405 formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
406 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
407 formats.push_back(cricket::VideoFormat(960, 544, in TEST_F()
408 cricket::VideoFormat::FpsToInterval(24), cricket::FOURCC_I420)); in TEST_F()
409 formats.push_back(cricket::VideoFormat(1280, 720, in TEST_F()
410 cricket::VideoFormat::FpsToInterval(15), cricket::FOURCC_I420)); in TEST_F()
411 formats.push_back(cricket::VideoFormat(2592, 1944, in TEST_F()
412 cricket::VideoFormat::FpsToInterval(7), cricket::FOURCC_I420)); in TEST_F()
415 cricket::VideoFormat desired(960, 720, in TEST_F()
416 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
418 cricket::VideoFormat best; in TEST_F()
423 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(24), best.interval); in TEST_F()
427 desired.interval = cricket::VideoFormat::FpsToInterval(30); in TEST_F()
432 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(24), best.interval); in TEST_F()
436 desired.interval = cricket::VideoFormat::FpsToInterval(30); in TEST_F()
441 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
449 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
457 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
465 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
473 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
477 desired.interval = cricket::VideoFormat::FpsToInterval(15); in TEST_F()
482 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(15), best.interval); in TEST_F()
486 desired.interval = cricket::VideoFormat::FpsToInterval(30); in TEST_F()
491 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
496 std::vector<cricket::VideoFormat> supported_formats; in TEST_F()
497 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
498 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
499 supported_formats.push_back(cricket::VideoFormat(320, 640, in TEST_F()
500 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
503 std::vector<cricket::VideoFormat> required_formats; in TEST_F()
504 required_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
505 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
506 required_formats.push_back(cricket::VideoFormat(320, 200, in TEST_F()
507 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
508 required_formats.push_back(cricket::VideoFormat(320, 180, in TEST_F()
509 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
510 cricket::VideoFormat best; in TEST_F()
518 supported_formats.push_back(cricket::VideoFormat(320, 640, in TEST_F()
519 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
520 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
521 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
534 std::vector<cricket::VideoFormat> supported_formats; in TEST_F()
535 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
536 cricket::VideoFormat::FpsToInterval(10), cricket::FOURCC_I420)); in TEST_F()
537 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
538 cricket::VideoFormat::FpsToInterval(7), cricket::FOURCC_I420)); in TEST_F()
539 supported_formats.push_back(cricket::VideoFormat(1280, 720, in TEST_F()
540 cricket::VideoFormat::FpsToInterval(2), cricket::FOURCC_I420)); in TEST_F()
543 std::vector<cricket::VideoFormat> required_formats; in TEST_F()
544 required_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
545 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
546 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
547 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
548 cricket::VideoFormat best; in TEST_F()
557 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
558 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
559 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
560 cricket::VideoFormat::FpsToInterval(7), cricket::FOURCC_I420)); in TEST_F()
561 supported_formats.push_back(cricket::VideoFormat(1280, 720, in TEST_F()
562 cricket::VideoFormat::FpsToInterval(2), cricket::FOURCC_I420)); in TEST_F()
575 std::vector<cricket::VideoFormat> supported_formats; in TEST_F()
576 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
577 cricket::VideoFormat::FpsToInterval(10), cricket::FOURCC_I420)); in TEST_F()
578 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
579 cricket::VideoFormat::FpsToInterval(20), cricket::FOURCC_I420)); in TEST_F()
580 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
581 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
584 std::vector<cricket::VideoFormat> required_formats = supported_formats; in TEST_F()
585 cricket::VideoFormat best; in TEST_F()
598 std::vector<cricket::VideoFormat> supported_formats; in TEST_F()
599 supported_formats.push_back(cricket::VideoFormat(1280, 720, in TEST_F()
600 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
601 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
602 cricket::VideoFormat::FpsToInterval(15), cricket::FOURCC_I420)); in TEST_F()
603 supported_formats.push_back(cricket::VideoFormat(640, 400, in TEST_F()
604 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
605 supported_formats.push_back(cricket::VideoFormat(640, 360, in TEST_F()
606 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
609 std::vector<cricket::VideoFormat> required_formats; in TEST_F()
610 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
611 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_ANY)); in TEST_F()
612 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
613 cricket::VideoFormat::FpsToInterval(20), cricket::FOURCC_ANY)); in TEST_F()
614 required_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
615 cricket::VideoFormat::FpsToInterval(10), cricket::FOURCC_ANY)); in TEST_F()
616 cricket::VideoFormat best; in TEST_F()
622 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
628 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
634 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(15), best.interval); in TEST_F()
638 supported_formats.push_back(cricket::VideoFormat(1280, 720, in TEST_F()
639 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
640 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
641 cricket::VideoFormat::FpsToInterval(60), cricket::FOURCC_MJPG)); in TEST_F()
642 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
643 cricket::VideoFormat::FpsToInterval(15), cricket::FOURCC_I420)); in TEST_F()
644 supported_formats.push_back(cricket::VideoFormat(640, 400, in TEST_F()
645 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
646 supported_formats.push_back(cricket::VideoFormat(640, 360, in TEST_F()
647 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
654 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(60), best.interval); in TEST_F()
660 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(60), best.interval); in TEST_F()
666 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(15), best.interval); in TEST_F()
670 std::vector<cricket::VideoFormat> supported_formats; in TEST_F()
672 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
673 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
674 supported_formats.push_back(cricket::VideoFormat(640, 400, in TEST_F()
675 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
676 supported_formats.push_back(cricket::VideoFormat(640, 360, in TEST_F()
677 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
680 std::vector<cricket::VideoFormat> required_formats = supported_formats; in TEST_F()
681 cricket::VideoFormat best; in TEST_F()
691 supported_formats.push_back(cricket::VideoFormat(960, 720, in TEST_F()
692 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
693 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
694 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
695 supported_formats.push_back(cricket::VideoFormat(640, 400, in TEST_F()
696 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
697 supported_formats.push_back(cricket::VideoFormat(640, 360, in TEST_F()
698 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
710 supported_formats.push_back(cricket::VideoFormat(1280, 720, in TEST_F()
711 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
712 supported_formats.push_back(cricket::VideoFormat(640, 480, in TEST_F()
713 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
714 supported_formats.push_back(cricket::VideoFormat(640, 400, in TEST_F()
715 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
716 supported_formats.push_back(cricket::VideoFormat(640, 360, in TEST_F()
717 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
740 EXPECT_EQ(cricket::CS_RUNNING, capturer_.Start(cricket::VideoFormat( in TEST_F()
743 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
752 bool HdFormatInList(const std::vector<cricket::VideoFormat>& formats) { in HdFormatInList()
753 for (std::vector<cricket::VideoFormat>::const_iterator found = in HdFormatInList()
766 cricket::VideoFormat hd_format(kMinHdWidth, in TEST_F()
768 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
770 cricket::VideoFormat vga_format(640, 480, in TEST_F()
771 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
773 std::vector<cricket::VideoFormat> formats = *capturer_.GetSupportedFormats(); in TEST_F()
792 cricket::VideoFormat vga_format(640, 480, in TEST_F()
793 cricket::VideoFormat::FpsToInterval(30), in TEST_F()
795 std::vector<cricket::VideoFormat> supported_formats; in TEST_F()
797 supported_formats.push_back(cricket::VideoFormat(1280, 720, in TEST_F()
798 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()
799 supported_formats.push_back(cricket::VideoFormat(1920, 1080, in TEST_F()
800 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in TEST_F()