Home
last modified time | relevance | path

Searched refs:LVM_UINT32 (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_Mixer_TimeConstant.c61 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 …]
DdB_to_Lin32.c96 …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()
DInstAlloc.c49 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()
DDelayMix_16x16.c42 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()
DLVM_GetOmega.c97 LVM_FLOAT LVM_GetOmega(LVM_UINT32 Fc, in LVM_GetOmega()
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DInstAlloc.h31LVM_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[],
DMixer.h109 LVM_FLOAT LVM_Mixer_TimeConstant(LVM_UINT32 tc,
111 LVM_UINT32 Fs,
133 LVM_UINT32 LVM_Mixer_TimeConstant(LVM_UINT32 tc,
DLVM_Types.h96 typedef uint32_t LVM_UINT32; /* Unsigned 32-bit word */ typedef
197 LVM_UINT32 Size; /* Region size in bytes */
DFilter.h50 LVM_FLOAT LVM_GetOmega(LVM_UINT32 Fc,
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Init.c68 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()
DLVCS_BypassMix.c74 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()
DLVCS_Control.c130 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/
DLVPSA_Control.c194 extern LVM_UINT32 LVPSA_SampleRateTab[]; in LVPSA_ApplyNewSettings()
286 extern LVM_UINT32 LVPSA_SampleRateTab[]; /* Sample rate table */ in LVPSA_SetBPFiltersType()
289LVM_UINT32 fs = (LVM_UINT32)LVPSA_SampleRateTab[(LVM_UINT16)pParams->Fs]; /* Sample … in LVPSA_SetBPFiltersType()
290LVM_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()
DLVPSA_Tables.c48 const LVM_UINT32 LVPSA_SampleRateTab[] = { 8000, /* 8kS/s */
73 const LVM_UINT32 LVPSA_SampleRateInvTab[] = { 268435, /* 8kS/s */
DLVPSA_Memory.c54 LVM_UINT32 ii; in LVPSA_Memory()
55 LVM_UINT32 BufferLength; in LVPSA_Memory()
123 BufferLength=(LVM_UINT32)BL; in LVPSA_Memory()
DLVPSA_Init.c49 LVM_UINT32 ii; in LVPSA_Init()
55 LVM_UINT32 BufferLength = 0; in LVPSA_Init()
134 BufferLength=(LVM_UINT32)BL; in LVPSA_Init()
DLVPSA_Process.c68 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()
DLVPSA_Private.h135LVM_UINT32 SpectralDataBufferLength; /* Number of spectrum data value t…
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Tables.h44 extern const LVM_UINT32 LVM_FsTable[];
45 extern LVM_UINT32 LVM_GetFsFromTable(LVM_Fs_en FsIndex);
DLVREV_Tables.c45 const LVM_UINT32 LVM_FsTable[] = {
70 LVM_UINT32 LVM_GetFsFromTable(LVM_Fs_en FsIndex){ in LVM_GetFsFromTable()
DLVREV_ApplyNewSettings.c147 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/
DLVEQNB_Control.c144 extern const LVM_UINT32 LVEQNB_SampleRateTab[]; /* Sample rate table */ in LVEQNB_SetFilters()
150LVM_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/
DLVREV.h114 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/
DLVDBE_Init.c63 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/
DLVM.h526 LVM_UINT32 AudioTime);
532 LVM_UINT32 AudioTime);

12