/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Tables.c | 42 (LVM_UINT16 )CS_MIDDLE_8000_SCALE}, 46 (LVM_UINT16 )CS_MIDDLE_11025_SCALE}, 50 (LVM_UINT16 )CS_MIDDLE_12000_SCALE}, 54 (LVM_UINT16 )CS_MIDDLE_16000_SCALE}, 58 (LVM_UINT16 )CS_MIDDLE_22050_SCALE}, 62 (LVM_UINT16 )CS_MIDDLE_24000_SCALE}, 66 (LVM_UINT16 )CS_MIDDLE_32000_SCALE}, 70 (LVM_UINT16 )CS_MIDDLE_44100_SCALE}, 74 (LVM_UINT16 )CS_MIDDLE_48000_SCALE} 80 (LVM_UINT16 )CS_MIDDLE_96000_SCALE}, [all …]
|
D | LVCS_Tables.h | 60 extern const LVM_UINT16 LVCS_StereoDelayCS[]; 118 extern LVM_UINT16 LVCS_MS_Small_SEMiddleGainTable[]; 122 extern LVM_UINT16 LVCS_MS_Small_StereoDelayCS4MS[]; 125 extern LVM_UINT16 LVCS_MS_Small_ReverbGainTable[]; 127 extern LVM_UINT16 LVCS_MS_Medium_SEMiddleGainTable[]; 131 extern LVM_UINT16 LVCS_MS_Medium_StereoDelayCS4MS[]; 134 extern LVM_UINT16 LVCS_MS_Medium_ReverbGainTable[]; 136 extern LVM_UINT16 LVCS_MS_Large_SEMiddleGainTable[]; 140 extern LVM_UINT16 LVCS_MS_Large_StereoDelayCS4MS[]; 143 extern LVM_UINT16 LVCS_MS_Large_ReverbGainTable[];
|
D | LVCS_ReverbGenerator.c | 65 LVM_UINT16 Delay; in LVCS_ReverbGeneratorInit() 66 LVM_UINT16 Offset; in LVCS_ReverbGeneratorInit() 92 Delay = (LVM_UINT16)LVCS_StereoDelayCS[(LVM_UINT16)pParams->SampleRate]; in LVCS_ReverbGeneratorInit() 100 (LVM_UINT16)(sizeof(pConfig->StereoSamples) / sizeof(LVM_FLOAT))); in LVCS_ReverbGeneratorInit() 104 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit() 118 (LVM_UINT16)(sizeof(pData->ReverbBiquadTaps) / sizeof(LVM_FLOAT))); in LVCS_ReverbGeneratorInit() 139 pConfig->ProcGain = (LVM_UINT16)(HEADPHONEGAINPROC); in LVCS_ReverbGeneratorInit() 140 pConfig->UnprocGain = (LVM_UINT16)(HEADPHONEGAINUNPROC); in LVCS_ReverbGeneratorInit() 156 LVM_UINT16 Delay; in LVCS_ReverbGeneratorInit() 157 LVM_UINT16 Offset; in LVCS_ReverbGeneratorInit() [all …]
|
D | LVCS_BypassMix.h | 50 LVM_UINT16 Output_Shift; /* Correcting gain output shift */ 59 LVM_UINT16 Shift; /* Left shifts required */ 60 LVM_UINT16 Loss; /* Loss required */ 61 LVM_UINT16 UnprocLoss; /* Unprocessed path loss */ 67 LVM_UINT16 Shift; /* Left shifts required */ 86 LVM_UINT16 NumSamples); 92 LVM_UINT16 NumSamples);
|
D | LVCS_StereoEnhancer.c | 57 LVM_UINT16 Offset; in LVCS_SEnhancerInit() 83 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit() 95 (LVM_UINT16)(sizeof(pData->SEBiquadTapsMid) / sizeof(LVM_FLOAT))); in LVCS_SEnhancerInit() 107 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit() 123 (LVM_UINT16)(sizeof(pData->SEBiquadTapsSide) / sizeof(LVM_FLOAT))); in LVCS_SEnhancerInit() 153 LVM_UINT16 Offset; in LVCS_SEnhancerInit() 172 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit() 183 … (LVM_UINT16)(sizeof(pData->SEBiquadTapsMid)/sizeof(LVM_UINT16))); /* Number of words */ in LVCS_SEnhancerInit() 195 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit() 210 … (LVM_UINT16)(sizeof(pData->SEBiquadTapsSide)/sizeof(LVM_UINT16))); /* Number of words */ in LVCS_SEnhancerInit() [all …]
|
D | LVCS_Equaliser.c | 61 LVM_UINT16 Offset; in LVCS_EqualiserInit() 83 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1 + LVM_FS_48000))); in LVCS_EqualiserInit() 98 (LVM_UINT16)(sizeof(pData->EqualiserBiquadTaps) / sizeof(LVM_FLOAT))); in LVCS_EqualiserInit() 126 LVM_UINT16 Offset; in LVCS_EqualiserInit() 143 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1+LVM_FS_48000))); in LVCS_EqualiserInit() 157 … (LVM_UINT16)(sizeof(pData->EqualiserBiquadTaps)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_EqualiserInit() 203 LVM_UINT16 NumSamples) in LVCS_Equaliser() 233 LVM_UINT16 NumSamples) in LVCS_Equaliser()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/ |
D | LVREV.h | 109 …LVM_UINT16 Level; /* Level, 0 to 100 representing percentage of … 111 LVM_UINT16 LPF; /* Low pass filter, in Hz */ 112 LVM_UINT16 HPF; /* High pass filter, in Hz */ 118 LVM_UINT16 T60; /* Decay time constant, in ms */ 119 …LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maxim… 120 LVM_UINT16 Damping; /* Damping */ 121 …LVM_UINT16 RoomSize; /* Simulated room size, 1 to 100 for minimum t… 130 LVM_UINT16 MaxBlockSize; /* Maximum processing block size */ 310 const LVM_UINT16 NumSamples); 315 const LVM_UINT16 NumSamples);
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Private.h | 91 …LVM_UINT16 nBands; /* Number of bands of the spectrum… 92 …LVM_UINT16 MaxInputBlockSize; /* Maximum input data buffer size … 115 …LVM_UINT16 *pPostGains; /* Points a nBands elements array … 123 …LVM_UINT16 nSamplesBufferUpdate; /* Number of samples to make 20ms … 125 …LVM_UINT16 nRelevantFilters; /* Number of relevent filters depe… 126 …LVM_UINT16 LocalSamplesCount; /* Counter used to update the Spec… 128 …LVM_UINT16 DownSamplingFactor; /* Down sampling factor depending … 129 …LVM_UINT16 DownSamplingCount; /* Counter used for the downsampli… 131 …LVM_UINT16 SpectralDataBufferDuration; /* Length of the buffer in time (m…
|
D | LVPSA_Control.c | 32 LVPSA_RETURN LVPSA_BPSinglePrecCoefs( LVM_UINT16 Fs, 36 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs, 40 LVPSA_RETURN LVPSA_BPSinglePrecCoefs( LVM_UINT16 Fs, 44 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs, 48 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs, 187 LVM_UINT16 ii; in LVPSA_ApplyNewSettings() 188 LVM_UINT16 Freq; in LVPSA_ApplyNewSettings() 192 extern LVM_UINT16 LVPSA_SampleRateTab[]; in LVPSA_ApplyNewSettings() 196 extern LVM_UINT16 LVPSA_DownSamplingFactor[]; in LVPSA_ApplyNewSettings() 213 … Freq = (LVM_UINT16) ((LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1) / (pInst->nBands + 1)); in LVPSA_ApplyNewSettings() [all …]
|
D | LVPSA_Tables.c | 38 const LVM_UINT16 LVPSA_SampleRateTab[] = { 8000, /* 8kS/s */ 98 const LVM_UINT16 LVPSA_nSamplesBufferUpdate[] = { 160, /* 8kS/s */ 121 const LVM_UINT16 LVPSA_DownSamplingFactor[] = { 5, /* 8000 S/s */
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 237 LVM_UINT16 Alignment; /* Region alignment in bytes */ 254 LVM_UINT16 Frequency; /* Band centre frequency in Hz */ 255 LVM_UINT16 QFactor; /* Band quality factor */ 268 LVM_UINT16 NBands; /* Number of bands */ 278 LVM_UINT16 SampleRate; 280 LVM_UINT16 SourceFormat; 281 LVM_UINT16 MaxBlockSize; 282 LVM_UINT16 MaxBands; 476 LVM_UINT16 NumSamples); 481 LVM_UINT16 NumSamples);
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Control.c | 114 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters() 115 (LVM_UINT16)(pParams->CentreFrequency * (1+LVDBE_FS_192000))); in LVDBE_SetFilters() 120 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters() 121 … (LVM_UINT16)(pParams->CentreFrequency * (1+LVDBE_FS_48000))); in LVDBE_SetFilters() 196 …pInstance->pData->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]… in LVDBE_SetAGC() 197 …pInstance->pData->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate];… in LVDBE_SetAGC() 205 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_HPFGAIN_Table[(LVM_UINT16)pParams->EffectL… in LVDBE_SetAGC() 209 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_GAIN_Table[(LVM_UINT16)pParams->EffectLeve… in LVDBE_SetAGC() 246 LVM_UINT16 dBShifts; /* 6dB shifts */ in LVDBE_SetVolume() 247 LVM_UINT16 dBOffset; /* Table offset */ in LVDBE_SetVolume() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 247 LVM_UINT16 Frequency; /* Band centre frequency in Hz */ 248 LVM_UINT16 QFactor; /* Band quality factor (x100) */ 255 … LVM_UINT16 Limit_Low; /* Low frequency limit of the band in Hertz */ 256 …LVM_UINT16 Limit_High; /* High frequency limit of the band in Hertz */ 273 LVM_UINT16 VirtualizerReverbLevel; /* Virtualizer reverb level in % */ 278 LVM_UINT16 EQNB_NBands; /* Number of bands */ 308 LVM_UINT16 MaxBlockSize; /* Maximum processing block size */ 311 LVM_UINT16 EQNB_NumBands; /* Maximum number of equaliser bands */ 322 LVM_UINT16 NHeadroomBands; /* Number of headroom bands */ 521 LVM_UINT16 NumSamples, [all …]
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/ |
D | LVPSA.h | 65 …LVM_UINT16 CenterFrequency; /* Center frequency of the band-pass filte… 66 …LVM_UINT16 QFactor; /* Quality factor of the filter … 74 …LVM_UINT16 SpectralDataBufferDuration; /* Spectral data buffer duration in time (… 75 …LVM_UINT16 MaxInputBlockSize; /* Maximum expected input block size (in s… 76 …LVM_UINT16 nBands; /* Number of bands of the SA … 222 LVM_UINT16 InputBlockSize, 227 LVM_UINT16 InputBlockSize,
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Buffers.c | 56 LVM_UINT16 *pNumSamples) in LVM_BufferManagedIn() 127 *pNumSamples = (LVM_UINT16)SampleCount; /* Set the number of samples to process this call */ in LVM_BufferManagedIn() 201 LVM_UINT16 *pNumSamples) in LVM_BufferManagedIn() 271 …*pNumSamples = (LVM_UINT16)SampleCount; /* Set the number of samples to pro… in LVM_BufferManagedIn() 365 LVM_UINT16 *pNumSamples) in LVM_BufferUnmanagedIn() 387 *pNumSamples = (LVM_UINT16)pInstance->InternalBlockSize; in LVM_BufferUnmanagedIn() 391 *pNumSamples = (LVM_UINT16)pInstance->SamplesToProcess; in LVM_BufferUnmanagedIn() 405 LVM_UINT16 *pNumSamples) in LVM_BufferUnmanagedIn() 426 *pNumSamples = (LVM_UINT16)pInstance->InternalBlockSize; in LVM_BufferUnmanagedIn() 430 *pNumSamples = (LVM_UINT16)pInstance->SamplesToProcess; in LVM_BufferUnmanagedIn() [all …]
|
D | LVM_Private.h | 127 LVM_UINT16 Alignment; /* Byte alignment */ 200 LVM_UINT16 ControlPending; /* Control flag to indicate update pending */ 268 LVM_UINT16 Headroom; /* Value of the current headroom */ 313 LVM_UINT16 *pNumSamples); 319 LVM_UINT16 *pNumSamples); 324 LVM_UINT16 *pNumSamples); 328 LVM_UINT16 *pNumSamples);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVM_Mixer_TimeConstant.c | 65 LVM_UINT16 Fs, in LVM_Mixer_TimeConstant() 67 LVM_UINT16 NumChannels) in LVM_Mixer_TimeConstant() 74 LVM_UINT16 Shift; in LVM_Mixer_TimeConstant() 147 Shift = (LVM_UINT16)((Shift << 1)); in LVM_Mixer_TimeConstant() 165 LVM_UINT16 Fs, in LVM_Mixer_TimeConstant() 166 LVM_UINT16 NumChannels) in LVM_Mixer_TimeConstant() 171 LVM_UINT16 Shift; in LVM_Mixer_TimeConstant() 245 Shift = (LVM_UINT16)((Shift << 1)); in LVM_Mixer_TimeConstant()
|
D | Filters.h | 45 LVM_UINT16 Scale; 55 LVM_UINT16 Scale; 68 LVM_UINT16 Scale; 76 LVM_UINT16 Scale;
|
D | DelayAllPass_Sat_32x16To32.c | 31 LVM_UINT16 size, /* Delay size */ in DelayAllPass_Sat_32x16To32() 33 LVM_UINT16 DelayOffset, /* Simple delay offset */ in DelayAllPass_Sat_32x16To32() 34 … LVM_UINT16 *pAllPassOffset, /* All pass filter delay offset */ in DelayAllPass_Sat_32x16To32() 39 LVM_UINT16 AllPassOffset = *pAllPassOffset; in DelayAllPass_Sat_32x16To32()
|
D | DelayWrite_32.c | 30 LVM_UINT16 size, /* Delay size */ in DelayWrite_32() 31 LVM_UINT16 *pOffset, /* Delay offset */ in DelayWrite_32() 51 *pOffset = (LVM_UINT16)Offset; in DelayWrite_32()
|
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/ |
D | LVDBE.h | 235 LVM_UINT16 Alignment; /* Region alignment in bytes */ 266 LVM_UINT16 SampleRate; /* Sampling rate capabilities */ 267 LVM_UINT16 CentreFrequency; /* Centre frequency capabilities */ 268 LVM_UINT16 MaxBlockSize; /* Maximum block size in sample pairs */ 465 LVM_UINT16 NumSamples); 470 LVM_UINT16 NumSamples);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.c | 83 LVEQNB_ReturnStatus_en LVEQNB_DoublePrecCoefs(LVM_UINT16 Fs, in LVEQNB_DoublePrecCoefs() 97 LVM_UINT16 Frequency = pFilterDefinition->Frequency; in LVEQNB_DoublePrecCoefs() 98 LVM_UINT16 QFactor = pFilterDefinition->QFactor; in LVEQNB_DoublePrecCoefs() 212 LVEQNB_ReturnStatus_en LVEQNB_SinglePrecCoefs(LVM_UINT16 Fs, in LVEQNB_SinglePrecCoefs() 226 LVM_UINT16 Frequency = pFilterDefinition->Frequency; in LVEQNB_SinglePrecCoefs() 272 LVEQNB_ReturnStatus_en LVEQNB_SinglePrecCoefs(LVM_UINT16 Fs, in LVEQNB_SinglePrecCoefs() 287 LVM_UINT16 Frequency = pFilterDefinition->Frequency; in LVEQNB_SinglePrecCoefs() 288 LVM_UINT16 QFactor = pFilterDefinition->QFactor; in LVEQNB_SinglePrecCoefs()
|
D | LVEQNB_Private.h | 106 LVM_UINT16 NBands; /* Number of bands */ 135 LVEQNB_ReturnStatus_en LVEQNB_SinglePrecCoefs(LVM_UINT16 Fs, 139 LVEQNB_ReturnStatus_en LVEQNB_SinglePrecCoefs(LVM_UINT16 Fs, 143 LVEQNB_ReturnStatus_en LVEQNB_DoublePrecCoefs(LVM_UINT16 Fs,
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | Filter.h | 46 LVM_FLOAT LVM_Polynomial(LVM_UINT16 N, 52 LVM_FLOAT LVM_GetOmega(LVM_UINT16 Fc, 62 LVM_INT32 LVM_Polynomial(LVM_UINT16 N, 74 LVM_INT32 LVM_GetOmega(LVM_UINT16 Fc,
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/ |
D | LVCS.h | 207 LVM_UINT16 ReverbLevel; /* Reverb level in % */ 215 LVM_UINT16 MaxBlockSize; /* Maximum block size in sample pairs */ 381 LVM_UINT16 NumSamples); 386 LVM_UINT16 NumSamples);
|