Home
last modified time | relevance | path

Searched refs:LVM_INT32 (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Tables.cpp289 {(LVM_INT32)0x80CEFD2B,0x00CB9B17},
290 {(LVM_INT32)0x80D242E7,0x00CED11D},
291 {(LVM_INT32)0x80DCBAF5,0x00D91679},
292 {(LVM_INT32)0x80CEFD2B,0x00CB9B17},
293 {(LVM_INT32)0x80E13739,0x00DD7CD3},
294 {(LVM_INT32)0x80DCBAF5,0x00D91679},
295 {(LVM_INT32)0x80D94BAF,0x00D5B7E7},
296 {(LVM_INT32)0x80E13739,0x00DD7CD3},
297 {(LVM_INT32)0x80DCBAF5,0x00D91679}, /* 48kS/s */
300 {(LVM_INT32)0x8587513D,0x055C22CF},
[all …]
DLVPSA_Process.cpp25 static LVM_INT32 mult32x32in32_shiftr(LVM_INT32 a, LVM_INT32 b, LVM_INT32 c) { in mult32x32in32_shiftr()
33 return (LVM_INT32)result; in mult32x32in32_shiftr()
66 LVM_INT32 AudioTimeInc; in LVPSA_Process()
136 (AudioTime + ((LVM_INT32)pLVPSA_Inst->LocalSamplesCount * 1000)), in LVPSA_Process()
137 (LVM_INT32)LVPSA_SampleRateInvTab[pLVPSA_Inst->CurrentParams.Fs], in LVPSA_Process()
173 LVM_INT32 StatusDelta, ii; in LVPSA_GetSpectrum()
193 …2x32INTO32(((pLVPSA_Inst->SpectralDataBufferAudioTime - (LVM_INT32)LVM_MININT_32) + ((LVM_INT32)LV… in LVPSA_GetSpectrum()
194LVM_INT32)(StatusDelta * LVPSA_InternalRefreshTime)) != ((LVM_INT32)((pLVPSA_Inst->SpectralDataBuf… in LVPSA_GetSpectrum()
203 … (((LVM_INT32)(-GetSpectrumAudioTime + pLVPSA_Inst->SpectralDataBufferAudioTime))>LVM_MAXINT_32))|| in LVPSA_GetSpectrum()
209 …(((LVM_INT32)(GetSpectrumAudioTime - pLVPSA_Inst->SpectralDataBufferAudioTime))<LVM_MAXINT_32))))|| in LVPSA_GetSpectrum()
[all …]
DLVPSA_QPD.h25LVM_INT32 *pDelay; /* pointer to the delayed samples (data of 32…
26 LVM_INT32 Coefs[2]; /* pointer to the filter coefficients */
38 LVM_INT32 KP; /*should store a0*/
39 LVM_INT32 KM; /*should store b2*/
52 LVM_INT32 Storage[1];
DLVPSA_Memory.cpp111 LVM_INT32 SDBD=(LVM_INT32)pInitParams->SpectralDataBufferDuration; in LVPSA_Memory()
112 LVM_INT32 IRTI=(LVM_INT32)LVPSA_InternalRefreshTimeInv; in LVPSA_Memory()
113 LVM_INT32 BL; in LVPSA_Memory()
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DLVM_Macros.h32 …{LVM_INT32 MUL32x32INTO32_temp,MUL32x32INTO32_temp2,MUL32x32INTO32_mask,MUL32x32INTO32_HH,MUL32x32…
33 LVM_INT32 shiftValue;\
36 MUL32x32INTO32_HH= ((LVM_INT32)((LVM_INT16)((A)>>16))*((LVM_INT16)((B)>>16)) );\
37 MUL32x32INTO32_HL= ((LVM_INT32)((B)&MUL32x32INTO32_mask)*((LVM_INT16)((A)>>16))) ;\
38 MUL32x32INTO32_LH= ((LVM_INT32)((A)&MUL32x32INTO32_mask)*((LVM_INT16)((B)>>16)));\
39 … MUL32x32INTO32_LL= (LVM_INT32)((A)&MUL32x32INTO32_mask)*(LVM_INT32)((B)&MUL32x32INTO32_mask);\
40 …UL32x32INTO32_temp= (LVM_INT32)(MUL32x32INTO32_HL&MUL32x32INTO32_mask)+(LVM_INT32)(MUL32x32INTO32_…
41 …UL32x32INTO32_HH= MUL32x32INTO32_HH+(LVM_INT32)(MUL32x32INTO32_HL>>16)+(LVM_INT32)(MUL32x32INTO32_…
42 …MUL32x32INTO32_LL=MUL32x32INTO32_LL+(LVM_INT32)(MUL32x32INTO32_HL<<16)+(LVM_INT32)(MUL32x32INTO32_…
46 MUL32x32INTO32_mask=((LVM_INT32)1<<(32-shiftValue))-1;\
[all …]
DVectorArithmetic.h38 LVM_INT32 NrChannels);
43 LVM_INT32 NrChannels);
67 void Mult3s_32x16( const LVM_INT32 *src,
69 LVM_INT32 *dst,
77 void DelayWrite_32( const LVM_INT32 *src, /* Source 1, to be delayed */
78 LVM_INT32 *delay, /* Delay buffer */
89 void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay buffer */
94 LVM_INT32 *dst, /* Source/destination */
137 LVM_INT32 *dst,
141 void Int32RShiftToInt16_Sat_32x16(const LVM_INT32 *src,
DLVM_Timer.h50 LVM_INT32 Storage[9];
56 LVM_INT32 SamplingRate;
58 LVM_INT32 CallBackParam;
61 void (*pCallBack)(void*,void*,LVM_INT32);
DCompLim.h40 LVM_INT32 NormInt; /* Normaliser integrator current value */
51 LVM_INT32 CompIntSlow; /* Compressor slow integrator current value */
52 LVM_INT32 CompIntFast; /* Compressor fast integrator current value */
64 LVM_INT32 BlockLength);
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DAbs_32.cpp33 LVM_INT32 Abs_32(LVM_INT32 input) in Abs_32()
37 if (input == (LVM_INT32)(0x80000000U)) in Abs_32()
40 input=(LVM_INT32) 0x7fffffff; in Abs_32()
45 input = (LVM_INT32)(-input); in Abs_32()
DLVM_Timer_Private.h29 LVM_INT32 RemainingTimeInSamples;
30 LVM_INT32 CallBackParam;
31 LVM_INT32 *pCallBackParams;
33 void (*pCallBack)(void*,void*,LVM_INT32);
DNonLinComp_D16.cpp67 LVM_INT32 BlockLength) in NonLinComp_D16()
71 LVM_INT32 SampleNo; /* Sample index */ in NonLinComp_D16()
91 if ((LVM_INT32)Sample != -32768) in NonLinComp_D16()
116 LVM_INT32 BlockLength) in NonLinComp_Float()
120 LVM_INT32 SampleNo; /* Sample index */ in NonLinComp_Float()
DDelayAllPass_Sat_32x16To32.cpp30 void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay buffer */ in DelayAllPass_Sat_32x16To32()
35 LVM_INT32 *dst, /* Source/destination */ in DelayAllPass_Sat_32x16To32()
40 LVM_INT32 temp; in DelayAllPass_Sat_32x16To32()
41 LVM_INT32 a,b,c; in DelayAllPass_Sat_32x16To32()
Dmult3s_16x16.cpp34 LVM_INT32 temp; in Mult3s_16x16()
38 temp = (LVM_INT32)(*src) * (LVM_INT32)val; in Mult3s_16x16()
DFrom2iToMono_16.cpp33 LVM_INT32 Temp; in From2iToMono_16()
36 Temp = (LVM_INT32)*src; in From2iToMono_16()
39 Temp += (LVM_INT32)*src; in From2iToMono_16()
DAdd2_Sat_16x16.cpp32 LVM_INT32 Temp; in Add2_Sat_16x16()
36 Temp = ((LVM_INT32) *src) + ((LVM_INT32) *dst); in Add2_Sat_16x16()
DDelayMix_16x16.cpp42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
51 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
DMult3s_32x16.cpp29 void Mult3s_32x16( const LVM_INT32 *src, in Mult3s_32x16()
31 LVM_INT32 *dst, in Mult3s_32x16()
35 LVM_INT32 srcval,temp; in Mult3s_32x16()
DJoinTo2i_32x32.cpp28 void JoinTo2i_32x32( const LVM_INT32 *srcL, in JoinTo2i_32x32()
29 const LVM_INT32 *srcR, in JoinTo2i_32x32()
30 LVM_INT32 *dst, in JoinTo2i_32x32()
DAdd2_Sat_32x32.cpp28 void Add2_Sat_32x32( const LVM_INT32 *src, in Add2_Sat_32x32()
29 LVM_INT32 *dst, in Add2_Sat_32x32()
32 LVM_INT32 a,b,c; in Add2_Sat_32x32()
DLVC_Mixer.h76 LVM_INT32 Tc_millisec,
81 LVM_INT32 Tc_millisec,
135 LVM_INT32 NrChannels,
136 LVM_INT32 ChMask);
DFrom2iToMono_32.cpp28 void From2iToMono_32( const LVM_INT32 *src, in From2iToMono_32()
29 LVM_INT32 *dst, in From2iToMono_32()
33 LVM_INT32 Temp; in From2iToMono_32()
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Private.h136 LVM_INT32 RoomSizeInms; /* Room size in msec */
137 LVM_INT32 MaxBlkLen; /* Maximum block size for internal
153 LVM_INT32 T[4]; /* Maximum delay size of buffer */
155 LVM_INT32 Delay_AP[4]; /* Offset to AP delay buffer start */
158 LVM_INT32 A_DelaySize[4]; /* A delay length in samples */
159 LVM_INT32 B_DelaySize[4]; /* B delay length in samples */
185 LVM_INT32 BypassMixer_Callback(void *pCallbackData,
DLVREV_ApplyNewSettings.cpp48 LVM_INT32 NumberOfDelayLines; in LVREV_ApplyNewSettings()
144 LVM_INT32 APDelaySize; in LVREV_ApplyNewSettings()
145 LVM_INT32 Fs = LVM_GetFsFromTable(pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
231 pPrivate->MaxBlkLen = (LVM_INT32)pPrivate->InstanceParams.MaxBlockSize; in LVREV_ApplyNewSettings()
243 LVM_INT32 Temp; in LVREV_ApplyNewSettings()
258 Temp = (LVM_INT32)(ScaleTable[i] * Damping); in LVREV_ApplyNewSettings()
264 if(Temp <= (LVM_INT32)(LVM_FsTable[pPrivate->NewParams.SampleRate] >> 1)) in LVREV_ApplyNewSettings()
381 LVM_INT32 Index=0; in LVREV_ApplyNewSettings()
383 LVM_INT32 i=0; in LVREV_ApplyNewSettings()
385 LVM_INT32 RoomSize=0; in LVREV_ApplyNewSettings()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Private.h186 LVM_INT32 ConfigurationNumber;
187 LVM_INT32 BlickSizeMultiple;
241 LVM_INT32 ChMask;
260 LVM_INT32 LVM_VCCallBack(void* pBundleHandle,
275 LVM_INT32 LVM_AlgoCallBack( void *pBundleHandle,
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Process.cpp79 LVM_INT32 channels = pInstance->Params.NrChannels; in LVCS_Process_CS()
215 LVM_INT32 channels = pInstance->Params.NrChannels; in LVCS_Process()
296 (LVM_INT32)(2 * NrFrames)); in LVCS_Process()
301 (LVM_INT32)(2 * NumSamples)); in LVCS_Process()
357 (LVM_INT32)(2 * LVCS_COMPGAINFRAME)); in LVCS_Process()
366 (LVM_INT32)(2 * SampleToProcess)); in LVCS_Process()

1234