/external/aac/libPCMutils/src/ |
D | limiter.cpp | 115 TDLimiterPtr limiter = NULL; in pcmLimiter_Create() local 125 limiter = (TDLimiterPtr)FDKcalloc(1, sizeof(struct TDLimiter)); in pcmLimiter_Create() 126 if (!limiter) return NULL; in pcmLimiter_Create() 129 limiter->maxBuf = (FIXP_DBL*)FDKcalloc(attack + 1, sizeof(FIXP_DBL)); in pcmLimiter_Create() 130 limiter->delayBuf = in pcmLimiter_Create() 133 if (!limiter->maxBuf || !limiter->delayBuf) { in pcmLimiter_Create() 134 pcmLimiter_Destroy(limiter); in pcmLimiter_Create() 149 limiter->attackMs = maxAttackMs; in pcmLimiter_Create() 150 limiter->maxAttackMs = maxAttackMs; in pcmLimiter_Create() 151 limiter->releaseMs = releaseMs; in pcmLimiter_Create() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 52 RateLimiter limiter = RateLimiter.create(5.0, stopwatch); in testSimple() local 53 limiter.acquire(); // R0.00, since it's the first request in testSimple() 54 limiter.acquire(); // R0.20 in testSimple() 55 limiter.acquire(); // R0.20 in testSimple() 74 RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS); in testSimpleRateUpdate() local 75 assertEquals(5.0, limiter.getRate()); in testSimpleRateUpdate() 76 limiter.setRate(10.0); in testSimpleRateUpdate() 77 assertEquals(10.0, limiter.getRate()); in testSimpleRateUpdate() 80 limiter.setRate(0.0); in testSimpleRateUpdate() 85 limiter.setRate(-10.0); in testSimpleRateUpdate() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 52 RateLimiter limiter = RateLimiter.create(5.0, stopwatch); in testSimple() local 53 limiter.acquire(); // R0.00, since it's the first request in testSimple() 54 limiter.acquire(); // R0.20 in testSimple() 55 limiter.acquire(); // R0.20 in testSimple() 74 RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS); in testSimpleRateUpdate() local 75 assertEquals(5.0, limiter.getRate()); in testSimpleRateUpdate() 76 limiter.setRate(10.0); in testSimpleRateUpdate() 77 assertEquals(10.0, limiter.getRate()); in testSimpleRateUpdate() 80 limiter.setRate(0.0); in testSimpleRateUpdate() 85 limiter.setRate(-10.0); in testSimpleRateUpdate() [all …]
|
/external/perfetto/src/perfetto_cmd/ |
D | rate_limiter_unittest.cc | 80 NiceMock<MockRateLimiter> limiter; in TEST() local 86 ASSERT_TRUE(limiter.SaveState(input)); in TEST() 87 ASSERT_TRUE(limiter.LoadState(&output)); in TEST() 93 NiceMock<MockRateLimiter> limiter; in TEST() local 109 ASSERT_TRUE(limiter.SaveState(input)); in TEST() 110 ASSERT_TRUE(limiter.LoadState(&output)); in TEST() 128 NiceMock<MockRateLimiter> limiter; in TEST() local 136 ASSERT_TRUE(limiter.SaveState(input)); in TEST() 137 ASSERT_TRUE(limiter.LoadState(&output)); in TEST() 142 NiceMock<MockRateLimiter> limiter; in TEST() local [all …]
|
D | perfetto_cmd.cc | 275 RateLimiter limiter; in Main() local 376 PERFETTO_CHECK(limiter.ClearState()); in Main() 743 auto err_atom = ConvertRateLimiterResponseToAtom(limiter.ShouldTrace(args)); in Main() 756 return limiter.OnTraceDone(args, update_guardrail_state_, bytes_written_) ? 0 in Main()
|
/external/webrtc/rtc_base/ |
D | data_rate_limiter_unittest.cc | 19 DataRateLimiter limiter = DataRateLimiter(2000, 1.0); in TEST() local 25 EXPECT_TRUE(limiter.CanUse(0, monday)); in TEST() 26 EXPECT_TRUE(limiter.CanUse(1000, monday)); in TEST() 27 EXPECT_TRUE(limiter.CanUse(1999, monday)); in TEST() 28 EXPECT_TRUE(limiter.CanUse(2000, monday)); in TEST() 29 EXPECT_FALSE(limiter.CanUse(2001, monday)); in TEST() 31 limiter.Use(1000, monday); in TEST() 33 EXPECT_TRUE(limiter.CanUse(0, monday)); in TEST() 34 EXPECT_TRUE(limiter.CanUse(999, monday)); in TEST() 35 EXPECT_TRUE(limiter.CanUse(1000, monday)); in TEST() [all …]
|
/external/webrtc/modules/audio_processing/agc2/ |
D | compute_interpolated_gain_curve.cc | 29 const LimiterDbGainCurve* limiter, in ComputeLinearApproximationParams() argument 31 const double m = limiter->GetGainFirstDerivativeLinear(x); in ComputeLinearApproximationParams() 32 const double q = limiter->GetGainLinear(x) - m * x; in ComputeLinearApproximationParams() 37 const LimiterDbGainCurve* limiter, in ComputeAreaUnderPiecewiseLinearApproximation() argument 44 std::tie(m0, q0) = ComputeLinearApproximationParams(limiter, x0); in ComputeAreaUnderPiecewiseLinearApproximation() 45 std::tie(m1, q1) = ComputeLinearApproximationParams(limiter, x1); in ComputeAreaUnderPiecewiseLinearApproximation() 64 double LimiterUnderApproximationNegativeError(const LimiterDbGainCurve* limiter, in LimiterUnderApproximationNegativeError() argument 67 const double area_limiter = limiter->GetGainIntegralLinear(x0, x1); in LimiterUnderApproximationNegativeError() 69 ComputeAreaUnderPiecewiseLinearApproximation(limiter, x0, x1); in LimiterUnderApproximationNegativeError() 81 std::vector<double> SampleLimiterRegion(const LimiterDbGainCurve* limiter) { in SampleLimiterRegion() argument [all …]
|
D | interpolated_gain_curve_unittest.cc | 33 const LimiterDbGainCurve limiter; variable 41 kLevelEpsilon, DbfsToFloatS16(limiter.max_input_level_db() + 1), 500); in TEST() 51 kLevelEpsilon, limiter.max_input_level_linear() * 2.0, 500); in TEST() 64 kLevelEpsilon, limiter.max_input_level_linear() + kLevelEpsilon + 0.5, in TEST() 78 kLevelEpsilon, limiter.max_input_level_linear() - kLevelEpsilon, 500); in TEST() 82 std::fabs(limiter.GetGainLinear(level) - igc.LookUpGainToApply(level)), in TEST() 91 {kLevelEpsilon, limiter.knee_start_linear() + kLevelEpsilon, in TEST() 92 limiter.limiter_start_linear() + kLevelEpsilon, in TEST() 93 limiter.max_input_level_linear() + kLevelEpsilon}}; in TEST() 110 test::LinSpace(kLevelEpsilon, limiter.knee_start_linear(), kNumSteps); in TEST() [all …]
|
D | limiter_unittest.cc | 26 Limiter limiter(sample_rate_hz, &apm_data_dumper, ""); in TEST() local 30 limiter.Process(vectors_with_float_frame.float_frame_view()); in TEST() 40 Limiter limiter(sample_rate_hz, &apm_data_dumper, ""); in TEST() local 46 limiter.Process(vectors_with_float_frame.float_frame_view()); in TEST() 51 limiter.Process(vectors_with_float_frame.float_frame_view()); in TEST()
|
D | limiter.h | 30 Limiter(const Limiter& limiter) = delete; 31 Limiter& operator=(const Limiter& limiter) = delete;
|
D | BUILD.gn | 103 "limiter.cc", 104 "limiter.h",
|
/external/aac/libPCMutils/include/ |
D | limiter.h | 160 TDLIMITER_ERROR pcmLimiter_Reset(TDLimiterPtr limiter); 167 TDLIMITER_ERROR pcmLimiter_Destroy(TDLimiterPtr limiter); 174 unsigned int pcmLimiter_GetDelay(TDLimiterPtr limiter); 181 INT pcmLimiter_GetMaxGainReduction(TDLimiterPtr limiter); 189 TDLIMITER_ERROR pcmLimiter_SetNChannels(TDLimiterPtr limiter, 198 TDLIMITER_ERROR pcmLimiter_SetSampleRate(TDLimiterPtr limiter, UINT sampleRate); 206 TDLIMITER_ERROR pcmLimiter_SetAttack(TDLimiterPtr limiter, 215 TDLIMITER_ERROR pcmLimiter_SetRelease(TDLimiterPtr limiter, 248 TDLIMITER_ERROR pcmLimiter_SetThreshold(TDLimiterPtr limiter, 261 TDLIMITER_ERROR pcmLimiter_Apply(TDLimiterPtr limiter, PCM_LIM* samplesIn,
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_ir_common.c | 282 LLVMValueRef i1cond, i2cond, icond, limiter; in lp_exec_endloop() local 306 limiter = LLVMBuildLoad(builder, ctx->loop_limiter, ""); in lp_exec_endloop() 308 limiter = LLVMBuildSub( in lp_exec_endloop() 310 limiter, in lp_exec_endloop() 314 LLVMBuildStore(builder, limiter, ctx->loop_limiter); in lp_exec_endloop() 327 limiter, in lp_exec_endloop()
|
/external/webrtc/modules/audio_mixer/ |
D | frame_combiner.cc | 103 void RunLimiter(AudioFrameView<float> mixing_buffer_view, Limiter* limiter) { in RunLimiter() argument 107 limiter->SetSampleRate(sample_rate); in RunLimiter() 108 limiter->Process(mixing_buffer_view); in RunLimiter()
|
D | BUILD.gn | 32 "default_output_rate_calculator.h", # For creating a mixer with limiter
|
D | audio_mixer_test.cc | 34 ABSL_FLAG(bool, limiter, true, "Enable limiter.");
|
/external/flac/src/flac/ |
D | decode.h | 36 enum { RGSS_LIMIT__NONE, RGSS_LIMIT__PEAK, RGSS_LIMIT__HARD} limiter; member
|
D | main.c | 556 option_values.replaygain_synthesis_spec.limiter = RGSS_LIMIT__HARD; in init_options() 710 option_values.replaygain_synthesis_spec.limiter = RGSS_LIMIT__NONE; in parse_option() 719 option_values.replaygain_synthesis_spec.limiter = RGSS_LIMIT__PEAK; in parse_option() 721 option_values.replaygain_synthesis_spec.limiter = RGSS_LIMIT__HARD; in parse_option()
|
D | decode.c | 1151 decoder_session->replaygain.spec.limiter == RGSS_LIMIT__HARD, /* hard_limit */ in write_callback() 1395 …ecoder_session->replaygain.spec.preamp, decoder_session->replaygain.spec.limiter == RGSS_LIMIT__PE… in metadata_callback() 1398 … ns[decoder_session->replaygain.spec.noise_shaping], ls[decoder_session->replaygain.spec.limiter]); in metadata_callback()
|
/external/perfetto/ui/src/assets/ |
D | common.scss | 396 .scroll-limiter {
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/protobufs/ |
D | spvtoolsfuzz.proto | 438 // Structure capturing the information required to manipulate a loop limiter 444 // A fresh id into which the loop limiter's current value can be loaded. 808 // Fresh id for a new variable that will serve as a "loop limiter" for the 813 // that the loop limiter can reach before the loop is broken from; only 817 // Fresh ids for each loop in the function that allow the loop limiter to be
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/ |
D | spvtoolsfuzz.proto | 438 // Structure capturing the information required to manipulate a loop limiter 444 // A fresh id into which the loop limiter's current value can be loaded. 806 // Fresh id for a new variable that will serve as a "loop limiter" for the 811 // that the loop limiter can reach before the loop is broken from; only 815 // Fresh ids for each loop in the function that allow the loop limiter to be
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/protobufs/ |
D | spvtoolsfuzz.proto | 438 // Structure capturing the information required to manipulate a loop limiter 444 // A fresh id into which the loop limiter's current value can be loaded. 806 // Fresh id for a new variable that will serve as a "loop limiter" for the 811 // that the loop limiter can reach before the loop is broken from; only 815 // Fresh ids for each loop in the function that allow the loop limiter to be
|
/external/pigweed/ |
D | yarn.lock | 534 async-limiter@~1.0.0: 536 …resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08… 4264 async-limiter "~1.0.0"
|
/external/skqp/tools/bookmaker/ |
D | includeParser.cpp | 234 const char* limiter = t.anyOf("(,{"); in skip_constructor_initializers() local 235 t.skipTo(limiter); in skip_constructor_initializers()
|