Lines Matching refs:VideoSourceRestrictions
21 const VideoSourceRestrictions kUnlimited;
22 const VideoSourceRestrictions k15fps(absl::nullopt, absl::nullopt, 15.0);
23 const VideoSourceRestrictions kHd(kHdPixels, kHdPixels, absl::nullopt);
24 const VideoSourceRestrictions kHd15fps(kHdPixels, kHdPixels, 15.0);
25 const VideoSourceRestrictions kVga7fps(kHdPixels / 2, kHdPixels / 2, 7.0);
27 VideoSourceRestrictions RestrictionsFromMaxPixelsPerFrame( in RestrictionsFromMaxPixelsPerFrame()
29 return VideoSourceRestrictions(max_pixels_per_frame, absl::nullopt, in RestrictionsFromMaxPixelsPerFrame()
33 VideoSourceRestrictions RestrictionsFromMaxFrameRate(double max_frame_rate) { in RestrictionsFromMaxFrameRate()
34 return VideoSourceRestrictions(absl::nullopt, absl::nullopt, max_frame_rate); in RestrictionsFromMaxFrameRate()
44 EXPECT_FALSE(DidIncreaseResolution(VideoSourceRestrictions(), in TEST()
48 VideoSourceRestrictions())); in TEST()
53 EXPECT_FALSE(DidIncreaseResolution(VideoSourceRestrictions(), in TEST()
54 VideoSourceRestrictions())); in TEST()
65 EXPECT_TRUE(DidDecreaseFrameRate(VideoSourceRestrictions(), in TEST()
69 VideoSourceRestrictions())); in TEST()
74 EXPECT_FALSE(DidDecreaseFrameRate(VideoSourceRestrictions(), in TEST()
75 VideoSourceRestrictions())); in TEST()
90 TEST(VideoSourceRestrictions, in TEST() argument
106 TEST(VideoSourceRestrictions, in TEST() argument
122 TEST(VideoSourceRestrictions, in TEST() argument