| /webrtc/constraints/src/capability/ |
| H A D | value_range.rs | 36 pub max: Option<T>, field 43 max: Default::default(), in default() 50 let (min, max) = range.into_inner(); in from() 53 max: Some(max), in from() 62 max: None, in from() 71 max: Some(range.end), in from() 90 if let Some(ref max) = self.max { in contains() 91 if max < value { in contains() 110 assert_eq!(subject.max, None); in default() 129 assert_eq!(subject.max, None); in range_from() [all …]
|
| /webrtc/constraints/src/algorithms/fitness_distance/value_range_constraint/tests/ |
| H A D | u64.rs | 24 max: None, 45 max: None, 156 max: None, 184 max: None, 205 max: None, 234 max: None, 240 max: None, 266 max: None, 272 max: None, 294 max: None, [all …]
|
| H A D | f64.rs | 24 max: None, 45 max: None, 156 max: None, 184 max: None, 205 max: None, 234 max: None, 240 max: None, 266 max: None, 272 max: None, 294 max: None, [all …]
|
| H A D | empty.rs | 23 max: None,
|
| /webrtc/constraints/src/constraint/ |
| H A D | value_range.rs | 120 pub max: Option<T>, field 176 pub fn max<U>(mut self, max: U) -> Self in max() method 180 self.max = max.into(); in max() 187 self.min.is_some() || self.max.is_some() || self.exact.is_some() in is_required() 209 max: self.max, in into_required_only() 221 max: None, in default() 238 } else if let (Some(min), Some(max)) = (&self.min, &self.max) { in fmt() 244 } else if let Some(max) = &self.max { in fmt() 295 let max = if max_is_some { Some(2) } else { None }; in is_required() localVariable 307 max, in is_required() [all …]
|
| /webrtc/constraints/tests/ |
| H A D | w3c_spec_examples.rs | 69 max: None, in w3c_spec_example_2() 79 max: None, in w3c_spec_example_2() 90 max: None, in w3c_spec_example_2() 137 max: None, in w3c_spec_example_3() 147 max: None, in w3c_spec_example_3() 157 max: None, in w3c_spec_example_3() 171 max: None, in w3c_spec_example_3() 181 max: None, in w3c_spec_example_3()
|
| /webrtc/constraints/src/ |
| H A D | macros.rs | 236 max: 60.0, in range() 240 ResolvedValueRangeConstraint::default().min(30.0).max(60.0), in range() 279 max: 60.0, in mandatory_constraints() 299 ResolvedValueRangeConstraint::default().min(30.0).max(60.0), in mandatory_constraints() 328 max: 60.0, in advanced_constraints() 350 .max(60.0) in advanced_constraints() 374 max: 60.0, in constraints() 390 max: 60.0, in constraints() 414 .max(60.0) in constraints() 436 .max(60.0) in constraints()
|
| /webrtc/constraints/src/algorithms/ |
| H A D | fitness_distance.rs | 50 if diff < (epsilon * norm).max(abs_th) { in nearly_cmp() 63 fn is_nearly_less_than_or_equal_to(actual: f64, max: f64) -> bool { in is_nearly_less_than_or_equal_to() 64 nearly_cmp(actual, max) != Ordering::Greater in is_nearly_less_than_or_equal_to() 85 let denominator = actual.abs().max(ideal.abs()); in relative_fitness_distance()
|
| /webrtc/sdp/src/util/ |
| H A D | util_test.rs | 155 let mut max = 0u64; in test_new_session_id() localVariable 165 if r > max { in test_new_session_id() 166 max = r in test_new_session_id() 172 if max < 0x7000000000000000 { in test_new_session_id()
|
| /webrtc/stun/src/ |
| H A D | checks.rs | 37 pub fn check_overflow(_at: AttrType, got: usize, max: usize) -> Result<()> { in check_overflow() 38 if got <= max { in check_overflow()
|
| /webrtc/constraints/src/algorithms/fitness_distance/ |
| H A D | value_range_constraint.rs | 72 if let Some(max) = self.max { 84 max as f64,
|
| H A D | setting.rs | 251 max: None, in missing_settings() 257 max: None, in missing_settings() 293 max: None, in compatible_settings() 299 max: None, in compatible_settings() 332 max: None, in incompatible_settings() 338 max: None, in incompatible_settings()
|
| /webrtc/constraints/examples/ |
| H A D | macros.rs | 53 max: 2560 in main() 56 max: 1440 in main()
|
| H A D | native.rs | 55 ValueRangeConstraint::Constraint(ResolvedValueRangeConstraint::default().max(2560)) in main() 60 ValueRangeConstraint::Constraint(ResolvedValueRangeConstraint::default().max(1440)) in main()
|
| /webrtc/constraints/src/algorithms/select_settings/ |
| H A D | tests.rs | 261 ResolvedValueRangeConstraint::default().max(10).into(), in too_large() 556 ResolvedValueRangeConstraint::default().max(2560), in native() 563 ResolvedValueRangeConstraint::default().max(1440), in native() 668 max: 2560 in macros() 671 max: 1440 in macros()
|
| H A D | apply_advanced.rs | 174 ResolvedValueRangeConstraint::default().max(1440).into(), in constrained()
|
| H A D | apply_mandatory.rs | 203 ResolvedValueRangeConstraint::default().max(2000).into(), in constrained()
|
| /webrtc/interceptor/src/nack/generator/ |
| H A D | generator_stream.rs | 179 let all = |min: u16, max: u16| -> Vec<u16> { in test_generator_stream() 182 let max_plus_1 = max.wrapping_add(1); in test_generator_stream()
|
| /webrtc/examples/examples/rtp-to-webrtc/ |
| H A D | README.md | 39 …th=640,height=480,format=I420 ! vp8enc error-resilient=partitions keyframe-max-dist=10 auto-alt-re…
|
| /webrtc/webrtc/src/sctp_transport/ |
| H A D | mod.rs | 416 let max = self.max_channels(); in generate_and_set_data_channel_id() localVariable 417 while id < max - 1 { in generate_and_set_data_channel_id()
|
| /webrtc/ice/src/candidate/ |
| H A D | mod.rs | 316 + 2 * u64::from(std::cmp::max(g, d)) in priority()
|
| /webrtc/sctp/src/association/ |
| H A D | association_internal.rs | 161 a.cwnd = std::cmp::min(4 * a.mtu, std::cmp::max(2 * a.mtu, 4380)); in new() 1326 self.ssthresh = std::cmp::max(self.cwnd / 2, 4 * self.mtu); in process_fast_retransmission() 2287 self.ssthresh = std::cmp::max(self.cwnd / 2, 4 * self.mtu); in on_retransmission_timeout()
|