/external/webrtc/call/adaptation/ |
D | video_source_restrictions.h | 23 class VideoSourceRestrictions { 26 VideoSourceRestrictions(); 29 VideoSourceRestrictions(absl::optional<size_t> max_pixels_per_frame, 33 bool operator==(const VideoSourceRestrictions& rhs) const { 38 bool operator!=(const VideoSourceRestrictions& rhs) const { 71 bool DidRestrictionsIncrease(VideoSourceRestrictions before, 72 VideoSourceRestrictions after); 73 bool DidRestrictionsDecrease(VideoSourceRestrictions before, 74 VideoSourceRestrictions after); 75 bool DidIncreaseResolution(VideoSourceRestrictions restrictions_before, [all …]
|
D | video_source_restrictions_unittest.cc | 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() [all …]
|
D | video_source_restrictions.cc | 20 VideoSourceRestrictions::VideoSourceRestrictions() in VideoSourceRestrictions() function in webrtc::VideoSourceRestrictions 25 VideoSourceRestrictions::VideoSourceRestrictions( in VideoSourceRestrictions() function in webrtc::VideoSourceRestrictions 40 std::string VideoSourceRestrictions::ToString() const { in ToString() 53 const absl::optional<size_t>& VideoSourceRestrictions::max_pixels_per_frame() in max_pixels_per_frame() 58 const absl::optional<size_t>& VideoSourceRestrictions::target_pixels_per_frame() in target_pixels_per_frame() 63 const absl::optional<double>& VideoSourceRestrictions::max_frame_rate() const { in max_frame_rate() 67 void VideoSourceRestrictions::set_max_pixels_per_frame( in set_max_pixels_per_frame() 72 void VideoSourceRestrictions::set_target_pixels_per_frame( in set_target_pixels_per_frame() 77 void VideoSourceRestrictions::set_max_frame_rate( in set_max_frame_rate() 82 bool DidRestrictionsIncrease(VideoSourceRestrictions before, in DidRestrictionsIncrease() [all …]
|
D | video_stream_adapter.h | 45 VideoSourceRestrictions restrictions, 48 const VideoSourceRestrictions& unfiltered_restrictions) = 0; 55 VideoSourceRestrictions FilterRestrictionsByDegradationPreference( 56 VideoSourceRestrictions source_restrictions, 89 const VideoSourceRestrictions& restrictions() const; 99 VideoSourceRestrictions restrictions, 118 const VideoSourceRestrictions restrictions_; 134 VideoSourceRestrictions source_restrictions() const; 159 const VideoSourceRestrictions& restrictions); 171 VideoSourceRestrictions restrictions; [all …]
|
D | video_stream_adapter.cc | 79 const VideoSourceRestrictions& restrictions) { in CanDecreaseResolutionTo() 88 const VideoSourceRestrictions& restrictions) { in CanIncreaseResolutionTo() 97 const VideoSourceRestrictions& restrictions) { in CanDecreaseFrameRateTo() 105 const VideoSourceRestrictions& restrictions) { in CanIncreaseFrameRateTo() 115 VideoSourceRestrictions FilterRestrictionsByDegradationPreference( in FilterRestrictionsByDegradationPreference() 116 VideoSourceRestrictions source_restrictions, in FilterRestrictionsByDegradationPreference() 162 VideoSourceRestrictions restrictions, in Adaptation() 196 const VideoSourceRestrictions& Adaptation::restrictions() const { in restrictions() 224 VideoSourceRestrictions VideoStreamAdapter::source_restrictions() const { in source_restrictions() 239 current_restrictions_ = {VideoSourceRestrictions(), in ClearRestrictions() [all …]
|
D | video_stream_adapter_unittest.cc | 139 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() 142 const VideoSourceRestrictions& unfiltered_restrictions) { in OnVideoSourceRestrictionsUpdated() 149 VideoSourceRestrictions last_restrictions() const { in last_restrictions() 155 VideoSourceRestrictions last_restrictions_; 163 const VideoSourceRestrictions& restrictions_before, 164 const VideoSourceRestrictions& restrictions_after, 174 const VideoSourceRestrictions& restrictions_before, 175 const VideoSourceRestrictions& restrictions_after, 201 EXPECT_EQ(VideoSourceRestrictions(), adapter_.source_restrictions()); in TEST_F() 270 EXPECT_EQ(VideoSourceRestrictions(), adapter_.source_restrictions()); in TEST_F() [all …]
|
D | resource_adaptation_processor.h | 81 VideoSourceRestrictions restrictions, 84 const VideoSourceRestrictions& unfiltered_restrictions) override; 131 const VideoSourceRestrictions& restrictions, 165 VideoSourceRestrictions last_reported_source_restrictions_
|
D | adaptation_listener.h | 34 const VideoSourceRestrictions& restrictions_before, 35 const VideoSourceRestrictions& restrictions_after,
|
D | adaptation_constraint.h | 36 const VideoSourceRestrictions& restrictions_before, 37 const VideoSourceRestrictions& restrictions_after,
|
D | resource_adaptation_processor_unittest.cc | 50 VideoSourceRestrictions restrictions() const { in restrictions() 65 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() 68 const VideoSourceRestrictions& unfiltered_restrictions) override { in OnVideoSourceRestrictionsUpdated() 79 VideoSourceRestrictions restrictions_ RTC_GUARDED_BY(&sequence_checker_); 116 void RestrictSource(VideoSourceRestrictions restrictions) { in RestrictSource() 250 EXPECT_EQ(VideoSourceRestrictions(), restrictions_listener_.restrictions()); in TEST_F() 529 VideoSourceRestrictions next_limited_restrictions = in TEST_F() 558 VideoSourceRestrictions next_limited_restrictions = in TEST_F() 598 VideoSourceRestrictions current_restrictions = in TEST_F() 622 VideoSourceRestrictions next_limited_restrictions = in TEST_F() [all …]
|
D | resource_adaptation_processor.cc | 341 VideoSourceRestrictions(), VideoAdaptationCounters()}; in FindMostLimitedResources() 363 const VideoSourceRestrictions& restrictions, in UpdateResourceLimitations() 383 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() 386 const VideoSourceRestrictions& unfiltered_restrictions) { in OnVideoSourceRestrictionsUpdated()
|
/external/webrtc/video/adaptation/ |
D | video_stream_encoder_resource_manager.h | 134 VideoSourceRestrictions restrictions, 137 const VideoSourceRestrictions& unfiltered_restrictions) override; 187 const VideoSourceRestrictions& restrictions_before, 188 const VideoSourceRestrictions& restrictions_after, 219 const VideoSourceRestrictions& restrictions_before, 220 const VideoSourceRestrictions& restrictions_after, 251 VideoSourceRestrictions video_source_restrictions_
|
D | quality_scaler_resource.h | 66 const VideoSourceRestrictions& restrictions_before, 67 const VideoSourceRestrictions& restrictions_after,
|
D | video_stream_encoder_resource_manager.cc | 168 const VideoSourceRestrictions& restrictions_before, in IsAdaptationUpAllowed() 169 const VideoSourceRestrictions& restrictions_after, in IsAdaptationUpAllowed() 231 const VideoSourceRestrictions& restrictions_before, in IsAdaptationUpAllowed() 232 const VideoSourceRestrictions& restrictions_after, in IsAdaptationUpAllowed() 604 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() 607 const VideoSourceRestrictions& unfiltered_restrictions) { in OnVideoSourceRestrictionsUpdated()
|
D | quality_scaler_resource.cc | 166 const VideoSourceRestrictions& restrictions_before, in OnAdaptationApplied() 167 const VideoSourceRestrictions& restrictions_after, in OnAdaptationApplied()
|
/external/webrtc/video/ |
D | video_source_sink_controller.h | 39 VideoSourceRestrictions restrictions() const; 47 void SetRestrictions(VideoSourceRestrictions restrictions); 62 VideoSourceRestrictions restrictions_ RTC_GUARDED_BY(&mutex_);
|
D | video_source_sink_controller.cc | 72 VideoSourceRestrictions VideoSourceSinkController::restrictions() const { in restrictions() 100 VideoSourceRestrictions restrictions) { in SetRestrictions()
|
D | video_source_sink_controller_unittest.cc | 59 EXPECT_EQ(controller.restrictions(), VideoSourceRestrictions()); in TEST() 82 VideoSourceRestrictions restrictions = controller.restrictions(); in TEST()
|
D | video_stream_encoder.h | 121 VideoSourceRestrictions restrictions, 124 const VideoSourceRestrictions& unfiltered_restrictions) override;
|
D | video_stream_encoder.cc | 1816 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() 1819 const VideoSourceRestrictions& unfiltered_restrictions) { in OnVideoSourceRestrictionsUpdated()
|
D | video_stream_encoder_unittest.cc | 207 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() 210 const VideoSourceRestrictions& unfiltered_restrictions) override { in OnVideoSourceRestrictionsUpdated()
|
/external/webrtc/call/adaptation/test/ |
D | fake_adaptation_listener.cc | 26 const VideoSourceRestrictions& restrictions_before, in OnAdaptationApplied() 27 const VideoSourceRestrictions& restrictions_after, in OnAdaptationApplied()
|
D | fake_adaptation_listener.h | 28 const VideoSourceRestrictions& restrictions_before, 29 const VideoSourceRestrictions& restrictions_after,
|
D | fake_adaptation_constraint.cc | 33 const VideoSourceRestrictions& restrictions_before, in IsAdaptationUpAllowed() 34 const VideoSourceRestrictions& restrictions_after, in IsAdaptationUpAllowed()
|
D | fake_adaptation_constraint.h | 31 const VideoSourceRestrictions& restrictions_before, 32 const VideoSourceRestrictions& restrictions_after,
|