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.c92 LVM_INT32 NrChannels) in Copy_Float_Mc_Stereo() argument
96 if (NrChannels >= 2) in Copy_Float_Mc_Stereo()
103 src += NrChannels; in Copy_Float_Mc_Stereo()
106 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.c143 LVM_INT16 NrChannels) in PK_Mc_D32F32C14G11_TRC_WRA_01() argument
152 for (jj = 0; jj < NrChannels; jj++) in PK_Mc_D32F32C14G11_TRC_WRA_01()
158 temp = (*pDataIn) - pBiquadState->pDelays[NrChannels + jj]; in PK_Mc_D32F32C14G11_TRC_WRA_01()
162 temp = pBiquadState->pDelays[NrChannels*3 + jj] * pBiquadState->coefs[1]; in PK_Mc_D32F32C14G11_TRC_WRA_01()
166 temp = pBiquadState->pDelays[NrChannels*2 + jj] * pBiquadState->coefs[2]; in PK_Mc_D32F32C14G11_TRC_WRA_01()
178 pBiquadState->pDelays[NrChannels * 3 + jj] = in PK_Mc_D32F32C14G11_TRC_WRA_01()
179 pBiquadState->pDelays[NrChannels * 2 + jj]; /* y(n-2)=y(n-1)*/ in PK_Mc_D32F32C14G11_TRC_WRA_01()
180 pBiquadState->pDelays[NrChannels * 1 + jj] = in PK_Mc_D32F32C14G11_TRC_WRA_01()
182 pBiquadState->pDelays[NrChannels * 2 + jj] = yn; /* Update y(n-1) */ in PK_Mc_D32F32C14G11_TRC_WRA_01()
DBQ_2I_D32F32C30_TRC_WRA_01.c152 LVM_INT16 NrChannels) in BQ_MC_D32F32C30_TRC_WRA_01() argument
165 for (jj = 0; jj < NrChannels; jj++) in BQ_MC_D32F32C30_TRC_WRA_01()
168 yn = pBiquadState->coefs[0] * pBiquadState->pDelays[NrChannels + jj]; in BQ_MC_D32F32C30_TRC_WRA_01()
179 temp = pBiquadState->coefs[3] * pBiquadState->pDelays[NrChannels*3 + jj]; in BQ_MC_D32F32C30_TRC_WRA_01()
183 temp = pBiquadState->coefs[4] * pBiquadState->pDelays[NrChannels*2 + jj]; in BQ_MC_D32F32C30_TRC_WRA_01()
189 pBiquadState->pDelays[NrChannels * 3 + jj] = in BQ_MC_D32F32C30_TRC_WRA_01()
190 pBiquadState->pDelays[NrChannels * 2 + jj]; /* y(n-2)=y(n-1)*/ in BQ_MC_D32F32C30_TRC_WRA_01()
191 pBiquadState->pDelays[NrChannels * 1 + jj] = in BQ_MC_D32F32C30_TRC_WRA_01()
193 pBiquadState->pDelays[NrChannels * 2 + jj] = (LVM_FLOAT)yn; /* Update y(n-1)*/ in BQ_MC_D32F32C30_TRC_WRA_01()
DLVC_MixSoft_2St_D16C31_SAT.c95 LVM_INT16 NrChannels) in LVC_MixSoft_2Mc_D16C31_SAT() argument
109 src2, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
113 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
119 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
121 src2, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
129 src1, src2, dst, NrFrames * NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
DFrom2iToMono_32.c92 LVM_INT16 NrChannels) in FromMcToMono_Float() argument
100 for (jj = NrChannels; jj !=0; jj--) in FromMcToMono_Float()
105 *dst = Temp / NrChannels; in FromMcToMono_Float()
DLVC_Mixer_Private.h70 LVM_INT16 NrChannels);
88 LVM_INT16 NrChannels);
124 LVM_INT16 NrChannels);
151 LVM_INT16 NrChannels);
DLVC_Mixer.h169 LVM_INT16 NrChannels);
189 LVM_INT16 NrChannels);
211 LVM_INT16 NrChannels);
232 LVM_INT32 NrChannels,
DLVC_MixSoft_1St_D16C31_SAT.c128 LVM_INT16 NrChannels) in LVC_MixSoft_Mc_D16C31_SAT() argument
158 NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
168 LoadConst_Float(0.0, dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
171 Mult3s_Float(src, (pInstance->Target), dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
173 Copy_Float(src, dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
DLVC_Core_MixSoft_1St_D16C31_WRA.c132 LVM_INT16 NrChannels) in LVC_Core_MixSoft_Mc_D16C31_WRA() argument
166 for (jj = NrChannels; jj !=0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA()
185 for (jj = NrChannels; jj != 0 ; jj--) in LVC_Core_MixSoft_Mc_D16C31_WRA()
199 for (jj = NrChannels; jj !=0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA()
210 for (jj = NrChannels; jj != 0 ; jj--) in LVC_Core_MixSoft_Mc_D16C31_WRA()
DLVC_Core_MixInSoft_D16C31_SAT.c139 LVM_INT16 NrChannels) in LVC_Core_MixInSoft_Mc_D16C31_SAT() argument
167 for (ii = OutLoop*NrChannels; ii != 0; ii--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
184 for (jj = NrChannels; jj != 0 ; jj--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
210 for (ii = OutLoop*NrChannels; ii != 0; ii--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
226 for (jj = NrChannels; jj != 0 ; jj--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
DLVC_MixSoft_1St_2i_D16C31_SAT.c50 LVM_INT32 NrChannels, in LVC_MixSoft_1St_MC_float_SAT() argument
62 Mix_Private_FLOAT_st *pInstance[NrChannels]; in LVC_MixSoft_1St_MC_float_SAT()
71 for (int i = 2; i < NrChannels; i++) in LVC_MixSoft_1St_MC_float_SAT()
170 src, dst, NrFrames, NrChannels); in LVC_MixSoft_1St_MC_float_SAT()
184 Copy_Float(src, dst, NrFrames*NrChannels); in LVC_MixSoft_1St_MC_float_SAT()
190 src, dst, NrFrames, NrChannels); in LVC_MixSoft_1St_MC_float_SAT()
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.c154 LVM_INT16 NrChannels) in LVC_Core_MixSoft_1St_MC_float_WRA() argument
158 LVM_FLOAT tempCurrent[NrChannels]; in LVC_Core_MixSoft_1St_MC_float_WRA()
159 for (ch = 0; ch < NrChannels; ch++) in LVC_Core_MixSoft_1St_MC_float_WRA()
165 for (ch = 0; ch < NrChannels; ch++) in LVC_Core_MixSoft_1St_MC_float_WRA()
188 for (ch = 0; ch < NrChannels; ch++) in LVC_Core_MixSoft_1St_MC_float_WRA()
DLVC_MixInSoft_D16C31_SAT.c134 LVM_INT16 NrChannels) in LVC_MixInSoft_Mc_D16C31_SAT() argument
164 NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT()
175 Add2_Sat_Float(src, dst, NrFrames*NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT()
181 NrFrames * NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT()
DFO_2I_D16F32C15_LShx_TRC_WRA_01.c146 LVM_INT16 NrChannels) in FO_Mc_D16F32C15_LShx_TRC_WRA_01() argument
169 for (ch = 0; ch < NrChannels; ch++) in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
203 pDelays -= NrChannels * 2; in FO_Mc_D16F32C15_LShx_TRC_WRA_01()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.c67 LVM_INT16 NrChannels) in LVC_Core_MixHard_1St_MC_float_SAT() argument
73 for (jj = 0; jj < NrChannels; jj++) in LVC_Core_MixHard_1St_MC_float_SAT()
DDC_2I_D16_TRC_WRA_01.c89 LVM_INT16 NrChannels) in DC_Mc_D16_TRC_WRA_01() argument
101 for (i = NrChannels - 1; i >= 0; i--) in DC_Mc_D16_TRC_WRA_01()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.c199 const LVM_INT32 NrChannels = pInstance->Params.NrChannels == 1 in LVDBE_Process() local
200 ? 2 : pInstance->Params.NrChannels; in LVDBE_Process()
202 const LVM_INT32 NrChannels = 2; // FCC_2 in LVDBE_Process() local
204 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVDBE_Process()
257 (LVM_INT16)NrChannels); in LVDBE_Process()
273 (LVM_INT16)NrChannels); in LVDBE_Process()
297 NrChannels); /* Number of channels */ in LVDBE_Process()
334 (LVM_INT16)NrChannels); in LVDBE_Process()
355 (LVM_INT16)NrChannels); in LVDBE_Process()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Process.c70 LVM_INT32 NrChannels = pInstance->NrChannels; in LVM_Process() local
123 NrChannels = pInstance->NrChannels; in LVM_Process()
145 NrChannels = 2; in LVM_Process()
193 NrChannels); in LVM_Process()
236 (LVM_INT16)(NrChannels * NrFrames)); /* Copy all samples */ in LVM_Process()
257 (LVM_INT16)NrChannels); in LVM_Process()
274 NrChannels, in LVM_Process()
296 NrChannels); in LVM_Process()
317 NrChannels); in LVM_Process()
DLVM_Buffers.c68 LVM_INT16 NumChannels = pInstance->NrChannels; in LVM_BufferManagedIn()
758 LVM_INT32 NrChannels = pInstance->NrChannels; in LVM_BufferManagedOut() local
800 (LVM_INT16)(NrChannels * pBuffer->OutDelaySamples)); in LVM_BufferManagedOut()
811 pDest += NrChannels * pBuffer->OutDelaySamples; /* Output sample pointer */ in LVM_BufferManagedOut()
827 (LVM_INT16)(NrChannels * NrFrames)); /* Number of delay samples */ in LVM_BufferManagedOut()
838 pDest += NrChannels * NrFrames; /* Output sample pointer */ in LVM_BufferManagedOut()
849 Copy_Float(&pBuffer->OutDelayBuffer[NrChannels * NrFrames], /* Source */ in LVM_BufferManagedOut()
852 (LVM_INT16)(NrChannels * pBuffer->OutDelaySamples)); in LVM_BufferManagedOut()
877 (LVM_INT16)(NrChannels * FrameCount)); /* Number of processed samples */ in LVM_BufferManagedOut()
887 pDest += NrChannels * FrameCount; /* Output sample pointer */ in LVM_BufferManagedOut()
[all …]
DLVM_Control.c95 pInstance->Params.NrChannels = pParams->NrChannels; in LVM_SetControlParameters()
587 pInstance->NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
742 DBE_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
810 EQNB_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
895 CS_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Process.c71 const LVM_INT32 NrChannels = pInstance->Params.NrChannels == 1 in LVEQNB_Process() local
72 ? 2 : pInstance->Params.NrChannels; in LVEQNB_Process()
74 const LVM_INT32 NrChannels = 2; // FCC_2 in LVEQNB_Process() local
76 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVEQNB_Process()
139 (LVM_INT16)NrChannels); in LVEQNB_Process()
163 (LVM_INT16)NrChannels); in LVEQNB_Process()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp702 params.NrChannels = in LvmBundle_init()
762 const LVM_INT32 NrChannels = in LvmBundle_process() local
769 (LVM_FLOAT *)calloc(frameCount, sizeof(LVM_FLOAT) * NrChannels); in LvmBundle_process()
776 (LVM_FLOAT *)calloc(frameCount, sizeof(LVM_FLOAT) * NrChannels); in LvmBundle_process()
797 (effect_buffer_t *)calloc(frameCount, sizeof(effect_buffer_t) * NrChannels); in LvmBundle_process()
811 frameCount * sizeof(effect_buffer_t) * NrChannels, in LvmBundle_process()
819 memcpy_to_float_from_i16(pInputBuff, pIn, frameCount * NrChannels); in LvmBundle_process()
829 memcpy_to_i16_from_float(pOutTmp, pOutputBuff, frameCount * NrChannels); in LvmBundle_process()
844 frameCount * sizeof(effect_buffer_t) * NrChannels, in LvmBundle_process()
851 for (int i = 0; i < frameCount * NrChannels; i++) { in LvmBundle_process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h54 LVM_INT32 NrChannels);
58 LVM_INT32 NrChannels);
198 LVM_INT16 NrChannels);
DBIQUAD.h393 LVM_INT16 NrChannels);
468 LVM_INT16 NrChannels);
568 LVM_INT16 NrChannels);
590 LVM_INT16 NrChannels);
DAGC.h87 LVM_UINT16 NrChannels); /* Number of channels */

12