Home
last modified time | relevance | path

Searched refs:ThresholdCurve (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/modules/audio_coding/audio_network_adaptor/util/
Dthreshold_curve_unittest.cc43 void CheckRelativePosition(const ThresholdCurve& curve, in CheckRelativePosition()
44 ThresholdCurve::Point point, in CheckRelativePosition()
76 constexpr ThresholdCurve::Point p1{1000, 2000}; in TEST()
77 constexpr ThresholdCurve::Point p2{2000, 1000}; in TEST()
84 const ThresholdCurve curve(p1, p2); in TEST()
161 constexpr ThresholdCurve::Point p1{100, 200}; in TEST()
162 constexpr ThresholdCurve::Point p2{p1.x + 1, p1.y}; in TEST()
167 const ThresholdCurve curve(p1, p2); in TEST()
228 constexpr ThresholdCurve::Point p1{100, 200}; in TEST()
229 constexpr ThresholdCurve::Point p2{p1.x, p1.y - 1}; in TEST()
[all …]
Dthreshold_curve.h18 class ThresholdCurve {
47 ThresholdCurve(const Point& left, const Point& right) in ThresholdCurve() function
55 ThresholdCurve(float a_x, float a_y, float b_x, float b_y) in ThresholdCurve() function
56 : ThresholdCurve(Point{a_x, a_y}, Point{b_x, b_y}) {} in ThresholdCurve()
84 bool operator<=(const ThresholdCurve& rhs) const {
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dfec_controller_plr_based.h39 const ThresholdCurve& fec_enabling_threshold,
40 const ThresholdCurve& fec_disabling_threshold,
43 ThresholdCurve fec_enabling_threshold;
44 ThresholdCurve fec_disabling_threshold;
Dfec_controller_plr_based_unittest.cc58 const ThresholdCurve& enabling_curve, in CreateFecControllerPlrBased()
59 const ThresholdCurve& disabling_curve) { in CreateFecControllerPlrBased()
75 ThresholdCurve(kEnablingBandwidthLow, kEnablingPacketLossAtLowBw, in CreateFecControllerPlrBased()
77 ThresholdCurve(kDisablingBandwidthLow, kDisablingPacketLossAtLowBw, in CreateFecControllerPlrBased()
331 ThresholdCurve(kEnablingBandwidthLow, kEnablingPacketLossAtLowBw, in TEST()
333 ThresholdCurve(kDisablingBandwidthLow, kDisablingPacketLossAtLowBw, in TEST()
365 auto curve = ThresholdCurve(kBandwidthLow, kPacketLossAtLowBw, kBandwidthHigh, in TEST()
440 ThresholdCurve always_off_curve(0, 1.0f + kEpsilon, 0, 1.0f + kEpsilon); in TEST()
454 ThresholdCurve always_on_curve(0, 0.0f, 0, 0.0f); in TEST()
477 ThresholdCurve(kDisablingBandwidthLow - 1, in TEST()
[all …]
Dfec_controller_plr_based.cc40 const ThresholdCurve& fec_enabling_threshold, in Config()
41 const ThresholdCurve& fec_disabling_threshold, in Config()
Dcontroller_manager.cc68 ThresholdCurve(fec_enabling_threshold.low_bandwidth_bps(), in CreateFecControllerPlrBased()
72 ThresholdCurve(fec_disabling_threshold.low_bandwidth_bps(), in CreateFecControllerPlrBased()