Home
last modified time | relevance | path

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

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DCopy_16.cpp31 LVM_INT32 NrChannels) { in Copy_Float_Mc_Stereo() argument
34 if (NrChannels >= 2) { in Copy_Float_Mc_Stereo()
39 src += NrChannels; in Copy_Float_Mc_Stereo()
41 } else if (NrChannels == 1) { // not expected to occur, provided for completeness. in Copy_Float_Mc_Stereo()
56 LVM_INT32 NrChannels) { in Copy_Float_Stereo_Mc() argument
59 if (NrChannels >= FCC_2) { in Copy_Float_Stereo_Mc()
63 dst += NrChannels * (NrFrames - 1); in Copy_Float_Stereo_Mc()
64 src += NrChannels * (NrFrames - 1); in Copy_Float_Stereo_Mc()
69 for (jj = FCC_2; jj < NrChannels; jj++) { in Copy_Float_Stereo_Mc()
72 dst -= NrChannels; in Copy_Float_Stereo_Mc()
[all …]
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp29 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixSoft_1St_MC_float_WRA() argument
31 LVM_FLOAT tempCurrent[NrChannels]; in LVC_Core_MixSoft_1St_MC_float_WRA()
32 for (ch = 0; ch < NrChannels; ch++) { in LVC_Core_MixSoft_1St_MC_float_WRA()
36 for (ch = 0; ch < NrChannels; ch++) { in LVC_Core_MixSoft_1St_MC_float_WRA()
52 for (ch = 0; ch < NrChannels; ch++) { in LVC_Core_MixSoft_1St_MC_float_WRA()
DLVC_MixSoft_2St_D16C31_SAT.cpp81 LVM_INT16 NrChannels) { in LVC_MixSoft_2Mc_D16C31_SAT() argument
94 NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
97 NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
101 NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
103 dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
109 src1, src2, dst, NrFrames * NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
DLVC_MixSoft_1St_2i_D16C31_SAT.cpp45 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT32 NrChannels, in LVC_MixSoft_1St_MC_float_SAT() argument
56 Mix_Private_FLOAT_st* pInstance[NrChannels]; in LVC_MixSoft_1St_MC_float_SAT()
59 int loopLimit = (NrChannels == FCC_1) ? NrChannels : FCC_2; in LVC_MixSoft_1St_MC_float_SAT()
63 for (int i = loopLimit; i < NrChannels; i++) { in LVC_MixSoft_1St_MC_float_SAT()
143 LVC_Core_MixSoft_1St_MC_float_WRA(&pInstance[0], src, dst, NrFrames, NrChannels); in LVC_MixSoft_1St_MC_float_SAT()
154 Copy_Float(src, dst, NrFrames * NrChannels); in LVC_MixSoft_1St_MC_float_SAT()
157 LVC_Core_MixHard_1St_MC_float_SAT(&(pInstance[0]), src, dst, NrFrames, NrChannels); in LVC_MixSoft_1St_MC_float_SAT()
DLVC_Mixer_Private.h51 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels);
55 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels);
67 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels);
76 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels);
DFrom2iToMono_32.cpp59 LVM_INT16 NrChannels) { in FromMcToMono_Float() argument
65 for (jj = NrChannels; jj != 0; jj--) { in FromMcToMono_Float()
69 *dst = Temp / NrChannels; in FromMcToMono_Float()
DLVC_Mixer.h80 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels);
85 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels);
94 LVM_INT16 NrFrames, LVM_INT16 NrChannels);
103 LVM_INT16 NrFrames, LVM_INT32 NrChannels, LVM_INT32 ChMask);
DLVC_MixSoft_1St_D16C31_SAT.cpp119 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_MixSoft_Mc_D16C31_SAT() argument
144 NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
154 memset(dst, 0, NrFrames * NrChannels * sizeof(*dst)); in LVC_MixSoft_Mc_D16C31_SAT()
157 Mult3s_Float(src, (pInstance->Target), dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
159 Copy_Float(src, dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
DLVC_Core_MixInSoft_D16C31_SAT.cpp105 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixInSoft_Mc_D16C31_SAT() argument
130 for (ii = OutLoop * NrChannels; ii != 0; ii--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
141 for (jj = NrChannels; jj != 0; jj--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
154 for (ii = OutLoop * NrChannels; ii != 0; ii--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
164 for (jj = NrChannels; jj != 0; jj--) { in LVC_Core_MixInSoft_Mc_D16C31_SAT()
DLVC_Core_MixSoft_1St_D16C31_WRA.cpp102 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixSoft_Mc_D16C31_WRA() argument
126 for (jj = NrChannels; jj != 0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA()
136 for (jj = NrChannels; jj != 0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA()
147 for (jj = NrChannels; jj != 0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA()
157 for (jj = NrChannels; jj != 0; jj--) { in LVC_Core_MixSoft_Mc_D16C31_WRA()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.cpp26 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixHard_1St_MC_float_SAT() argument
30 for (jj = 0; jj < NrChannels; jj++) { in LVC_Core_MixHard_1St_MC_float_SAT()
DLVC_MixInSoft_D16C31_SAT.cpp120 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_MixInSoft_Mc_D16C31_SAT() argument
145 NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT()
156 Add2_Sat_Float(src, dst, NrFrames * NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT()
158 Mac3s_Sat_Float(src, (pInstance->Target), dst, NrFrames * NrChannels); in LVC_MixInSoft_Mc_D16C31_SAT()
DDC_2I_D16_TRC_WRA_01.cpp39 LVM_FLOAT* pDataOut, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in DC_Mc_D16_TRC_WRA_01() argument
49 for (i = NrChannels - 1; i >= 0; i--) { in DC_Mc_D16_TRC_WRA_01()
DDelayMix_16x16.cpp30 LVM_INT32 NrChannels) /* Number of channels */ in DelayMix_Float() argument
37 if (NrChannels == FCC_1) { in DelayMix_Float()
DAGC_MIX_VOL_2St1Mon_D32_WRA.cpp75 LVM_UINT16 NrChannels) { in AGC_MIX_VOL_Mc1Mon_D32_WRA() argument
114 for (jj = 0; jj < NrChannels; jj++) { in AGC_MIX_VOL_Mc1Mon_D32_WRA()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.cpp60 LVM_INT16 NumChannels = pInstance->NrChannels; in LVM_BufferManagedIn()
342 LVM_INT32 NrChannels = pInstance->NrChannels; in LVM_BufferManagedOut() local
376 (LVM_INT16)(NrChannels * pBuffer->OutDelaySamples)); in LVM_BufferManagedOut()
381 pDest += NrChannels * pBuffer->OutDelaySamples; /* Output sample pointer */ in LVM_BufferManagedOut()
391 (LVM_INT16)(NrChannels * NrFrames)); /* Number of delay samples */ in LVM_BufferManagedOut()
396 pDest += NrChannels * NrFrames; /* Output sample pointer */ in LVM_BufferManagedOut()
403 Copy_Float(&pBuffer->OutDelayBuffer[NrChannels * NrFrames], /* Source */ in LVM_BufferManagedOut()
406 (LVM_INT16)(NrChannels * pBuffer->OutDelaySamples)); in LVM_BufferManagedOut()
421 (LVM_INT16)(NrChannels * FrameCount)); /* Number of processed samples */ in LVM_BufferManagedOut()
425 pDest += NrChannels * FrameCount; /* Output sample pointer */ in LVM_BufferManagedOut()
[all …]
DLVM_Process.cpp63 LVM_INT32 NrChannels = pInstance->NrChannels; in LVM_Process() local
106 NrChannels = pInstance->NrChannels; in LVM_Process()
142 (LVM_INT16)(NrFrames), NrChannels); in LVM_Process()
182 for (auto i = 0; i < NrChannels * NrFrames; i++) { in LVM_Process()
190 NrFrames, NrChannels, ChMask); in LVM_Process()
198 NrChannels); in LVM_Process()
208 (LVM_INT16)NrFrames, NrChannels); in LVM_Process()
DLVM_Control.cpp78 pInstance->Params.NrChannels = pParams->NrChannels; in LVM_SetControlParameters()
286 new android::audio_utils::BiquadFilter<LVM_FLOAT>(pParams->NrChannels, coefs)); in LVM_SetTrebleBoost()
468 pInstance->NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
564 DBE_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
617 EQNB_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
680 CS_Params.NrChannels = LocalParams.NrChannels; in LVM_ApplyNewSettings()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.cpp82 const LVM_INT32 NrChannels = pInstance->Params.NrChannels; in LVDBE_Process() local
83 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVDBE_Process()
134 (LVM_INT16)NrChannels); in LVDBE_Process()
149 NrChannels); /* Number of channels */ in LVDBE_Process()
164 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVDBE_Process()
174 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVDBE_Process()
DLVDBE_Control.cpp280 if (pInstance->Params.NrChannels != pParams->NrChannels) { in LVDBE_Control()
282 new android::audio_utils::BiquadFilter<LVM_FLOAT>(pParams->NrChannels)); in LVDBE_Control()
288 (pInstance->Params.NrChannels != pParams->NrChannels) || in LVDBE_Control()
DLVDBE_Init.cpp82 pInstance->Params.NrChannels = FCC_2; in LVDBE_Init()
95 new android::audio_utils::BiquadFilter<LVM_FLOAT>(pInstance->Params.NrChannels)); in LVDBE_Init()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Process.cpp65 const LVM_INT32 NrChannels = pInstance->Params.NrChannels; in LVEQNB_Process() local
66 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVEQNB_Process()
126 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVEQNB_Process()
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h29 LVM_INT32 NrChannels);
31 LVM_INT16 NrFrames, LVM_INT32 NrChannels);
41 LVM_INT32 NrChannels); /* Number of channels */
55 LVM_INT16 NrChannels);
DAGC.h56 LVM_UINT16 NrChannels); /* Number of channels */
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_ReverbGenerator.cpp82 (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()
155 LVM_INT32 NumChannels = pInstance->Params.NrChannels; in LVCS_ReverbGenerator()
157 (pInstance->Params.NrChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_ReverbGenerator()

12