Home
last modified time | relevance | path

Searched refs:NrFrames (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DCopy_16.cpp30 LVM_INT16 NrFrames, /* Number of frames */ in Copy_Float_Mc_Stereo() argument
35 for (ii = NrFrames; ii != 0; ii--) { in Copy_Float_Mc_Stereo()
42 src += (NrFrames - 1); in Copy_Float_Mc_Stereo()
43 dst += 2 * (NrFrames - 1); in Copy_Float_Mc_Stereo()
44 for (ii = NrFrames; ii != 0; ii--) { in Copy_Float_Mc_Stereo()
55 LVM_INT16 NrFrames, /* Number of frames*/ in Copy_Float_Stereo_Mc() argument
62 StereoOut += 2 * (NrFrames - 1); 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()
66 for (ii = NrFrames; ii != 0; ii--) { in Copy_Float_Stereo_Mc()
[all …]
DLVC_MixSoft_2St_D16C31_SAT.cpp80 const LVM_FLOAT* src2, LVM_FLOAT* dst, LVM_INT16 NrFrames, in LVC_MixSoft_2Mc_D16C31_SAT() argument
87 if (NrFrames <= 0) return; in LVC_MixSoft_2Mc_D16C31_SAT()
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_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);
DLVC_MixSoft_1St_D16C31_SAT.cpp119 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_MixSoft_Mc_D16C31_SAT() argument
125 if (NrFrames <= 0) return; in LVC_MixSoft_Mc_D16C31_SAT()
143 LVC_Core_MixSoft_Mc_D16C31_WRA(&(ptrInstance->MixerStream[0]), src, dst, NrFrames, 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_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_MixInSoft_D16C31_SAT.cpp120 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_MixInSoft_Mc_D16C31_SAT() argument
126 if (NrFrames <= 0) return; in LVC_MixInSoft_Mc_D16C31_SAT()
144 LVC_Core_MixInSoft_Mc_D16C31_SAT(&(ptrInstance->MixerStream[0]), src, dst, NrFrames, 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()
DLVC_MixSoft_1St_2i_D16C31_SAT.cpp45 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT32 NrChannels, in LVC_MixSoft_1St_MC_float_SAT() argument
109 if (NrFrames <= 0) return; 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_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
29 for (ii = NrFrames; ii != 0; ii--) { in LVC_Core_MixHard_1St_MC_float_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
47 for (j = NrFrames - 1; j >= 0; j--) { in DC_Mc_D16_TRC_WRA_01()
DFrom2iToMono_32.cpp58 void FromMcToMono_Float(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 NrFrames, in FromMcToMono_Float() argument
63 for (ii = NrFrames; ii != 0; ii--) { in FromMcToMono_Float()
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
35 for (ii = NrFrames; ii > 0; ii--) { in LVC_Core_MixSoft_1St_MC_float_WRA()
DLVC_Core_MixSoft_1St_D16C31_WRA.cpp102 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixSoft_Mc_D16C31_WRA() argument
116 InLoop = (LVM_INT16)(NrFrames >> 1); in LVC_Core_MixSoft_Mc_D16C31_WRA()
118 OutLoop = (LVM_INT16)(NrFrames - (InLoop << 1)); in LVC_Core_MixSoft_Mc_D16C31_WRA()
DLVC_Core_MixInSoft_D16C31_SAT.cpp105 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixInSoft_Mc_D16C31_SAT() argument
120 InLoop = (LVM_INT16)(NrFrames >> 1); in LVC_Core_MixInSoft_Mc_D16C31_SAT()
122 OutLoop = (LVM_INT16)(NrFrames - (InLoop << 1)); in LVC_Core_MixInSoft_Mc_D16C31_SAT()
DAGC_MIX_VOL_2St1Mon_D32_WRA.cpp74 const LVM_FLOAT* pMonoSrc, LVM_FLOAT* pDst, LVM_UINT16 NrFrames, in AGC_MIX_VOL_Mc1Mon_D32_WRA() argument
102 for (i = 0; i < NrFrames; i++) /* For each frame */ in AGC_MIX_VOL_Mc1Mon_D32_WRA()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.cpp79 const LVM_UINT16 NrFrames) // updated to use samples = frames * channels. in LVDBE_Process() argument
83 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVDBE_Process()
107 if (NrFrames > pInstance->Capabilities.MaxBlockSize) { in LVDBE_Process()
125 pInstance->pHPFBiquad->process(pScratch, pScratch, NrFrames); in LVDBE_Process()
133 (LVM_INT16)NrFrames, /* Number of frames */ in LVDBE_Process()
139 pInstance->pBPFBiquad->process(pMono, pMono, NrFrames); in LVDBE_Process()
148 NrFrames, /* Number of frames */ in LVDBE_Process()
164 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVDBE_Process()
174 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVDBE_Process()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Process.cpp76 #define NrFrames NumSamples // alias for clarity in LVCS_Process_CS() macro
88 pInput = pScratch + (2 * NrFrames); in LVCS_Process_CS()
89 pStIn = pScratch + ((LVCS_SCRATCHBUFFERS - 2) * NrFrames); in LVCS_Process_CS()
91 Copy_Float((LVM_FLOAT*)pInData, (LVM_FLOAT*)pInput, (LVM_INT16)NrFrames); in LVCS_Process_CS()
92 Copy_Float((LVM_FLOAT*)pInput, (LVM_FLOAT*)pStIn, (LVM_INT16)NrFrames); in LVCS_Process_CS()
97 Copy_Float_Mc_Stereo((LVM_FLOAT*)pInData, (LVM_FLOAT*)pInput, NrFrames, channels); in LVCS_Process_CS()
98 Copy_Float((LVM_FLOAT*)pInput, (LVM_FLOAT*)pStIn, (LVM_INT16)(FCC_2 * NrFrames)); in LVCS_Process_CS()
106 NrFrames); /* Number of frames to process */ in LVCS_Process_CS()
173 #define NrFrames NumSamples // alias for clarity in LVCS_Process() macro
199 pStereoOut = (LVM_FLOAT*)pInstance->pScratch + ((LVCS_SCRATCHBUFFERS - 4) * NrFrames); in LVCS_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Process.cpp65 #define NrFrames SampleCount // alias for clarity in LVM_Process() macro
142 (LVM_INT16)(NrFrames), NrChannels); in LVM_Process()
181 pInstance->pTEBiquad->process(pProcessed, pProcessed, NrFrames); in LVM_Process()
182 for (auto i = 0; i < NrChannels * NrFrames; i++) { in LVM_Process()
190 NrFrames, NrChannels, ChMask); in LVM_Process()
197 FromMcToMono_Float(pProcessed, pInstance->pPSAInput, (LVM_INT16)(NrFrames), in LVM_Process()
208 (LVM_INT16)NrFrames, NrChannels); in LVM_Process()
DLVM_Buffers.cpp343 #define NrFrames NumSamples // alias for clarity in LVM_BufferManagedOut() macro
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()
434 (LVM_INT16)(NrChannels * NrFrames)); /* Number of processed samples */ in LVM_BufferManagedOut()
438 pStart += NrChannels * NrFrames; /* Processed sample pointer */ in LVM_BufferManagedOut()
439 pDest += NrChannels * NrFrames; /* Output sample pointer */ in LVM_BufferManagedOut()
490 #undef NrFrames in LVM_BufferUnmanagedOut()
491 #define NrFrames (*pNumSamples) // alias for clarity in LVM_BufferUnmanagedOut() macro
498 pInstance->pOutputSamples += (LVM_INT16)(NrFrames * NumChannels); in LVM_BufferUnmanagedOut()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Process.cpp63 const LVM_UINT16 NrFrames) { // updated to use samples = frames * channels. in LVEQNB_Process() argument
66 const LVM_INT32 NrSamples = NrChannels * NrFrames; in LVEQNB_Process()
83 if (NrFrames > pInstance->Capabilities.MaxBlockSize) { in LVEQNB_Process()
110 pInstance->eqBiquad[i].process(pTemp, pScratch, NrFrames); in LVEQNB_Process()
126 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVEQNB_Process()
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h28 void Copy_Float_Mc_Stereo(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 NrFrames,
31 LVM_INT16 NrFrames, LVM_INT32 NrChannels);
54 void FromMcToMono_Float(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 NrFrames,
DAGC.h55 LVM_UINT16 NrFrames, /* Number of frames */
DBIQUAD.h84 LVM_FLOAT* pDataOut, LVM_INT16 NrFrames, LVM_INT16 NrChannels);