Home
last modified time | relevance | path

Searched refs:NrChannels (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DCopy_16.cpp91 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()
DPK_2I_D32F32C14G11_TRC_WRA_01.cpp140 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()
DBQ_2I_D32F32C30_TRC_WRA_01.cpp148 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()
DLVC_MixSoft_2St_D16C31_SAT.cpp94 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()
DLVC_Mixer_Private.h58 LVM_INT16 NrChannels);
69 LVM_INT16 NrChannels);
89 LVM_INT16 NrChannels);
108 LVM_INT16 NrChannels);
DLVC_Mixer.h96 LVM_INT16 NrChannels);
108 LVM_INT16 NrChannels);
122 LVM_INT16 NrChannels);
135 LVM_INT32 NrChannels,
DLVC_MixSoft_1St_D16C31_SAT.cpp127 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()
DFrom2iToMono_32.cpp91 LVM_INT16 NrChannels) in FromMcToMono_Float() argument
99 for (jj = NrChannels; jj !=0; jj--) in FromMcToMono_Float()
104 *dst = Temp / NrChannels; in FromMcToMono_Float()
DLVC_Core_MixSoft_1St_D16C31_WRA.cpp130 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()
DLVC_Core_MixInSoft_D16C31_SAT.cpp138 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()
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp153 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()
DLVC_MixSoft_1St_2i_D16C31_SAT.cpp49 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()
DLVC_MixInSoft_D16C31_SAT.cpp130 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()
DFO_2I_D16F32C15_LShx_TRC_WRA_01.cpp142 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()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.cpp64 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()
DDC_2I_D16_TRC_WRA_01.cpp86 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()
DAGC_MIX_VOL_2St1Mon_D32_WRA.cpp217 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/
DLVDBE_Process.cpp86 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/
DLVM_Process.cpp68 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()
DLVM_Buffers.cpp66 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 …]
DLVM_Control.cpp87 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/
DLVEQNB_Process.cpp70 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/
DVectorArithmetic.h38 LVM_INT32 NrChannels);
43 LVM_INT32 NrChannels);
117 LVM_INT16 NrChannels);
DBIQUAD.h193 LVM_INT16 NrChannels);
231 LVM_INT16 NrChannels);
274 LVM_INT16 NrChannels);
289 LVM_INT16 NrChannels);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp670 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 …]

12