Home
last modified time | relevance | path

Searched refs:EffectTestHelper (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libeffects/lvm/tests/
DEffectBundleTest.cpp53 : mChMask(EffectTestHelper::kChMasks[std::get<0>(GetParam())]), in SingleEffectTest()
55 mSampleRate(EffectTestHelper::kSampleRates[std::get<1>(GetParam())]), in SingleEffectTest()
56 mFrameCount(EffectTestHelper::kFrameCounts[std::get<2>(GetParam())]), in SingleEffectTest()
57 mLoopCount(EffectTestHelper::kLoopCounts[std::get<3>(GetParam())]), in SingleEffectTest()
78 EffectTestHelper effect(&mUuid, mChMask, mChMask, mSampleRate, mFrameCount, mLoopCount); in TEST_P()
97 ::testing::Combine(::testing::Range(0, (int)EffectTestHelper::kNumChMasks),
98 ::testing::Range(0, (int)EffectTestHelper::kNumSampleRates),
99 ::testing::Range(0, (int)EffectTestHelper::kNumFrameCounts),
100 ::testing::Range(0, (int)EffectTestHelper::kNumLoopCounts),
108 : mSampleRate(EffectTestHelper::kSampleRates[std::get<0>(GetParam())]), in SingleEffectComparisonTest()
[all …]
DEffectReverbTest.cpp104 EffectTestHelper effect(mUuid, mInChMask, mOutChMask, mSampleRate, mFrameCount, mLoopCount); in TEST_P()
172 EffectTestHelper stereoEffect( in TEST_P()
201 EffectTestHelper testEffect(mUuid, inChMask, outChMask, mSampleRate, mFrameCount, in TEST_P()
/frameworks/av/media/libeffects/preprocessing/tests/
DEffectPreprocessingTest.cpp136 void setPreProcParams(const effect_uuid_t* uuid, EffectTestHelper& effect, size_t paramIdx) { in setPreProcParams()
159 : mSampleRate(EffectTestHelper::kSampleRates[std::get<1>(GetParam())]), in SingleEffectTest()
160 mFrameCount(mSampleRate * EffectTestHelper::kTenMilliSecVal), in SingleEffectTest()
161 mLoopCount(EffectTestHelper::kLoopCounts[std::get<2>(GetParam())]), in SingleEffectTest()
163 mChMask(EffectTestHelper::kChMasks[std::get<0>(GetParam())]), in SingleEffectTest()
183 EffectTestHelper effect(mUuid, mChMask, mSampleRate, mLoopCount); in TEST_P()
212 ::testing::Combine(::testing::Range(0, (int)EffectTestHelper::kNumChMasks),
213 ::testing::Range(0, (int)EffectTestHelper::kNumSampleRates),
214 ::testing::Range(0, (int)EffectTestHelper::kNumLoopCounts),
222 : mSampleRate(EffectTestHelper::kSampleRates[std::get<0>(GetParam())]), in SingleEffectComparisonTest()
[all …]
DEffectTestHelper.cpp20 void EffectTestHelper::createEffect() { in createEffect()
25 void EffectTestHelper::releaseEffect() { in releaseEffect()
30 void EffectTestHelper::setConfig(bool configReverse) { in setConfig()
59 void EffectTestHelper::setParam(uint32_t type, uint32_t value) { in setParam()
76 void EffectTestHelper::process(int16_t* input, int16_t* output, bool setAecEchoDelay) { in process()
89 void EffectTestHelper::process_reverse(int16_t* farInput, int16_t* output) { in process_reverse()
DEffectTestHelper.h53 class EffectTestHelper {
55 EffectTestHelper(const effect_uuid_t* uuid, size_t chMask, size_t sampleRate, size_t loopCount) in EffectTestHelper() function
DAndroid.bp21 "EffectTestHelper.cpp",
/frameworks/av/media/libeffects/tests/common/
DEffectTestHelper.cpp21 void EffectTestHelper::createEffect() { in createEffect()
26 void EffectTestHelper::releaseEffect() { in releaseEffect()
31 void EffectTestHelper::setConfig() { in setConfig()
52 void EffectTestHelper::process(float* input, float* output) { in process()
DAndroid.bp13 "EffectTestHelper.cpp",
DEffectTestHelper.h73 class EffectTestHelper {
75 EffectTestHelper(const effect_uuid_t* uuid, size_t inChMask, size_t outChMask, in EffectTestHelper() function
/frameworks/av/media/libeffects/spatializer/tests/
DSpatializerTest.cpp82 mLoopCount(EffectTestHelper::kLoopCounts[std::get<3>(GetParam())]), in SingleEffectTest()
106 EffectTestHelper effect(mUuid, mInputChMask, mOutputChMask, mSampleRate, mFrameCount, in TEST_P()
128 (int)EffectTestHelper::kNumLoopCounts),
179 EffectTestHelper refEffect(mUuid, mInputChMask, mOutputChMask, mSampleRate, totalFrameCount, 1); in TEST_P()
185 EffectTestHelper testEffect(mUuid, mInputChMask, mOutputChMask, mSampleRate, in TEST_P()
206 EffectTestHelper effect(&kSpatializerEffectUuids[0], kSpatializerChMasks[0], in TEST()
208 kSpatializerFrameCounts[0], EffectTestHelper::kLoopCounts[0]); in TEST()