/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVM_Mixer_TimeConstant.c | 61 LVM_FLOAT LVM_Mixer_TimeConstant(LVM_UINT32 tc, in LVM_Mixer_TimeConstant() 63 LVM_UINT32 Fs, in LVM_Mixer_TimeConstant() 70 LVM_UINT32 Product; in LVM_Mixer_TimeConstant() 129 Product = ((tc >> 16) * (LVM_UINT32)Fs) << 13; /* Stereo value */ in LVM_Mixer_TimeConstant() 130 Product = Product + (((tc & 0x0000FFFF) * (LVM_UINT32)Fs) >> 3); in LVM_Mixer_TimeConstant() 164 LVM_UINT32 LVM_Mixer_TimeConstant(LVM_UINT32 tc, in LVM_Mixer_TimeConstant() 169 LVM_UINT32 Product; in LVM_Mixer_TimeConstant() 173 LVM_UINT32 Table[] = {ALPHA_0, /* Log spaced look-up table */ in LVM_Mixer_TimeConstant() 227 Product = ((tc >> 16) * (LVM_UINT32)Fs) << 13; /* Stereo value */ in LVM_Mixer_TimeConstant() 228 Product = Product + (((tc & 0x0000FFFF) * (LVM_UINT32)Fs) >> 3); in LVM_Mixer_TimeConstant() [all …]
|
D | dB_to_Lin32.c | 96 …Shift = (LVM_INT16)((((LVM_UINT32)(-db_fix) >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6d… in dB_to_Lin32() 99 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (16 + Shift)); in dB_to_Lin32() 110 …Shift = (LVM_INT16)((((LVM_UINT32)db_fix >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6dB s… in dB_to_Lin32() 113 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (15 - Shift)); in dB_to_Lin32()
|
D | InstAlloc.c | 49 LVM_UINT32 Size ) in InstAlloc_AddMember() 54 Size = ((Size + 3) & (LVM_UINT32)~3); /* Ceil the size to a multiple of four */ in InstAlloc_AddMember() 71 LVM_UINT32 InstAlloc_GetTotal( INST_ALLOC *pms) in InstAlloc_GetTotal() 142 LVM_UINT32 Size[], in InstAlloc_AddMemberAll() 177 LVM_UINT32 Size[], in InstAlloc_AddMemberAllRet()
|
D | DelayMix_16x16.c | 42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16() 52 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
|
D | LVM_GetOmega.c | 97 LVM_FLOAT LVM_GetOmega(LVM_UINT32 Fc, in LVM_GetOmega()
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | InstAlloc.h | 31 … LVM_UINT32 TotalSize; /* Accumulative total memory size */ 63 void* InstAlloc_AddMember( INST_ALLOC *pms, LVM_UINT32 Size ); 73 LVM_UINT32 InstAlloc_GetTotal( INST_ALLOC *pms); 76 LVM_UINT32 Size[], 80 LVM_UINT32 Size[],
|
D | Mixer.h | 109 LVM_FLOAT LVM_Mixer_TimeConstant(LVM_UINT32 tc, 111 LVM_UINT32 Fs, 133 LVM_UINT32 LVM_Mixer_TimeConstant(LVM_UINT32 tc,
|
D | LVM_Types.h | 96 typedef uint32_t LVM_UINT32; /* Unsigned 32-bit word */ typedef 197 LVM_UINT32 Size; /* Region size in bytes */
|
D | Filter.h | 50 LVM_FLOAT LVM_GetOmega(LVM_UINT32 Fc,
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Init.c | 68 LVM_UINT32 ScratchSize; in LVCS_Memory() 80 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Size = (LVM_UINT32)sizeof(LVCS_I… in LVCS_Memory() 87 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Size = (LVM_UINT32)sizeof(LVCS_D… in LVCS_Memory() 94 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Size = (LVM_UINT32)sizeof(LVCS_C… in LVCS_Memory() 103 ScratchSize = (LVM_UINT32) \ in LVCS_Memory() 106 …ScratchSize = (LVM_UINT32)(LVCS_SCRATCHBUFFERS*sizeof(LVM_INT16)*pCapabilities->MaxBlockSize); … in LVCS_Memory()
|
D | LVCS_BypassMix.c | 74 LVM_UINT32 Gain; in LVCS_BypassMixInit() 116 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit() 141 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * (0x7FFF - pInstance->TransitionGain)); in LVCS_BypassMixInit() 142 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_BypassMixInit()
|
D | LVCS_Control.c | 130 LVM_UINT32 Gain; in LVCS_Control() 132 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * LVM_MAXINT_16); in LVCS_Control() 133 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_Control()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Control.c | 194 extern LVM_UINT32 LVPSA_SampleRateTab[]; in LVPSA_ApplyNewSettings() 286 extern LVM_UINT32 LVPSA_SampleRateTab[]; /* Sample rate table */ in LVPSA_SetBPFiltersType() 289 …LVM_UINT32 fs = (LVM_UINT32)LVPSA_SampleRateTab[(LVM_UINT16)pParams->Fs]; /* Sample … in LVPSA_SetBPFiltersType() 290 …LVM_UINT32 fc; /* Filter centre f… in LVPSA_SetBPFiltersType() 298 …fc = (LVM_UINT32)pInst->pFiltersParams[ii].CenterFrequency; /* Get the band centre frequency */ in LVPSA_SetBPFiltersType() 652 B2_Den = (LVM_INT32)(((LVM_UINT32)QFactor << 19) + (LVM_UINT32)(Dt0 >> 2)); in LVPSA_BPSinglePrecCoefs() 653 B2_Num = (LVM_INT32)((LVM_UINT32)(Dt0 >> 3) - ((LVM_UINT32)QFactor << 18)); in LVPSA_BPSinglePrecCoefs() 858 B2_Den = (LVM_INT32)(((LVM_UINT32)QFactor << 19) + (LVM_UINT32)(Dt0 >> 2)); in LVPSA_BPDoublePrecCoefs() 859 B2_Num = (LVM_INT32)((LVM_UINT32)(Dt0 >> 3) - ((LVM_UINT32)QFactor << 18)); in LVPSA_BPDoublePrecCoefs() 916 LVM_UINT32 i; in LVPSA_ClearFilterHistory()
|
D | LVPSA_Tables.c | 48 const LVM_UINT32 LVPSA_SampleRateTab[] = { 8000, /* 8kS/s */ 73 const LVM_UINT32 LVPSA_SampleRateInvTab[] = { 268435, /* 8kS/s */
|
D | LVPSA_Memory.c | 54 LVM_UINT32 ii; in LVPSA_Memory() 55 LVM_UINT32 BufferLength; in LVPSA_Memory() 123 BufferLength=(LVM_UINT32)BL; in LVPSA_Memory()
|
D | LVPSA_Init.c | 49 LVM_UINT32 ii; in LVPSA_Init() 55 LVM_UINT32 BufferLength = 0; in LVPSA_Init() 134 BufferLength=(LVM_UINT32)BL; in LVPSA_Init()
|
D | LVPSA_Process.c | 68 extern LVM_UINT32 LVPSA_SampleRateInvTab[]; in LVPSA_Process() 157 extern LVM_UINT32 LVPSA_SampleRateInvTab[]; in LVPSA_Process() 316 …tralDataBufferWritePointer + (pLVPSA_Inst->SpectralDataBufferLength - (LVM_UINT32)StatusDelta) * p… in LVPSA_GetSpectrum()
|
D | LVPSA_Private.h | 135 …LVM_UINT32 SpectralDataBufferLength; /* Number of spectrum data value t…
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_Tables.h | 44 extern const LVM_UINT32 LVM_FsTable[]; 45 extern LVM_UINT32 LVM_GetFsFromTable(LVM_Fs_en FsIndex);
|
D | LVREV_Tables.c | 45 const LVM_UINT32 LVM_FsTable[] = { 70 LVM_UINT32 LVM_GetFsFromTable(LVM_Fs_en FsIndex){ in LVM_GetFsFromTable()
|
D | LVREV_ApplyNewSettings.c | 147 LVM_UINT32 Temp; in LVREV_ApplyNewSettings() 150 LVM_UINT32 DelayLengthSamples = (LVM_UINT32)(Fs * pPrivate->RoomSizeInms); in LVREV_ApplyNewSettings() 169 Temp=(LVM_UINT32)Temp1; in LVREV_ApplyNewSettings() 703 LVM_UINT32 Temp; in LVREV_ApplyNewSettings() 706 LVM_UINT32 DelayLengthSamples = (LVM_UINT32)(Fs * pPrivate->RoomSizeInms); in LVREV_ApplyNewSettings() 726 Temp = (LVM_UINT32)(Temp1 * ScaleTable[i]); in LVREV_ApplyNewSettings() 1012 Tot_Dist = (LVM_UINT32)LVREV_GainPolyTable[Index][0] - \ in LVREV_ApplyNewSettings() 1013 (LVM_UINT32)LVREV_GainPolyTable[Index-1][0]; in LVREV_ApplyNewSettings() 1014 Dist = RoomSize - (LVM_UINT32)LVREV_GainPolyTable[Index - 1][0]; in LVREV_ApplyNewSettings()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Control.c | 144 extern const LVM_UINT32 LVEQNB_SampleRateTab[]; /* Sample rate table */ in LVEQNB_SetFilters() 150 …LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sa… in LVEQNB_SetFilters() 151 LVM_UINT32 fc; /* Filter centre frequency */ in LVEQNB_SetFilters() 162 … fc = (LVM_UINT32)pParams->pBandDefinition[i].Frequency; /* Get the band centre frequency */ in LVEQNB_SetFilters()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/ |
D | LVREV.h | 114 LVM_UINT32 LPF; /* Low pass filter, in Hz */ 115 LVM_UINT32 HPF; /* High pass filter, in Hz */
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Init.c | 63 LVM_UINT32 ScratchSize; in LVDBE_Memory() 108 ScratchSize = (LVM_UINT32)(LVDBE_SCRATCHBUFFERS_INPLACE*sizeof(LVM_FLOAT) * \ in LVDBE_Memory() 111 …ScratchSize = (LVM_UINT32)(LVDBE_SCRATCHBUFFERS_INPLACE*sizeof(LVM_INT16)*pCapabilities->MaxBlockS… in LVDBE_Memory()
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 526 LVM_UINT32 AudioTime); 532 LVM_UINT32 AudioTime);
|