/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | Mixer.h | 35 …LVM_INT32 Alpha; /* Time constant. Set by calling application. Can be change… 36 …LVM_INT32 Target; /* Target value. Set by calling application. Can be change… 37 LVM_INT32 Current; /* Current value. Set by the mixer function. */ 47 LVM_INT32 Alpha1; 48 LVM_INT32 Target1; 49 LVM_INT32 Current1; 56 …LVM_INT32 Alpha2; /* Warning the address of this location is passed as a point… 57 LVM_INT32 Target2; 58 LVM_INT32 Current2; 76 const LVM_INT32 *src, [all …]
|
D | LVM_Macros.h | 37 …{LVM_INT32 MUL32x32INTO32_temp,MUL32x32INTO32_temp2,MUL32x32INTO32_mask,MUL32x32INTO32_HH,MUL32x32… 38 LVM_INT32 shiftValue;\ 41 MUL32x32INTO32_HH= ((LVM_INT32)((LVM_INT16)((A)>>16))*((LVM_INT16)((B)>>16)) );\ 42 MUL32x32INTO32_HL= ((LVM_INT32)((B)&MUL32x32INTO32_mask)*((LVM_INT16)((A)>>16))) ;\ 43 MUL32x32INTO32_LH= ((LVM_INT32)((A)&MUL32x32INTO32_mask)*((LVM_INT16)((B)>>16)));\ 44 … MUL32x32INTO32_LL= (LVM_INT32)((A)&MUL32x32INTO32_mask)*(LVM_INT32)((B)&MUL32x32INTO32_mask);\ 45 …UL32x32INTO32_temp= (LVM_INT32)(MUL32x32INTO32_HL&MUL32x32INTO32_mask)+(LVM_INT32)(MUL32x32INTO32_… 46 …UL32x32INTO32_HH= MUL32x32INTO32_HH+(LVM_INT32)(MUL32x32INTO32_HL>>16)+(LVM_INT32)(MUL32x32INTO32_… 47 …MUL32x32INTO32_LL=MUL32x32INTO32_LL+(LVM_INT32)(MUL32x32INTO32_HL<<16)+(LVM_INT32)(MUL32x32INTO32_… 51 MUL32x32INTO32_mask=((LVM_INT32)1<<(32-shiftValue))-1;\ [all …]
|
D | VectorArithmetic.h | 36 void LoadConst_32( const LVM_INT32 val, 37 LVM_INT32 *dst, 65 void Mult3s_32x16( const LVM_INT32 *src, 67 LVM_INT32 *dst, 77 void DelayWrite_32( const LVM_INT32 *src, /* Source 1, to be delayed */ 78 LVM_INT32 *delay, /* Delay buffer */ 87 void Add2_Sat_32x32( const LVM_INT32 *src, 88 LVM_INT32 *dst, 96 void Mac3s_Sat_32x16( const LVM_INT32 *src, 98 LVM_INT32 *dst, [all …]
|
D | BIQUAD.h | 33 LVM_INT32 Storage[6]; 54 LVM_INT32 A2; /* a2 */ 55 LVM_INT32 A1; /* a1 */ 56 LVM_INT32 A0; /* a0 */ 57 LVM_INT32 B2; /* -b2! */ 58 LVM_INT32 B1; /* -b1! */ 71 LVM_INT32 A1; /* a1 */ 72 LVM_INT32 A0; /* a0 */ 73 LVM_INT32 B1; /* -b1! */ 95 LVM_INT32 A0; /* a0 */ [all …]
|
D | Filter.h | 41 LVM_INT32 LVM_Polynomial(LVM_UINT16 N, 42 LVM_INT32 *pCoefficients, 43 LVM_INT32 X); 45 LVM_INT32 LVM_Power10( LVM_INT32 X); 47 LVM_INT32 LVM_FO_LPF( LVM_INT32 w, 50 LVM_INT32 LVM_FO_HPF( LVM_INT32 w, 53 LVM_INT32 LVM_GetOmega(LVM_UINT16 Fc,
|
D | AGC.h | 43 LVM_INT32 AGC_Gain; /* The current AGC gain */ 44 LVM_INT32 AGC_MaxGain; /* The maximum AGC gain */ 45 LVM_INT32 Volume; /* The current volume setting */ 46 LVM_INT32 Target; /* The target volume setting */ 47 LVM_INT32 AGC_Target; /* AGC target level */ 64 const LVM_INT32 *pStSrc, /* Stereo source */ 65 const LVM_INT32 *pMonoSrc, /* Mono source */ 66 LVM_INT32 *pDst, /* Stereo destination */
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVC_Core_MixSoft_1St_D16C31_WRA.c | 38 LVM_INT32 ii; in LVC_Core_MixSoft_1St_D16C31_WRA() 40 LVM_INT32 Delta=pInstance->Delta; in LVC_Core_MixSoft_1St_D16C31_WRA() 41 LVM_INT32 Current=pInstance->Current; in LVC_Core_MixSoft_1St_D16C31_WRA() 42 LVM_INT32 Target=pInstance->Target; in LVC_Core_MixSoft_1St_D16C31_WRA() 43 LVM_INT32 Temp; in LVC_Core_MixSoft_1St_D16C31_WRA() 58 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 int… in LVC_Core_MixSoft_1St_D16C31_WRA() 70 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 int… in LVC_Core_MixSoft_1St_D16C31_WRA() 71 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_WRA() 72 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_WRA() 73 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_WRA() [all …]
|
D | LVC_Core_MixSoft_1St_2i_D16C31_WRA.c | 40 LVM_INT32 ii; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 44 LVM_INT32 DeltaL=pInstanceL->Delta; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 45 LVM_INT32 CurrentL=pInstanceL->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 46 LVM_INT32 TargetL=pInstanceL->Target; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 48 LVM_INT32 DeltaR=pInstanceR->Delta; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 49 LVM_INT32 CurrentR=pInstanceR->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 50 LVM_INT32 TargetR=pInstanceR->Target; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 52 LVM_INT32 Temp; in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 92 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortL)>>15); /* Q15*Q15>>15 in… in LVC_Core_MixSoft_1St_2i_D16C31_WRA() 93 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortR)>>15); /* Q15*Q15>>15 in… in LVC_Core_MixSoft_1St_2i_D16C31_WRA() [all …]
|
D | AGC_MIX_VOL_2St1Mon_D32_WRA.c | 74 const LVM_INT32 *pStSrc, /* Stereo source */ in AGC_MIX_VOL_2St1Mon_D32_WRA() 75 const LVM_INT32 *pMonoSrc, /* Mono source */ in AGC_MIX_VOL_2St1Mon_D32_WRA() 76 LVM_INT32 *pDst, /* Stereo destination */ in AGC_MIX_VOL_2St1Mon_D32_WRA() 84 LVM_INT32 Left; /* Left sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA() 85 LVM_INT32 Right; /* Right sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA() 86 LVM_INT32 Mono; /* Mono sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA() 87 LVM_INT32 AbsPeak; /* Absolute peak signal */ in AGC_MIX_VOL_2St1Mon_D32_WRA() 88 …LVM_INT32 HighWord; /* High word in intermediate calculati… in AGC_MIX_VOL_2St1Mon_D32_WRA() 89 …LVM_INT32 LowWord; /* Low word in intermediate calculatio… in AGC_MIX_VOL_2St1Mon_D32_WRA() 97 LVM_INT32 AGC_Gain = pInstance->AGC_Gain; /* Get the current AGC gain */ in AGC_MIX_VOL_2St1Mon_D32_WRA() [all …]
|
D | LVC_Mixer_Private.h | 32 …LVM_INT32 Target; /* 32 bit number specifying fractional val… 33 …LVM_INT32 Current; /* 32 bit number specifying fractional val… 34 … LVM_INT32 Shift; /* Left Shift for Integer part of Gain */ 35 …LVM_INT32 Delta; /* 32 bit number specifying the fractional… 100 const LVM_INT32 *src, 101 LVM_INT32 *dst, 105 const LVM_INT32 *src, 106 LVM_INT32 *dst, 111 const LVM_INT32 *src1, 112 const LVM_INT32 *src2, [all …]
|
D | BQ_2I_D16F16C15_TRC_WRA_01.c | 46 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C15_TRC_WRA_01() 58 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F16C15_TRC_WRA_01() 61 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_2I_D16F16C15_TRC_WRA_01() 64 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_2I_D16F16C15_TRC_WRA_01() 67 ynL+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[6]; in BQ_2I_D16F16C15_TRC_WRA_01() 70 ynL+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[4]; in BQ_2I_D16F16C15_TRC_WRA_01() 78 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F16C15_TRC_WRA_01() 81 ynR+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[1]; in BQ_2I_D16F16C15_TRC_WRA_01() 84 ynR+=(LVM_INT32)pBiquadState->coefs[2]*(*(pDataIn+1)); in BQ_2I_D16F16C15_TRC_WRA_01() 87 ynR+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[7]; in BQ_2I_D16F16C15_TRC_WRA_01() [all …]
|
D | BQ_2I_D16F16C14_TRC_WRA_01.c | 46 LVM_INT32 ynL,ynR; in BQ_2I_D16F16C14_TRC_WRA_01() 57 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[2]; in BQ_2I_D16F16C14_TRC_WRA_01() 60 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_2I_D16F16C14_TRC_WRA_01() 63 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_2I_D16F16C14_TRC_WRA_01() 66 ynL+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[6]; in BQ_2I_D16F16C14_TRC_WRA_01() 69 ynL+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[4]; in BQ_2I_D16F16C14_TRC_WRA_01() 77 ynR=(LVM_INT32)pBiquadState->coefs[0]*pBiquadState->pDelays[3]; in BQ_2I_D16F16C14_TRC_WRA_01() 80 ynR+=(LVM_INT32)pBiquadState->coefs[1]*pBiquadState->pDelays[1]; in BQ_2I_D16F16C14_TRC_WRA_01() 83 ynR+=(LVM_INT32)pBiquadState->coefs[2]*(*(pDataIn+1)); in BQ_2I_D16F16C14_TRC_WRA_01() 86 ynR+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[7]; in BQ_2I_D16F16C14_TRC_WRA_01() [all …]
|
D | LVC_Core_MixInSoft_D16C31_SAT.c | 38 LVM_INT32 ii,jj; in LVC_Core_MixInSoft_D16C31_SAT() 40 LVM_INT32 Delta=pInstance->Delta; in LVC_Core_MixInSoft_D16C31_SAT() 41 LVM_INT32 Current=pInstance->Current; in LVC_Core_MixInSoft_D16C31_SAT() 42 LVM_INT32 Target=pInstance->Target; in LVC_Core_MixInSoft_D16C31_SAT() 43 LVM_INT32 Temp; in LVC_Core_MixInSoft_D16C31_SAT() 58 …Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 i… in LVC_Core_MixInSoft_D16C31_SAT() 77 …Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 i… in LVC_Core_MixInSoft_D16C31_SAT() 96 …Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 i… in LVC_Core_MixInSoft_D16C31_SAT() 114 …Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 i… in LVC_Core_MixInSoft_D16C31_SAT()
|
D | LVC_Mixer.h | 36 LVM_INT32 PrivateParams[4]; /* Private Instance params for Audio Stream */ 79 LVM_INT32 TargetGain); 81 LVM_INT32 LVC_Mixer_GetTarget( LVMixer3_st *pStream); 83 LVM_INT32 LVC_Mixer_GetCurrent( LVMixer3_st *pStream); 86 LVM_INT32 TargetGain, 87 LVM_INT32 CurrentGain); 90 LVM_INT32 Tc_millisec, 95 LVM_INT32 Tc_millisec,
|
D | Abs_32.c | 33 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()
|
D | BQ_1I_D16F16C15_TRC_WRA_01.c | 41 LVM_INT32 ynL; in BQ_1I_D16F16C15_TRC_WRA_01() 53 ynL=(LVM_INT32)pBiquadState->coefs[0]* pBiquadState->pDelays[1]; in BQ_1I_D16F16C15_TRC_WRA_01() 56 ynL+=(LVM_INT32)pBiquadState->coefs[1]* pBiquadState->pDelays[0]; in BQ_1I_D16F16C15_TRC_WRA_01() 59 ynL+=(LVM_INT32)pBiquadState->coefs[2]* (*pDataIn); in BQ_1I_D16F16C15_TRC_WRA_01() 62 ynL+=(LVM_INT32)pBiquadState->coefs[3]*pBiquadState->pDelays[3]; in BQ_1I_D16F16C15_TRC_WRA_01() 65 ynL+=(LVM_INT32)pBiquadState->coefs[4]*pBiquadState->pDelays[2]; in BQ_1I_D16F16C15_TRC_WRA_01()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.c | 100 LVM_INT32 T0; in LVEQNB_DoublePrecCoefs() 102 LVM_INT32 A0; in LVEQNB_DoublePrecCoefs() 103 LVM_INT32 B1; in LVEQNB_DoublePrecCoefs() 104 LVM_INT32 B2; in LVEQNB_DoublePrecCoefs() 105 LVM_INT32 Dt0; in LVEQNB_DoublePrecCoefs() 106 LVM_INT32 B2_Den; in LVEQNB_DoublePrecCoefs() 107 LVM_INT32 B2_Num; in LVEQNB_DoublePrecCoefs() 108 LVM_INT32 CosErr; in LVEQNB_DoublePrecCoefs() 110 LVM_INT32 factor; in LVEQNB_DoublePrecCoefs() 117 T0 = (LVM_INT32)Frequency * LVEQNB_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */ in LVEQNB_DoublePrecCoefs() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_Private.h | 131 LVM_INT32 RoomSizeInms; /* Room size in msec */ 132 …LVM_INT32 MaxBlkLen; /* Maximum block size for internal processing … 137 LVM_INT32 *pScratchDelayLine[4]; /* Delay line scratch memory */ 138 LVM_INT32 *pScratch; /* Multi ussge scratch */ 139 …LVM_INT32 *pInputSave; /* Reverb block input save for dry/wet mixing*/ 145 LVM_INT32 T[4]; /* Maximum delay size of buffer */ 146 LVM_INT32 *pDelay_T[4]; /* Pointer to delay buffers */ 147 LVM_INT32 Delay_AP[4]; /* Offset to AP delay buffer start */ 149 LVM_INT32 A_DelaySize[4]; /* A delay length in samples */ 150 LVM_INT32 B_DelaySize[4]; /* B delay length in samples */ [all …]
|
D | LVREV_ApplyNewSettings.c | 48 LVM_INT32 NumberOfDelayLines; in LVREV_ApplyNewSettings() 79 LVM_INT32 Omega; in LVREV_ApplyNewSettings() 87 sizeof(Biquad_1I_Order1_Taps_t)/sizeof(LVM_INT32)); in LVREV_ApplyNewSettings() 98 LVM_INT32 Omega; in LVREV_ApplyNewSettings() 120 sizeof(Biquad_1I_Order1_Taps_t)/sizeof(LVM_INT32)); in LVREV_ApplyNewSettings() 147 LVM_INT32 APDelaySize; in LVREV_ApplyNewSettings() 148 LVM_INT32 Fs = LVM_GetFsFromTable(pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings() 163 LVM_INT32 Temp1; /* to avoid QAC warning on type conversion */ in LVREV_ApplyNewSettings() 164 LVM_INT32 Temp2; /* to avoid QAC warning on type conversion */ in LVREV_ApplyNewSettings() 166 Temp2=(LVM_INT32)DelayLengthSamples; in LVREV_ApplyNewSettings() [all …]
|
D | LVREV_GetMemoryTable.c | 164 InstAlloc_AddMember(&FastData, LVREV_MAX_T3_DELAY * sizeof(LVM_INT32)); in LVREV_GetMemoryTable() 165 InstAlloc_AddMember(&FastData, LVREV_MAX_T2_DELAY * sizeof(LVM_INT32)); in LVREV_GetMemoryTable() 166 InstAlloc_AddMember(&FastData, LVREV_MAX_T1_DELAY * sizeof(LVM_INT32)); in LVREV_GetMemoryTable() 167 InstAlloc_AddMember(&FastData, LVREV_MAX_T0_DELAY * sizeof(LVM_INT32)); in LVREV_GetMemoryTable() 172 InstAlloc_AddMember(&FastData, LVREV_MAX_T1_DELAY * sizeof(LVM_INT32)); in LVREV_GetMemoryTable() 173 InstAlloc_AddMember(&FastData, LVREV_MAX_T0_DELAY * sizeof(LVM_INT32)); in LVREV_GetMemoryTable() 178 InstAlloc_AddMember(&FastData, LVREV_MAX_T0_DELAY * sizeof(LVM_INT32)); in LVREV_GetMemoryTable() 198 …InstAlloc_AddMember(&Temporary, sizeof(LVM_INT32) * MaxBlockSize); /* General purpose scr… in LVREV_GetMemoryTable() 199 …InstAlloc_AddMember(&Temporary, 2*sizeof(LVM_INT32) * MaxBlockSize); /* Mono->stereo input … in LVREV_GetMemoryTable() 205 …InstAlloc_AddMember(&Temporary, sizeof(LVM_INT32) * MaxBlockSize); /* A Scratch buffer for ea… in LVREV_GetMemoryTable() [all …]
|
D | LVREV_Process.c | 50 const LVM_INT32 *pInData, in LVREV_Process() 51 LVM_INT32 *pOutData, in LVREV_Process() 55 LVM_INT32 *pInput = (LVM_INT32 *)pInData; in LVREV_Process() 56 LVM_INT32 *pOutput = pOutData; in LVREV_Process() 57 LVM_INT32 SamplesToProcess, RemainingSamples; in LVREV_Process() 58 LVM_INT32 format = 1; in LVREV_Process() 121 RemainingSamples = (LVM_INT32)NumSamples; in LVREV_Process() 147 pInput = (LVM_INT32 *)(pInput +(SamplesToProcess*format)); in LVREV_Process() 148 pOutput = (LVM_INT32 *)(pOutput+(SamplesToProcess*2)); // Always stereo output in LVREV_Process() 179 void ReverbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 Num… in ReverbBlock() [all …]
|
D | LVREV_ClearAudioBuffers.c | 74 LoadConst_32(0, (LVM_INT32 *)&pLVREV_Private->pFastData->RevLPTaps[3], 2); in LVREV_ClearAudioBuffers() 75 LoadConst_32(0, (LVM_INT32 *)&pLVREV_Private->pFastData->RevLPTaps[2], 2); in LVREV_ClearAudioBuffers() 76 LoadConst_32(0, (LVM_INT32 *)&pLVREV_Private->pFastData->RevLPTaps[1], 2); in LVREV_ClearAudioBuffers() 77 LoadConst_32(0, (LVM_INT32 *)&pLVREV_Private->pFastData->RevLPTaps[0], 2); in LVREV_ClearAudioBuffers() 88 LoadConst_32(0, (LVM_INT32 *)&pLVREV_Private->pFastData->RevLPTaps[1], 2); in LVREV_ClearAudioBuffers() 89 LoadConst_32(0, (LVM_INT32 *)&pLVREV_Private->pFastData->RevLPTaps[0], 2); in LVREV_ClearAudioBuffers() 97 LoadConst_32(0, (LVM_INT32 *)&pLVREV_Private->pFastData->RevLPTaps[0], 2); in LVREV_ClearAudioBuffers()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Process.c | 55 LVM_INT32 AudioTimeInc; in LVPSA_Process() 124 MUL32x32INTO32((AudioTime + (LVM_INT32)((LVM_INT32)pLVPSA_Inst->LocalSamplesCount*1000)), in LVPSA_Process() 125 (LVM_INT32)LVPSA_SampleRateInvTab[pLVPSA_Inst->CurrentParams.Fs], in LVPSA_Process() 163 LVM_INT32 StatusDelta, ii; in LVPSA_GetSpectrum() 184 …2x32INTO32(((pLVPSA_Inst->SpectralDataBufferAudioTime - (LVM_INT32)LVM_MININT_32) + ((LVM_INT32)LV… in LVPSA_GetSpectrum() 185 …LVM_INT32)(StatusDelta * LVPSA_InternalRefreshTime)) != ((LVM_INT32)((pLVPSA_Inst->SpectralDataBuf… in LVPSA_GetSpectrum() 194 … (((LVM_INT32)(-GetSpectrumAudioTime + pLVPSA_Inst->SpectralDataBufferAudioTime))>LVM_MAXINT_32))|| in LVPSA_GetSpectrum() 200 …(((LVM_INT32)(GetSpectrumAudioTime - pLVPSA_Inst->SpectralDataBufferAudioTime))<LVM_MAXINT_32))))|| in LVPSA_GetSpectrum() 202 (StatusDelta > (LVM_INT32)pLVPSA_Inst->SpectralDataBufferLength) || in LVPSA_GetSpectrum() 213 …if((LVM_INT32)(StatusDelta * pLVPSA_Inst->nBands) > (pLVPSA_Inst->pSpectralDataBufferWritePointer … in LVPSA_GetSpectrum() [all …]
|
D | LVPSA_Control.c | 475 LVM_INT32 T0; in LVPSA_BPSinglePrecCoefs() 477 LVM_INT32 A0; in LVPSA_BPSinglePrecCoefs() 478 LVM_INT32 B1; in LVPSA_BPSinglePrecCoefs() 479 LVM_INT32 B2; in LVPSA_BPSinglePrecCoefs() 480 LVM_INT32 Dt0; in LVPSA_BPSinglePrecCoefs() 481 LVM_INT32 B2_Den; in LVPSA_BPSinglePrecCoefs() 482 LVM_INT32 B2_Num; in LVPSA_BPSinglePrecCoefs() 483 LVM_INT32 COS_T0; in LVPSA_BPSinglePrecCoefs() 485 LVM_INT32 factor; in LVPSA_BPSinglePrecCoefs() 500 T0 = (LVM_INT32)Frequency * LVPSA_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */ in LVPSA_BPSinglePrecCoefs() [all …]
|
D | LVPSA_QPD_Process.c | 70 LVM_INT32* pDelay = pQPDState->pDelay; in LVPSA_QPD_Process() 73 LVM_INT32 X0; in LVPSA_QPD_Process() 74 LVM_INT32 temp,temp2; in LVPSA_QPD_Process() 75 LVM_INT32 accu; in LVPSA_QPD_Process() 81 LVM_INT32 Kp = pQPDState->Coefs[0]; in LVPSA_QPD_Process() 82 LVM_INT32 Km = pQPDState->Coefs[1]; in LVPSA_QPD_Process() 87 LVM_INT32 BufferUpdateSamplesCount = pLVPSA_Inst->BufferUpdateSamplesCount; in LVPSA_QPD_Process() 116 temp2 = (LVM_INT32)D0; in LVPSA_QPD_Process() 124 temp2 = (LVM_INT32)D0; in LVPSA_QPD_Process() 125 MUL32x32INTO32((LVM_INT32)D0,Km,temp,31); in LVPSA_QPD_Process() [all …]
|