/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | Copy_16.cpp | 91 LVM_INT32 NrChannels) in Copy_Float_Mc_Stereo() argument 95 if (NrChannels >= 2) in Copy_Float_Mc_Stereo() 102 src += NrChannels; in Copy_Float_Mc_Stereo() 105 else if (NrChannels == 1) in Copy_Float_Mc_Stereo() 124 LVM_INT32 NrChannels) in Copy_Float_Stereo_Mc() argument 131 dst += NrChannels * (NrFrames - 1); in Copy_Float_Stereo_Mc() 132 src += NrChannels * (NrFrames - 1); in Copy_Float_Stereo_Mc() 137 for (jj = 2; jj < NrChannels; jj++) in Copy_Float_Stereo_Mc() 141 dst -= NrChannels; in Copy_Float_Stereo_Mc() 142 src -= NrChannels; in Copy_Float_Stereo_Mc()
|
D | PK_2I_D32F32C14G11_TRC_WRA_01.cpp | 140 LVM_INT16 NrChannels) in PK_Mc_D32F32C14G11_TRC_WRA_01() argument 149 for (jj = 0; jj < NrChannels; jj++) in PK_Mc_D32F32C14G11_TRC_WRA_01() 155 temp = (*pDataIn) - pBiquadState->pDelays[NrChannels + jj]; in PK_Mc_D32F32C14G11_TRC_WRA_01() 159 temp = pBiquadState->pDelays[NrChannels*3 + jj] * pBiquadState->coefs[1]; in PK_Mc_D32F32C14G11_TRC_WRA_01() 163 temp = pBiquadState->pDelays[NrChannels*2 + jj] * pBiquadState->coefs[2]; in PK_Mc_D32F32C14G11_TRC_WRA_01() 175 pBiquadState->pDelays[NrChannels * 3 + jj] = in PK_Mc_D32F32C14G11_TRC_WRA_01() 176 pBiquadState->pDelays[NrChannels * 2 + jj]; /* y(n-2)=y(n-1)*/ in PK_Mc_D32F32C14G11_TRC_WRA_01() 177 pBiquadState->pDelays[NrChannels * 1 + jj] = in PK_Mc_D32F32C14G11_TRC_WRA_01() 179 pBiquadState->pDelays[NrChannels * 2 + jj] = yn; /* Update y(n-1) */ in PK_Mc_D32F32C14G11_TRC_WRA_01()
|
D | BQ_2I_D32F32C30_TRC_WRA_01.cpp | 148 LVM_INT16 NrChannels) in BQ_MC_D32F32C30_TRC_WRA_01() argument 160 for (jj = 0; jj < NrChannels; jj++) in BQ_MC_D32F32C30_TRC_WRA_01() 163 yn = pBiquadState->coefs[0] * pBiquadState->pDelays[NrChannels + jj]; in BQ_MC_D32F32C30_TRC_WRA_01() 174 temp = pBiquadState->coefs[3] * pBiquadState->pDelays[NrChannels*3 + jj]; in BQ_MC_D32F32C30_TRC_WRA_01() 178 temp = pBiquadState->coefs[4] * pBiquadState->pDelays[NrChannels*2 + jj]; in BQ_MC_D32F32C30_TRC_WRA_01() 184 pBiquadState->pDelays[NrChannels * 3 + jj] = in BQ_MC_D32F32C30_TRC_WRA_01() 185 pBiquadState->pDelays[NrChannels * 2 + jj]; /* y(n-2)=y(n-1)*/ in BQ_MC_D32F32C30_TRC_WRA_01() 186 pBiquadState->pDelays[NrChannels * 1 + jj] = in BQ_MC_D32F32C30_TRC_WRA_01() 188 pBiquadState->pDelays[NrChannels * 2 + jj] = (LVM_FLOAT)yn; /* Update y(n-1)*/ in BQ_MC_D32F32C30_TRC_WRA_01()
|
D | LVC_MixSoft_2St_D16C31_SAT.cpp | 94 LVM_INT16 NrChannels) in LVC_MixSoft_2Mc_D16C31_SAT() argument 108 src2, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT() 112 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT() 118 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT() 120 src2, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT() 128 src1, src2, dst, NrFrames * NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
|
D | LVC_Mixer_Private.h | 58 LVM_INT16 NrChannels); 69 LVM_INT16 NrChannels); 89 LVM_INT16 NrChannels); 108 LVM_INT16 NrChannels);
|
D | LVC_Mixer.h | 96 LVM_INT16 NrChannels); 108 LVM_INT16 NrChannels); 122 LVM_INT16 NrChannels); 135 LVM_INT32 NrChannels,
|
D | LVC_MixSoft_1St_D16C31_SAT.cpp | 127 LVM_INT16 NrChannels) in LVC_MixSoft_Mc_D16C31_SAT() argument 157 NrChannels); in LVC_MixSoft_Mc_D16C31_SAT() 167 LoadConst_Float(0.0, dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT() 170 Mult3s_Float(src, (pInstance->Target), dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT() 172 Copy_Float(src, dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
|
D | From2iToMono_32.cpp | 91 LVM_INT16 NrChannels) in FromMcToMono_Float() argument 99 for (jj = NrChannels; jj !=0; jj--) in FromMcToMono_Float() 104 *dst = Temp / NrChannels; in FromMcToMono_Float()
|
D | LVC_Core_MixSoft_1St_D16C31_WRA.cpp | 130 LVM_INT16 NrChannels) in LVC_Core_MixSoft_Mc_D16C31_WRA() argument 164 for (jj = NrChannels; jj !=0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA() 183 for (jj = NrChannels; jj != 0 ; jj--) in LVC_Core_MixSoft_Mc_D16C31_WRA() 197 for (jj = NrChannels; jj !=0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA() 208 for (jj = NrChannels; jj != 0 ; jj--) in LVC_Core_MixSoft_Mc_D16C31_WRA()
|
D | LVC_Core_MixInSoft_D16C31_SAT.cpp | 138 LVM_INT16 NrChannels) in LVC_Core_MixInSoft_Mc_D16C31_SAT() argument 166 for (ii = OutLoop*NrChannels; ii != 0; ii--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT() 183 for (jj = NrChannels; jj != 0 ; jj--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT() 209 for (ii = OutLoop*NrChannels; ii != 0; ii--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT() 225 for (jj = NrChannels; jj != 0 ; jj--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
|
D | LVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp | 153 LVM_INT16 NrChannels) in LVC_Core_MixSoft_1St_MC_float_WRA() argument 157 LVM_FLOAT tempCurrent[NrChannels]; in LVC_Core_MixSoft_1St_MC_float_WRA() 158 for (ch = 0; ch < NrChannels; ch++) in LVC_Core_MixSoft_1St_MC_float_WRA() 164 for (ch = 0; ch < NrChannels; ch++) in LVC_Core_MixSoft_1St_MC_float_WRA() 187 for (ch = 0; ch < NrChannels; ch++) in LVC_Core_MixSoft_1St_MC_float_WRA()
|
D | LVC_MixSoft_1St_2i_D16C31_SAT.cpp | 49 LVM_INT32 NrChannels, in LVC_MixSoft_1St_MC_float_SAT() argument 61 Mix_Private_FLOAT_st *pInstance[NrChannels]; in LVC_MixSoft_1St_MC_float_SAT() 70 for (int i = 2; i < NrChannels; i++) in LVC_MixSoft_1St_MC_float_SAT() 169 src, dst, NrFrames, NrChannels); in LVC_MixSoft_1St_MC_float_SAT() 183 Copy_Float(src, dst, NrFrames*NrChannels); in LVC_MixSoft_1St_MC_float_SAT() 189 src, dst, NrFrames, NrChannels); in LVC_MixSoft_1St_MC_float_SAT()
|
D | LVC_MixInSoft_D16C31_SAT.cpp | 130 LVM_INT16 NrChannels) in LVC_MixInSoft_Mc_D16C31_SAT() argument 160 NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT() 171 Add2_Sat_Float(src, dst, NrFrames*NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT() 177 NrFrames * NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT()
|
D | FO_2I_D16F32C15_LShx_TRC_WRA_01.cpp | 142 LVM_INT16 NrChannels) in FO_Mc_D16F32C15_LShx_TRC_WRA_01() argument 162 for (ch = 0; ch < NrChannels; ch++) in FO_Mc_D16F32C15_LShx_TRC_WRA_01() 195 pDelays -= NrChannels * 2; in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
|
D | LVC_Core_MixHard_1St_2i_D16C31_SAT.cpp | 64 LVM_INT16 NrChannels) in LVC_Core_MixHard_1St_MC_float_SAT() argument 70 for (jj = 0; jj < NrChannels; jj++) in LVC_Core_MixHard_1St_MC_float_SAT()
|
D | DC_2I_D16_TRC_WRA_01.cpp | 86 LVM_INT16 NrChannels) in DC_Mc_D16_TRC_WRA_01() argument 98 for (i = NrChannels - 1; i >= 0; i--) in DC_Mc_D16_TRC_WRA_01()
|
D | AGC_MIX_VOL_2St1Mon_D32_WRA.cpp | 217 LVM_UINT16 NrChannels) in AGC_MIX_VOL_Mc1Mon_D32_WRA() argument 259 for (jj = 0; jj < NrChannels; jj++) in AGC_MIX_VOL_Mc1Mon_D32_WRA()
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Process.cpp | 86 const LVM_INT32 NrChannels = pInstance->Params.NrChannels == 1 in LVDBE_Process() local 87 ? 2 : pInstance->Params.NrChannels; in LVDBE_Process() 89 const LVM_INT32 NrChannels = 2; // FCC_2 in LVDBE_Process() local 91 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVDBE_Process() 144 (LVM_INT16)NrChannels); in LVDBE_Process() 160 (LVM_INT16)NrChannels); in LVDBE_Process() 184 NrChannels); /* Number of channels */ in LVDBE_Process() 221 (LVM_INT16)NrChannels); in LVDBE_Process() 242 (LVM_INT16)NrChannels); in LVDBE_Process()
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Process.cpp | 68 LVM_INT32 NrChannels = pInstance->NrChannels; in LVM_Process() local 119 NrChannels = pInstance->NrChannels; in LVM_Process() 140 NrChannels = 2; in LVM_Process() 187 NrChannels); in LVM_Process() 230 (LVM_INT16)(NrChannels * NrFrames)); /* Copy all samples */ in LVM_Process() 251 (LVM_INT16)NrChannels); in LVM_Process() 268 NrChannels, in LVM_Process() 290 NrChannels); in LVM_Process() 311 NrChannels); in LVM_Process()
|
D | LVM_Buffers.cpp | 66 LVM_INT16 NumChannels = pInstance->NrChannels; in LVM_BufferManagedIn() 392 LVM_INT32 NrChannels = pInstance->NrChannels; in LVM_BufferManagedOut() local 433 (LVM_INT16)(NrChannels * pBuffer->OutDelaySamples)); in LVM_BufferManagedOut() 444 pDest += NrChannels * pBuffer->OutDelaySamples; /* Output sample pointer */ in LVM_BufferManagedOut() 460 (LVM_INT16)(NrChannels * NrFrames)); /* Number of delay samples */ in LVM_BufferManagedOut() 471 pDest += NrChannels * NrFrames; /* Output sample pointer */ in LVM_BufferManagedOut() 482 Copy_Float(&pBuffer->OutDelayBuffer[NrChannels * NrFrames], /* Source */ in LVM_BufferManagedOut() 485 (LVM_INT16)(NrChannels * pBuffer->OutDelaySamples)); in LVM_BufferManagedOut() 509 (LVM_INT16)(NrChannels * FrameCount)); /* Number of processed samples */ in LVM_BufferManagedOut() 519 pDest += NrChannels * FrameCount; /* Output sample pointer */ in LVM_BufferManagedOut() [all …]
|
D | LVM_Control.cpp | 87 pInstance->Params.NrChannels = pParams->NrChannels; in LVM_SetControlParameters() 532 pInstance->NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings() 642 DBE_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings() 707 EQNB_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings() 790 CS_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Process.cpp | 70 const LVM_INT32 NrChannels = pInstance->Params.NrChannels == 1 in LVEQNB_Process() local 71 ? 2 : pInstance->Params.NrChannels; in LVEQNB_Process() 73 const LVM_INT32 NrChannels = 2; // FCC_2 in LVEQNB_Process() local 75 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVEQNB_Process() 137 (LVM_INT16)NrChannels); in LVEQNB_Process() 160 (LVM_INT16)NrChannels); in LVEQNB_Process()
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | VectorArithmetic.h | 38 LVM_INT32 NrChannels); 43 LVM_INT32 NrChannels); 117 LVM_INT16 NrChannels);
|
D | BIQUAD.h | 193 LVM_INT16 NrChannels); 231 LVM_INT16 NrChannels); 274 LVM_INT16 NrChannels); 289 LVM_INT16 NrChannels);
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 670 params.NrChannels = in LvmBundle_init() 729 const LVM_INT32 NrChannels = in LvmBundle_process() local 740 (effect_buffer_t *)calloc(frameCount, sizeof(effect_buffer_t) * NrChannels); in LvmBundle_process() 764 for (int i = 0; i < frameCount * NrChannels; i++) { in LvmBundle_process() 1102 const LVM_INT16 NrChannels = audio_channel_count_from_out_mask(pConfig->inputCfg.channels); in Effect_setConfig() local 1107 pContext->pBundledContext->SamplesPerSecond = 8000 * NrChannels; in Effect_setConfig() 1111 pContext->pBundledContext->SamplesPerSecond = 16000 * NrChannels; in Effect_setConfig() 1115 pContext->pBundledContext->SamplesPerSecond = 22050 * NrChannels; in Effect_setConfig() 1119 pContext->pBundledContext->SamplesPerSecond = 32000 * NrChannels; in Effect_setConfig() 1123 pContext->pBundledContext->SamplesPerSecond = 44100 * NrChannels; in Effect_setConfig() [all …]
|