Lines Matching refs:desired

340   cricket::VideoFormat desired(640, 480,  in TEST_F()  local
344 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
349 desired.fourcc = cricket::FOURCC_MJPG; in TEST_F()
350 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
352 desired.fourcc = cricket::FOURCC_I420; in TEST_F()
353 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
357 cricket::VideoFormat desired(1920, 1080, in TEST_F() local
362 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
367 desired.width = 360; in TEST_F()
368 desired.height = 250; in TEST_F()
370 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
375 desired.width = 480; in TEST_F()
376 desired.height = 270; in TEST_F()
378 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
383 desired.width = 320; in TEST_F()
384 desired.height = 240; in TEST_F()
386 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
391 desired.width = 80; in TEST_F()
392 desired.height = 60; in TEST_F()
394 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
415 cricket::VideoFormat desired(960, 720, in TEST_F() local
420 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
425 desired.width = 960; in TEST_F()
426 desired.height = 544; in TEST_F()
427 desired.interval = cricket::VideoFormat::FpsToInterval(30); in TEST_F()
429 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
434 desired.width = 360; in TEST_F()
435 desired.height = 250; in TEST_F()
436 desired.interval = cricket::VideoFormat::FpsToInterval(30); in TEST_F()
438 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
443 desired.width = 480; in TEST_F()
444 desired.height = 270; in TEST_F()
446 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
451 desired.width = 320; in TEST_F()
452 desired.height = 240; in TEST_F()
454 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
459 desired.width = 160; in TEST_F()
460 desired.height = 120; in TEST_F()
462 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
467 desired.width = 1280; in TEST_F()
468 desired.height = 720; in TEST_F()
470 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
475 desired.width = 1280; in TEST_F()
476 desired.height = 720; in TEST_F()
477 desired.interval = cricket::VideoFormat::FpsToInterval(15); in TEST_F()
479 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
484 desired.width = 1920; in TEST_F()
485 desired.height = 1080; in TEST_F()
486 desired.interval = cricket::VideoFormat::FpsToInterval(30); in TEST_F()
488 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()