/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/ |
D | ReverbContext.cpp | 367 std::vector<float> outputSamples(frameCount * FCC_2); in process() 378 inputSamples.resize(frameCount * FCC_2); in process() 379 if (channels >= FCC_2) { in process() 381 inputSamples[FCC_2 * i] = in[channels * i] * kSendLevel; in process() 382 inputSamples[FCC_2 * i + 1] = in[channels * i + 1] * kSendLevel; in process() 386 inputSamples[FCC_2 * i] = inputSamples[FCC_2 * i + 1] = in[i] * kSendLevel; in process() 428 if (channels >= FCC_2) { in process() 431 outputSamples[FCC_2 * i] += in[channels * i]; in process() 432 outputSamples[FCC_2 * i + 1] += in[channels * i + 1]; in process() 437 outputSamples[FCC_2 * i] += in[i]; in process() [all …]
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | EffectReverbTest.cpp | 167 std::vector<float> stereoInput(mTotalFrameCount * FCC_2); in TEST_P() 168 adjust_channels(monoInput.data(), FCC_1, stereoInput.data(), FCC_2, sizeof(float), in TEST_P() 180 std::vector<float> stereoOutput(mTotalFrameCount * FCC_2); in TEST_P() 190 std::vector<int16_t> stereoRefI16(mTotalFrameCount * FCC_2); in TEST_P() 191 memcpy_to_i16_from_float(stereoRefI16.data(), stereoOutput.data(), mTotalFrameCount * FCC_2); in TEST_P() 227 ASSERT_EQ(0, memcmp(monoRefI16.data(), monoTestI16.data(), mTotalFrameCount * FCC_2)) in TEST_P() 231 std::vector<float> stereoTestOutput(mTotalFrameCount * FCC_2); in TEST_P() 232 adjust_channels(testOutput.data(), outChannelCount, stereoTestOutput.data(), FCC_2, in TEST_P() 236 std::vector<int16_t> stereoTestI16(mTotalFrameCount * FCC_2); in TEST_P() 238 mTotalFrameCount * FCC_2); in TEST_P() [all …]
|
D | EffectBundleTest.cpp | 138 std::vector<float> stereoInput(mTotalFrameCount * FCC_2); in TEST_P() 139 adjust_channels(monoInput.data(), FCC_1, stereoInput.data(), FCC_2, sizeof(float), in TEST_P() 149 std::vector<float> stereoOutput(mTotalFrameCount * FCC_2); in TEST_P() 154 std::vector<int16_t> stereoRefI16(mTotalFrameCount * FCC_2); in TEST_P() 155 memcpy_to_i16_from_float(stereoRefI16.data(), stereoOutput.data(), mTotalFrameCount * FCC_2); in TEST_P() 178 std::vector<float> stereoTestOutput(mTotalFrameCount * FCC_2); in TEST_P() 179 adjust_channels(testOutput.data(), channelCount, stereoTestOutput.data(), FCC_2, in TEST_P() 183 std::vector<int16_t> stereoTestI16(mTotalFrameCount * FCC_2); in TEST_P() 185 mTotalFrameCount * FCC_2); in TEST_P() 190 mTotalFrameCount * FCC_2); in TEST_P() [all …]
|
D | lvmtest.cpp | 410 } else if (params->NrChannels > FCC_2 && params->NrChannels <= FCC_24) { in lvmControl()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 257 channels = (pContext->auxiliary == true) ? channels : FCC_2; in EffectCreate() 260 pContext->bufferSizeOut = LVREV_MAX_FRAME_SIZE * sizeof(process_buffer_t) * FCC_2; in EffectCreate() 346 size_t outSize = frameCount * sizeof(process_buffer_t) * FCC_2; in process() 374 if (channels >= FCC_2) { in process() 376 pContext->InFrames[FCC_2 * i] = in process() 378 pContext->InFrames[FCC_2 * i + 1] = in process() 383 pContext->InFrames[FCC_2 * i] = pContext->InFrames[FCC_2 * i + 1] = in process() 391 frameCount * sizeof(*pContext->OutFrames) * FCC_2); // always stereo here in process() 412 if (channels >= FCC_2) { in process() 415 pContext->OutFrames[FCC_2 * i] += pIn[channels * i]; in process() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Process.cpp | 98 Copy_Float((LVM_FLOAT*)pInput, (LVM_FLOAT*)pStIn, (LVM_INT16)(FCC_2 * NrFrames)); in LVCS_Process_CS() 170 LVM_UINT16 destNumSamples = (channels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_Process() 172 (channels == FCC_1) ? LVCS_COMPGAINFRAME : FCC_2 * LVCS_COMPGAINFRAME; in LVCS_Process() 272 : (LVM_INT32)(FCC_2 * SampleToProcess)); in LVCS_Process()
|
D | LVCS_ReverbGenerator.cpp | 82 (pParams->NrChannels == FCC_1) ? (LVM_INT16)Delay : (LVM_INT16)(FCC_2 * Delay); in LVCS_ReverbGeneratorInit() 96 (pParams->NrChannels == FCC_1) ? FCC_1 : FCC_2, coefs)); in LVCS_ReverbGeneratorInit() 157 (pInstance->Params.NrChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_ReverbGenerator()
|
D | LVCS_Equaliser.cpp | 78 (pParams->NrChannels == FCC_1) ? FCC_1 : FCC_2, coefs)); in LVCS_EqualiserInit()
|
D | LVCS_StereoEnhancer.cpp | 132 LVM_UINT16 destNumSamples = (NumChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_StereoEnhancer()
|
D | LVCS_BypassMix.cpp | 204 (pInstance->Params.NrChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_BypassMixer()
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | Copy_16.cpp | 59 if (NrChannels >= FCC_2) { in Copy_Float_Stereo_Mc() 69 for (jj = FCC_2; jj < NrChannels; jj++) { in Copy_Float_Stereo_Mc()
|
D | LVC_MixSoft_1St_2i_D16C31_SAT.cpp | 59 int loopLimit = (NrChannels == FCC_1) ? NrChannels : FCC_2; in LVC_MixSoft_1St_MC_float_SAT()
|
/frameworks/av/services/audioflinger/fastpath/ |
D | FastMixer.h | 82 uint32_t mSinkChannelCount = FCC_2;
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Init.cpp | 82 pInstance->Params.NrChannels = FCC_2; in LVDBE_Init()
|
/frameworks/av/media/libeffects/downmix/benchmark/ |
D | downmix_benchmark.cpp | 103 std::vector<float> output(kFrameCount * FCC_2); in BM_Downmix()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixer.cpp | 40 #ifndef FCC_2 41 #define FCC_2 2 macro
|
D | AudioMixerBase.cpp | 33 #ifndef FCC_2 34 #define FCC_2 2 macro 1319 if (channels <= FCC_2) { in MIXTYPE_MONOVOL() 1599 if (!kUseNewMixer && channelCount == FCC_2 && mixerInFormat == AUDIO_FORMAT_PCM_16_BIT) { in getTrackHook() 1728 if (!kUseNewMixer && channelCount == FCC_2 && mixerInFormat == AUDIO_FORMAT_PCM_16_BIT) { in getProcessHook()
|
D | RecordBufferConverter.cpp | 194 mBufFrameSize = max(mSrcChannelCount, (uint32_t)FCC_2) in updateParameters()
|
D | AudioResampler.cpp | 271 const int maxChannels = quality < DYN_LOW_QUALITY ? FCC_2 : FCC_LIMIT; in AudioResampler()
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioMixerBase.h | 49 static constexpr uint32_t MAX_NUM_VOLUMES = FCC_2; // stereo volume only
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_GetInstanceHandle.cpp | 111 pLVREV_Private->pInputSave = (LVM_FLOAT*)calloc(FCC_2 * MaxBlockSize, sizeof(LVM_FLOAT)); in LVREV_GetInstanceHandle()
|
/frameworks/av/media/libeffects/visualizer/aidl/ |
D | VisualizerContext.cpp | 56 if (channelCount != FCC_2) return RetCode::ERROR_ILLEGAL_PARAMETER; in initParams()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 162 if (channelCount != FCC_2) return -EINVAL; in Visualizer_setConfig() 445 inIdx += FCC_2; // integer supports stereo only. in Visualizer_process()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 297 if (supportedChannelCount <= FCC_2) { in checkCompatibleChannelMask()
|
/frameworks/av/media/module/extractors/wav/ |
D | WAVExtractor.cpp | 228 if (mNumChannels != 1 && mNumChannels != FCC_2) { in init()
|