Home
last modified time | relevance | path

Searched refs:limiter (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libheadtracking/
DPoseRateLimiter-test.cpp34 PoseRateLimiter limiter(Options{.maxTranslationalVelocity = 10, .maxRotationalVelocity = 10}); in TEST() local
35 limiter.setTarget(target); in TEST()
36 EXPECT_EQ(limiter.calculatePose(1000), target); in TEST()
42 PoseRateLimiter limiter(Options{}); in TEST() local
43 limiter.setTarget(target1); in TEST()
44 EXPECT_EQ(limiter.calculatePose(0), target1); in TEST()
45 limiter.setTarget(target2); in TEST()
46 EXPECT_EQ(limiter.calculatePose(0), target2); in TEST()
47 limiter.setTarget(target1); in TEST()
48 EXPECT_EQ(limiter.calculatePose(0), target1); in TEST()
[all …]
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java1227 public void setLimiter(Limiter limiter) { in setLimiter() argument
1228 mLimiter = new Limiter(limiter); in setLimiter()
1615 public void setLimiterByChannelIndex(int channelIndex, Limiter limiter) { in setLimiterByChannelIndex() argument
1617 mChannel[channelIndex].setLimiter(limiter); in setLimiterByChannelIndex()
1619 public void setLimiterAllChannelsTo(Limiter limiter) { in setLimiterAllChannelsTo() argument
1621 mChannel[ch].setLimiter(limiter); in setLimiterAllChannelsTo()
1749 public Builder setLimiterByChannelIndex(int channelIndex, Limiter limiter) { in setLimiterByChannelIndex() argument
1751 mChannel[channelIndex].setLimiter(limiter); in setLimiterByChannelIndex()
1754 public Builder setLimiterAllChannelsTo(Limiter limiter) { in setLimiterAllChannelsTo() argument
1756 setLimiterByChannelIndex(ch, limiter); in setLimiterAllChannelsTo()
[all …]
/frameworks/av/media/libeffects/dynamicsproc/aidl/
DDynamicsProcessingContext.cpp230 auto limiter = getLimiter_l(ch); in getLimiter() local
231 if (!limiter) { in getLimiter()
235 .enable = limiter->isEnabled(), in getLimiter()
236 .linkGroup = static_cast<int32_t>(limiter->getLinkGroup()), in getLimiter()
237 .attackTimeMs = limiter->getAttackTime(), in getLimiter()
238 .releaseTimeMs = limiter->getReleaseTime(), in getLimiter()
239 .ratio = limiter->getRatio(), in getLimiter()
240 .thresholdDb = limiter->getThreshold(), in getLimiter()
241 .postGainDb = limiter->getPostGain()}); in getLimiter()
501 dp_fx::DPLimiter limiter; in setDpChannelBand_l() local
[all …]
DDynamicsProcessing.cpp166 .min = DynamicsProcessing::make<DynamicsProcessing::limiter>(
176 .max = DynamicsProcessing::make<DynamicsProcessing::limiter>(
326 case DynamicsProcessing::limiter: { in setParameterSpecific()
327 RETURN_IF(mContext->setLimiter(param.get<DynamicsProcessing::limiter>()) != in setParameterSpecific()
407 case DynamicsProcessing::limiter: { in getParameterDynamicsProcessing()
409 DynamicsProcessing::make<DynamicsProcessing::limiter>(mContext->getLimiter())); in getParameterDynamicsProcessing()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp356 Limiter limiter{1}; in TEST() local
366 sourceFloat.output.connect(&limiter.input); in TEST()
367 limiter.output.connect(&sinkFloat.input); in TEST()
403 Limiter limiter{1}; in TEST() local
409 sourceFloat.output.connect(&limiter.input); in TEST()
410 limiter.output.connect(&sinkFloat.input); in TEST()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPBase.cpp225 void DPChannel::setLimiter(DPLimiter &limiter) { in setLimiter() argument
229 mLimiter = limiter; in setLimiter()
DDPBase.h289 void setLimiter(DPLimiter &limiter);
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionDynamicsProcessing.cpp115 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, limiter, in setParameter()
439 DynamicsProcessing::limiter); in getLimiterConfig()
444 aidlParam, DynamicsProcessing, dynamicsProcessing, limiter, in getLimiterConfig()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp1242 dp_fx::DPLimiter limiter; in DP_setParameter() local
1243 limiter.init(inUse != 0, enabled != 0, linkGroup, attackTime, releaseTime, ratio, in DP_setParameter()
1245 pChannel->setLimiter(limiter); in DP_setParameter()