Searched refs:input_level_dbfs (Results 1 – 6 of 6) sorted by relevance
90 double LimiterDbGainCurve::GetOutputLevelDbfs(double input_level_dbfs) const { in GetOutputLevelDbfs()91 if (input_level_dbfs < knee_start_dbfs_) { in GetOutputLevelDbfs()92 return input_level_dbfs; in GetOutputLevelDbfs()93 } else if (input_level_dbfs < limiter_start_dbfs_) { in GetOutputLevelDbfs()94 return GetKneeRegionOutputLevelDbfs(input_level_dbfs); in GetOutputLevelDbfs()96 return GetCompressorRegionOutputLevelDbfs(input_level_dbfs); in GetOutputLevelDbfs()127 double input_level_dbfs) const { in GetKneeRegionOutputLevelDbfs()128 return knee_region_polynomial_[0] * input_level_dbfs * input_level_dbfs + in GetKneeRegionOutputLevelDbfs()129 knee_region_polynomial_[1] * input_level_dbfs + in GetKneeRegionOutputLevelDbfs()134 double input_level_dbfs) const { in GetCompressorRegionOutputLevelDbfs()[all …]
28 float ComputeGainDb(float input_level_dbfs) { in ComputeGainDb() argument30 if (input_level_dbfs < -(kHeadroomDbfs + kMaxGainDb)) { in ComputeGainDb()36 if (input_level_dbfs < -kHeadroomDbfs) { in ComputeGainDb()37 return -kHeadroomDbfs - input_level_dbfs; in ComputeGainDb()43 RTC_DCHECK_LE(input_level_dbfs, 0.f); in ComputeGainDb()108 signal_with_levels.input_level_dbfs = in Process()109 std::min(signal_with_levels.input_level_dbfs, 0.f); in Process()111 RTC_DCHECK_GE(signal_with_levels.input_level_dbfs, -150.f); in Process()116 LimitGainByNoise(ComputeGainDb(signal_with_levels.input_level_dbfs), in Process()
31 float input_level_dbfs, in RunOnConstantLevel() argument38 signal_with_levels.input_level_dbfs = input_level_dbfs; in RunOnConstantLevel()53 result.input_level_dbfs = -1; in TestSignalWithLevel()73 signal_with_level.input_level_dbfs = -5.0; in TEST()125 signal_with_level.input_level_dbfs = initial_level_dbfs; in TEST()138 signal_with_level.input_level_dbfs = 0.f; in TEST()156 signal_with_level.input_level_dbfs = initial_level_dbfs; in TEST()187 signal_with_level.input_level_dbfs = initial_level_dbfs; in TEST()209 signal_with_level.input_level_dbfs = 5.0f; in TEST()228 signal_with_level.input_level_dbfs = initial_level_dbfs; in TEST()
37 double GetOutputLevelDbfs(double input_level_dbfs) const;43 double GetKneeRegionOutputLevelDbfs(double input_level_dbfs) const;44 double GetCompressorRegionOutputLevelDbfs(double input_level_dbfs) const;
27 float input_level_dbfs = -1.f; member
56 signal_with_levels.input_level_dbfs = in Process()