Home
last modified time | relevance | path

Searched refs:setParam (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libeffects/lvm/tests/
DEffectBundleTest.cpp282 ASSERT_NO_FATAL_FAILURE(refEffect.setParam<int16_t>(key, value1)); in TEST_P()
284 ASSERT_NO_FATAL_FAILURE(refEffect.setParam<int32_t>(key, value1)); in TEST_P()
302 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int16_t>(key, value1)); in TEST_P()
304 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int32_t>(key, value1)); in TEST_P()
316 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int16_t>(key, value2)); in TEST_P()
317 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int16_t>(key, value1)); in TEST_P()
319 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int32_t>(key, value2)); in TEST_P()
320 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int32_t>(key, value1)); in TEST_P()
DEffectReverbTest.cpp108 ASSERT_NO_FATAL_FAILURE(effect.setParam(REVERB_PARAM_PRESET, mPreset)); in TEST_P()
178 ASSERT_NO_FATAL_FAILURE(stereoEffect.setParam(REVERB_PARAM_PRESET, mPreset)); in TEST_P()
206 ASSERT_NO_FATAL_FAILURE(testEffect.setParam(REVERB_PARAM_PRESET, mPreset)); in TEST_P()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp175 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_TARGET, refLevel); in initDecoder()
177 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_TARGET, DRC_DEFAULT_MOBILE_REF_LEVEL); in initDecoder()
184 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_ATT_FACTOR, cut); in initDecoder()
186 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_ATT_FACTOR, DRC_DEFAULT_MOBILE_DRC_CUT); in initDecoder()
193 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_BOOST_FACTOR, boost); in initDecoder()
195 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_BOOST_FACTOR, DRC_DEFAULT_MOBILE_DRC_BOOST); in initDecoder()
202 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_HEAVY, heavy); in initDecoder()
204 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_HEAVY, DRC_DEFAULT_MOBILE_DRC_HEAVY); in initDecoder()
211 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_ENCODER_TARGET, encoderRefLevel); in initDecoder()
213 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_ENCODER_TARGET, DRC_DEFAULT_MOBILE_ENC_LEVEL); in initDecoder()
[all …]
DDrcPresModeWrap.h34 void setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value);
DDrcPresModeWrap.cpp126 CDrcPresModeWrapper::setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value) in setParam() function in CDrcPresModeWrapper
/frameworks/av/media/libeffects/preprocessing/tests/
DEffectPreprocessingTest.cpp140 ASSERT_NO_FATAL_FAILURE(effect.setParam(AGC_PARAM_TARGET_LEVEL, agcParams->targetLevel)); in setPreProcParams()
141 ASSERT_NO_FATAL_FAILURE(effect.setParam(AGC_PARAM_COMP_GAIN, agcParams->compLevel)); in setPreProcParams()
145 effect.setParam(AGC2_PARAM_FIXED_DIGITAL_GAIN, agc2Params->fixedDigitalGain)); in setPreProcParams()
148 ASSERT_NO_FATAL_FAILURE(effect.setParam(AEC_PARAM_ECHO_DELAY, aecParams->echoDelay)); in setPreProcParams()
151 ASSERT_NO_FATAL_FAILURE(effect.setParam(NS_PARAM_LEVEL, nsParams->level)); in setPreProcParams()
DEffectTestHelper.cpp59 void EffectTestHelper::setParam(uint32_t type, uint32_t value) { in setParam() function in EffectTestHelper
80 if (setAecEchoDelay) ASSERT_NO_FATAL_FAILURE(setParam(AEC_PARAM_ECHO_DELAY, kAECDelay)); in process()
DEffectTestHelper.h65 void setParam(uint32_t type, uint32_t val);
/frameworks/av/media/libeffects/spatializer/tests/
DSpatializerTest.cpp270 EXPECT_NE(0, effect.setParam(SPATIALIZER_PARAM_LEVEL, level)); in TEST()
282 EXPECT_NE(0, effect.setParam(SPATIALIZER_PARAM_HINGE_ANGLE, hingeAngle)); in TEST()
286 EXPECT_NE(0, effect.setParam(SPATIALIZER_PARAM_HEADTRACKING_MODE, headTrackingMode)); in TEST()
291 EXPECT_EQ(0, effect.setParam(SPATIALIZER_PARAM_HEAD_TO_STAGE, vectorFloat)); in TEST()
/frameworks/av/media/codec2/components/aac/
DDrcPresModeWrap.h34 void setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value);
DC2SoftAacDec.cpp372 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_TARGET, (unsigned)targetRefLevel); in initDecoder()
378 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_ATT_FACTOR, (unsigned)attenuationFactor); in initDecoder()
383 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_BOOST_FACTOR, (unsigned)boostFactor); in initDecoder()
388 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_HEAVY, (unsigned)compressMode); in initDecoder()
393 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_ENCODER_TARGET, (unsigned)encTargetLevel); in initDecoder()
715 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_TARGET, (unsigned)targetRefLevel); in process()
720 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_ATT_FACTOR, (unsigned)attenuationFactor); in process()
725 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_BOOST_FACTOR, (unsigned)boostFactor); in process()
730 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_HEAVY, (unsigned)compressMode); in process()
735 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_ENCODER_TARGET, (unsigned)encTargetLevel); in process()
DDrcPresModeWrap.cpp126 CDrcPresModeWrapper::setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value) in setParam() function in CDrcPresModeWrapper
/frameworks/av/media/libeffects/tests/common/
DEffectTestHelper.h90 void setParam(uint32_t type, VALUE_DTYPE const value) { in setParam() function
154 int setParam(uint32_t type, const std::vector<T>& values) { in setParam() function