Home
last modified time | relevance | path

Searched refs:LVM_FLOAT (Results 1 – 25 of 154) sorted by relevance

1234567

/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DBIQUAD.h33 LVM_FLOAT *pStorage;
34 LVM_FLOAT Storage[LVM_MAX_CHANNELS];
36 LVM_FLOAT Storage[6];
46 LVM_FLOAT A2; /* a2 */
47 LVM_FLOAT A1; /* a1 */
48 LVM_FLOAT A0; /* a0 */
49 LVM_FLOAT B2; /* -b2! */
50 LVM_FLOAT B1; /* -b1! */
56 LVM_FLOAT A1; /* a1 */
57 LVM_FLOAT A0; /* a0 */
[all …]
DVectorArithmetic.h27 void LoadConst_Float( const LVM_FLOAT val,
28 LVM_FLOAT *dst,
31 void Copy_Float( const LVM_FLOAT *src,
32 LVM_FLOAT *dst,
35 void Copy_Float_Mc_Stereo( const LVM_FLOAT *src,
36 LVM_FLOAT *dst,
39 void Copy_Float_Stereo_Mc( const LVM_FLOAT *src,
40 LVM_FLOAT *StereoOut,
41 LVM_FLOAT *dst,
54 void Mult3s_Float( const LVM_FLOAT *src,
[all …]
DMixer.h29 LVM_FLOAT Alpha; /* Time constant. Set by calling application. \
31 LVM_FLOAT Target; /* Target value. Set by calling application. \
33 LVM_FLOAT Current; /* Current value. Set by the mixer function. */
43 LVM_FLOAT Alpha1;
44 LVM_FLOAT Target1;
45 LVM_FLOAT Current1;
52 LVM_FLOAT Alpha2; /* Warning the address of this location is passed as a \
54 LVM_FLOAT Target2;
55 LVM_FLOAT Current2;
65 LVM_FLOAT LVM_Mixer_TimeConstant(LVM_UINT32 tc,
[all …]
DAGC.h36 LVM_FLOAT AGC_Gain; /* The current AGC gain */
37 LVM_FLOAT AGC_MaxGain; /* The maximum AGC gain */
38 LVM_FLOAT Volume; /* The current volume setting */
39 LVM_FLOAT Target; /* The target volume setting */
40 LVM_FLOAT AGC_Target; /* AGC target level */
41 LVM_FLOAT AGC_Attack; /* AGC attack scaler */
42 LVM_FLOAT AGC_Decay; /* AGC decay scaler */
43 LVM_FLOAT VolumeTC; /* Volume update time constant */
53 const LVM_FLOAT *pStSrc, /* Stereo source */
54 const LVM_FLOAT *pMonoSrc, /* Mono source */
[all …]
DFilter.h36 LVM_FLOAT LVM_Power10( LVM_FLOAT X);
38 LVM_FLOAT LVM_Polynomial(LVM_UINT16 N,
39 LVM_FLOAT *pCoefficients,
40 LVM_FLOAT X);
41 LVM_FLOAT LVM_GetOmega(LVM_UINT32 Fc,
44 LVM_FLOAT LVM_FO_LPF( LVM_FLOAT w,
47 LVM_FLOAT LVM_FO_HPF( LVM_FLOAT w,
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp29 static LVM_FLOAT ADD2_SAT_FLOAT(LVM_FLOAT a, in ADD2_SAT_FLOAT()
30 LVM_FLOAT b, in ADD2_SAT_FLOAT()
31 LVM_FLOAT c) in ADD2_SAT_FLOAT()
33 LVM_FLOAT temp; in ADD2_SAT_FLOAT()
45 const LVM_FLOAT *src, in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
46 LVM_FLOAT *dst, in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
55 LVM_FLOAT DeltaL = pInstanceL->Delta; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
56 LVM_FLOAT CurrentL = pInstanceL->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
57 LVM_FLOAT TargetL = pInstanceL->Target; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
59 LVM_FLOAT DeltaR = pInstanceR->Delta; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
[all …]
DAGC_MIX_VOL_2St1Mon_D32_WRA.cpp73 const LVM_FLOAT *pStSrc, /* Stereo source */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
74 const LVM_FLOAT *pMonoSrc, /* Mono source */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
75 LVM_FLOAT *pDst, /* Stereo destination */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
83 LVM_FLOAT Left; /* Left sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
84 LVM_FLOAT Right; /* Right sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
85 LVM_FLOAT Mono; /* Mono sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
86 LVM_FLOAT AbsPeak; /* Absolute peak signal */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
87 LVM_FLOAT AGC_Mult; /* Short AGC gain */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
88 LVM_FLOAT Vol_Mult; /* Short volume */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
93 LVM_FLOAT AGC_Gain = pInstance->AGC_Gain; /* Get the current AGC gain */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
[all …]
DLVC_Core_MixSoft_1St_D16C31_WRA.cpp30 const LVM_FLOAT *src, in LVC_Core_MixSoft_1St_D16C31_WRA()
31 LVM_FLOAT *dst, in LVC_Core_MixSoft_1St_D16C31_WRA()
38 LVM_FLOAT Delta= (LVM_FLOAT)pInstance->Delta; in LVC_Core_MixSoft_1St_D16C31_WRA()
39 LVM_FLOAT Current = (LVM_FLOAT)pInstance->Current; in LVC_Core_MixSoft_1St_D16C31_WRA()
40 LVM_FLOAT Target= (LVM_FLOAT)pInstance->Target; in LVC_Core_MixSoft_1St_D16C31_WRA()
41 LVM_FLOAT Temp; in LVC_Core_MixSoft_1St_D16C31_WRA()
60 *(dst++) = (((LVM_FLOAT)*(src++) * (LVM_FLOAT)Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
77 *(dst++) = (((LVM_FLOAT)*(src++) * Current) ); in LVC_Core_MixSoft_1St_D16C31_WRA()
78 *(dst++) = (((LVM_FLOAT)*(src++) * Current) ); in LVC_Core_MixSoft_1St_D16C31_WRA()
79 *(dst++) = (((LVM_FLOAT)*(src++) * Current) ); in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DLVC_Mixer_Private.h32 LVM_FLOAT Target; /*number specifying value of Target Gain */
33 LVM_FLOAT Current; /*number specifying value of Current Gain */
34 LVM_FLOAT Delta; /*number specifying value of Delta Gain */
50 const LVM_FLOAT *src,
51 LVM_FLOAT *dst,
55 const LVM_FLOAT *src,
56 LVM_FLOAT *dst,
61 const LVM_FLOAT *src,
62 LVM_FLOAT *dst,
66 const LVM_FLOAT *src,
[all …]
DLVC_Mixer.h30 LVM_FLOAT PrivateParams[3]; /* Private Instance params for \
66 LVM_FLOAT TargetGain);
67 LVM_FLOAT LVC_Mixer_GetTarget( LVMixer3_FLOAT_st *pStream);
69 LVM_FLOAT LVC_Mixer_GetCurrent( LVMixer3_FLOAT_st *pStream);
72 LVM_FLOAT TargetGain,
73 LVM_FLOAT CurrentGain);
88 const LVM_FLOAT *src,
89 LVM_FLOAT *dst,
93 const LVM_FLOAT *src,
94 LVM_FLOAT *dst,
[all …]
DFO_2I_D16F32C15_LShx_TRC_WRA_01.cpp36 LVM_FLOAT *pDataIn, in FO_2I_D16F32C15_LShx_TRC_WRA_01()
37 LVM_FLOAT *pDataOut, in FO_2I_D16F32C15_LShx_TRC_WRA_01()
40 LVM_FLOAT ynL,ynR; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
41 LVM_FLOAT Temp; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
42 LVM_FLOAT NegSatValue; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
57 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[0]; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
59 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
62 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * (*pDataIn); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
64 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * (*(pDataIn+1)); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
111 *pDataOut++ = (LVM_FLOAT)ynL; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
[all …]
DLVC_Core_MixHard_1St_2i_D16C31_SAT.cpp31 const LVM_FLOAT *src, in LVC_Core_MixHard_1St_2i_D16C31_SAT()
32 LVM_FLOAT *dst, in LVC_Core_MixHard_1St_2i_D16C31_SAT()
35 LVM_FLOAT Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
41 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance1->Current); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
47 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
49 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance2->Current); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
55 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
61 const LVM_FLOAT *src, in LVC_Core_MixHard_1St_MC_float_SAT()
62 LVM_FLOAT *dst, in LVC_Core_MixHard_1St_MC_float_SAT()
66 LVM_FLOAT Temp; in LVC_Core_MixHard_1St_MC_float_SAT()
[all …]
DBQ_2I_D16F16C14_TRC_WRA_01.cpp40 LVM_FLOAT *pDataIn, in BQ_2I_D16F16C14_TRC_WRA_01()
41 LVM_FLOAT *pDataOut, in BQ_2I_D16F16C14_TRC_WRA_01()
44 LVM_FLOAT ynL,ynR; in BQ_2I_D16F16C14_TRC_WRA_01()
55 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F16C14_TRC_WRA_01()
58 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F16C14_TRC_WRA_01()
61 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F16C14_TRC_WRA_01()
64 ynL += (LVM_FLOAT)pBiquadState->coefs[3] * pBiquadState->pDelays[6]; in BQ_2I_D16F16C14_TRC_WRA_01()
67 ynL += (LVM_FLOAT)pBiquadState->coefs[4] * pBiquadState->pDelays[4]; in BQ_2I_D16F16C14_TRC_WRA_01()
73 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F16C14_TRC_WRA_01()
76 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F16C14_TRC_WRA_01()
[all …]
DBQ_2I_D16F16C15_TRC_WRA_01.cpp40 LVM_FLOAT *pDataIn, in BQ_2I_D16F16C15_TRC_WRA_01()
41 LVM_FLOAT *pDataOut, in BQ_2I_D16F16C15_TRC_WRA_01()
44 LVM_FLOAT ynL,ynR; in BQ_2I_D16F16C15_TRC_WRA_01()
55 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F16C15_TRC_WRA_01()
58 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F16C15_TRC_WRA_01()
61 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F16C15_TRC_WRA_01()
64 ynL += (LVM_FLOAT)pBiquadState->coefs[3] * pBiquadState->pDelays[6]; in BQ_2I_D16F16C15_TRC_WRA_01()
67 ynL += (LVM_FLOAT)pBiquadState->coefs[4] * pBiquadState->pDelays[4]; in BQ_2I_D16F16C15_TRC_WRA_01()
73 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F16C15_TRC_WRA_01()
76 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F16C15_TRC_WRA_01()
[all …]
DLVC_Core_MixInSoft_D16C31_SAT.cpp29 const LVM_FLOAT *src, in LVC_Core_MixInSoft_D16C31_SAT()
30 LVM_FLOAT *dst, in LVC_Core_MixInSoft_D16C31_SAT()
38 LVM_FLOAT Delta = pInstance->Delta; in LVC_Core_MixInSoft_D16C31_SAT()
39 LVM_FLOAT Current = pInstance->Current; in LVC_Core_MixInSoft_D16C31_SAT()
40 LVM_FLOAT Target = pInstance->Target; in LVC_Core_MixInSoft_D16C31_SAT()
41 LVM_FLOAT Temp; in LVC_Core_MixInSoft_D16C31_SAT()
54 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT()
60 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixInSoft_D16C31_SAT()
71 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT()
77 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixInSoft_D16C31_SAT()
[all …]
DLVC_Core_MixHard_2St_D16C31_SAT.cpp29 const LVM_FLOAT *src1, in LVC_Core_MixHard_2St_D16C31_SAT()
30 const LVM_FLOAT *src2, in LVC_Core_MixHard_2St_D16C31_SAT()
31 LVM_FLOAT *dst, in LVC_Core_MixHard_2St_D16C31_SAT()
34 LVM_FLOAT Temp; in LVC_Core_MixHard_2St_D16C31_SAT()
36 LVM_FLOAT Current1; in LVC_Core_MixHard_2St_D16C31_SAT()
37 LVM_FLOAT Current2; in LVC_Core_MixHard_2St_D16C31_SAT()
45 Temp = (((LVM_FLOAT)*(src1++) * (LVM_FLOAT)Current1)) + in LVC_Core_MixHard_2St_D16C31_SAT()
46 (((LVM_FLOAT)*(src2++) * (LVM_FLOAT)Current2)); in LVC_Core_MixHard_2St_D16C31_SAT()
DFilters.h35 LVM_FLOAT A0;
36 LVM_FLOAT A1;
37 LVM_FLOAT A2;
38 LVM_FLOAT B1;
39 LVM_FLOAT B2;
48 LVM_FLOAT A0;
49 LVM_FLOAT A1;
50 LVM_FLOAT B1;
DBQ_2I_D16F32C14_TRC_WRA_01.cpp40 LVM_FLOAT *pDataIn, in BQ_2I_D16F32C14_TRC_WRA_01()
41 LVM_FLOAT *pDataOut, in BQ_2I_D16F32C14_TRC_WRA_01()
44 LVM_FLOAT ynL,ynR; in BQ_2I_D16F32C14_TRC_WRA_01()
55 ynL = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[2]; in BQ_2I_D16F32C14_TRC_WRA_01()
58 ynL += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[0]; in BQ_2I_D16F32C14_TRC_WRA_01()
61 ynL += (LVM_FLOAT)pBiquadState->coefs[2] * (*pDataIn); in BQ_2I_D16F32C14_TRC_WRA_01()
73 ynR = (LVM_FLOAT)pBiquadState->coefs[0] * pBiquadState->pDelays[3]; in BQ_2I_D16F32C14_TRC_WRA_01()
76 ynR += (LVM_FLOAT)pBiquadState->coefs[1] * pBiquadState->pDelays[1]; in BQ_2I_D16F32C14_TRC_WRA_01()
79 ynR += (LVM_FLOAT)pBiquadState->coefs[2] * (*(pDataIn+1)); in BQ_2I_D16F32C14_TRC_WRA_01()
104 *pDataOut = (LVM_FLOAT)(ynL); /* Write Left output */ in BQ_2I_D16F32C14_TRC_WRA_01()
[all …]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Process.cpp69 const LVM_FLOAT *pInData, in LVCS_Process_CS()
70 LVM_FLOAT *pOutData, in LVCS_Process_CS()
73 const LVM_FLOAT *pInput; in LVCS_Process_CS()
75 LVM_FLOAT *pScratch; in LVCS_Process_CS()
78 LVM_FLOAT *pStIn; in LVCS_Process_CS()
94 pScratch = (LVM_FLOAT *) \ in LVCS_Process_CS()
111 Copy_Float_Mc_Stereo((LVM_FLOAT *)pInData, in LVCS_Process_CS()
112 (LVM_FLOAT *)pInput, in LVCS_Process_CS()
115 Copy_Float((LVM_FLOAT *)pInput, in LVCS_Process_CS()
116 (LVM_FLOAT *)pStIn, in LVCS_Process_CS()
[all …]
DLVCS_StereoEnhancer.cpp84 CoeffsMid.A0 = (LVM_FLOAT) LVCS_SEMidCoefTable[Offset].A0; in LVCS_SEnhancerInit()
85 CoeffsMid.A1 = (LVM_FLOAT) LVCS_SEMidCoefTable[Offset].A1; in LVCS_SEnhancerInit()
86 CoeffsMid.B1 = (LVM_FLOAT)-LVCS_SEMidCoefTable[Offset].B1; in LVCS_SEnhancerInit()
90 (LVM_FLOAT *)&pData->SEBiquadTapsMid, /* Destination */ in LVCS_SEnhancerInit()
92 (LVM_UINT16)(sizeof(pData->SEBiquadTapsMid) / sizeof(LVM_FLOAT))); in LVCS_SEnhancerInit()
109 CoeffsSide.A0 = (LVM_FLOAT) pSESideCoefs[Offset].A0; in LVCS_SEnhancerInit()
110 CoeffsSide.A1 = (LVM_FLOAT) pSESideCoefs[Offset].A1; in LVCS_SEnhancerInit()
111 CoeffsSide.A2 = (LVM_FLOAT) pSESideCoefs[Offset].A2; in LVCS_SEnhancerInit()
112 CoeffsSide.B1 = (LVM_FLOAT)-pSESideCoefs[Offset].B1; in LVCS_SEnhancerInit()
113 CoeffsSide.B2 = (LVM_FLOAT)-pSESideCoefs[Offset].B2; in LVCS_SEnhancerInit()
[all …]
DLVCS_ReverbGenerator.cpp95 (LVM_FLOAT *)&pConfig->StereoSamples[0], /* Destination */ in LVCS_ReverbGeneratorInit()
97 (LVM_UINT16)(sizeof(pConfig->StereoSamples) / sizeof(LVM_FLOAT))); in LVCS_ReverbGeneratorInit()
105 Coeffs.A0 = (LVM_FLOAT)pReverbCoefTable[Offset].A0; in LVCS_ReverbGeneratorInit()
106 Coeffs.A1 = (LVM_FLOAT)pReverbCoefTable[Offset].A1; in LVCS_ReverbGeneratorInit()
107 Coeffs.A2 = (LVM_FLOAT)pReverbCoefTable[Offset].A2; in LVCS_ReverbGeneratorInit()
108 Coeffs.B1 = (LVM_FLOAT)-pReverbCoefTable[Offset].B1; in LVCS_ReverbGeneratorInit()
109 Coeffs.B2 = (LVM_FLOAT)-pReverbCoefTable[Offset].B2; in LVCS_ReverbGeneratorInit()
112 (LVM_FLOAT *)&pData->ReverbBiquadTaps, /* Destination */ in LVCS_ReverbGeneratorInit()
114 (LVM_UINT16)(sizeof(pData->ReverbBiquadTaps) / sizeof(LVM_FLOAT))); in LVCS_ReverbGeneratorInit()
142 pConfig->ReverbLevel = ((LVM_FLOAT)(ReverbPercentage>>8)) / 32767.0f; in LVCS_ReverbGeneratorInit()
[all …]
DLVCS_BypassMix.cpp73 LVM_FLOAT Gain; in LVCS_BypassMixInit()
74 LVM_FLOAT Current; in LVCS_BypassMixInit()
87 pInstance->TransitionGain = ((LVM_FLOAT)pParams->EffectLevel / 32767); in LVCS_BypassMixInit()
104 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit()
112 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
119 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * (1.0 - \ in LVCS_BypassMixInit()
120 (LVM_FLOAT)pInstance->TransitionGain)); in LVCS_BypassMixInit()
121 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * Gain; in LVCS_BypassMixInit()
123 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
140 LVM_FLOAT GainCorrect; in LVCS_BypassMixInit()
[all …]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Control.cpp451 extern LVM_FLOAT LVPSA_Float_TwoPiOnFsTable[]; in LVPSA_BPSinglePrecCoefs()
452 extern LVM_FLOAT LVPSA_Float_CosCoef[]; in LVPSA_BPSinglePrecCoefs()
457 LVM_FLOAT T0; in LVPSA_BPSinglePrecCoefs()
458 LVM_FLOAT D; in LVPSA_BPSinglePrecCoefs()
459 LVM_FLOAT A0; in LVPSA_BPSinglePrecCoefs()
460 LVM_FLOAT B1; in LVPSA_BPSinglePrecCoefs()
461 LVM_FLOAT B2; in LVPSA_BPSinglePrecCoefs()
462 LVM_FLOAT Dt0; in LVPSA_BPSinglePrecCoefs()
463 LVM_FLOAT B2_Den; in LVPSA_BPSinglePrecCoefs()
464 LVM_FLOAT B2_Num; in LVPSA_BPSinglePrecCoefs()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetInstanceHandle.cpp110 (LVM_FLOAT *)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress, in LVREV_GetInstanceHandle()
112 sizeof(LVM_FLOAT))); in LVREV_GetInstanceHandle()
114 (LVM_FLOAT *)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress, in LVREV_GetInstanceHandle()
116 sizeof(LVM_FLOAT))); in LVREV_GetInstanceHandle()
118 (LVM_FLOAT *)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress, in LVREV_GetInstanceHandle()
120 sizeof(LVM_FLOAT))); in LVREV_GetInstanceHandle()
122 (LVM_FLOAT *)pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress, in LVREV_GetInstanceHandle()
124 sizeof(LVM_FLOAT))); in LVREV_GetInstanceHandle()
162 (LVM_FLOAT *)InstAlloc_AddMember(&FastData, LVREV_MAX_T3_DELAY * \ in LVREV_GetInstanceHandle()
163 sizeof(LVM_FLOAT)); in LVREV_GetInstanceHandle()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_CalcCoef.cpp119 extern LVM_FLOAT LVEQNB_GainTable[]; in LVEQNB_SinglePrecCoefs()
120 extern LVM_FLOAT LVEQNB_TwoPiOnFsTable[]; in LVEQNB_SinglePrecCoefs()
121 extern LVM_FLOAT LVEQNB_DTable[]; in LVEQNB_SinglePrecCoefs()
129 LVM_FLOAT QFactor = (LVM_FLOAT)pFilterDefinition->QFactor / 100.0f; in LVEQNB_SinglePrecCoefs()
134 LVM_FLOAT T0; in LVEQNB_SinglePrecCoefs()
135 LVM_FLOAT D; in LVEQNB_SinglePrecCoefs()
136 LVM_FLOAT A0; in LVEQNB_SinglePrecCoefs()
137 LVM_FLOAT B1; in LVEQNB_SinglePrecCoefs()
138 LVM_FLOAT B2; in LVEQNB_SinglePrecCoefs()

1234567