/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}}; 84 (LVM_UINT16 )CS_SIDE_8000_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() 85 Delay = (LVM_UINT16)LVCS_StereoDelayCS[(LVM_UINT16)pParams->SampleRate]; in LVCS_ReverbGeneratorInit() 92 … (LVM_UINT16)(sizeof(pConfig->StereoSamples)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_ReverbGeneratorInit() 97 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit() 109 … (LVM_UINT16)(sizeof(pData->ReverbBiquadTaps)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_ReverbGeneratorInit() 130 pConfig->ProcGain = (LVM_UINT16)(HEADPHONEGAINPROC); in LVCS_ReverbGeneratorInit() 131 pConfig->UnprocGain = (LVM_UINT16)(HEADPHONEGAINUNPROC); in LVCS_ReverbGeneratorInit() 186 LVM_UINT16 NumSamples) in LVCS_ReverbGenerator()
|
D | LVCS_BypassMix.h | 46 LVM_UINT16 Output_Shift; /* Correcting gain output shift */ 55 LVM_UINT16 Shift; /* Left shifts required */ 56 LVM_UINT16 Loss; /* Loss required */ 57 LVM_UINT16 UnprocLoss; /* Unprocessed path loss */ 75 LVM_UINT16 NumSamples);
|
D | LVCS_StereoEnhancer.c | 57 LVM_UINT16 Offset; in LVCS_SEnhancerInit() 76 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit() 87 … (LVM_UINT16)(sizeof(pData->SEBiquadTapsMid)/sizeof(LVM_UINT16))); /* Number of words */ in LVCS_SEnhancerInit() 99 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit() 114 … (LVM_UINT16)(sizeof(pData->SEBiquadTapsSide)/sizeof(LVM_UINT16))); /* Number of words */ in LVCS_SEnhancerInit() 184 LVM_UINT16 NumSamples) in LVCS_StereoEnhancer()
|
D | LVCS_Equaliser.c | 61 LVM_UINT16 Offset; in LVCS_EqualiserInit() 78 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1+LVM_FS_48000))); in LVCS_EqualiserInit() 92 … (LVM_UINT16)(sizeof(pData->EqualiserBiquadTaps)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_EqualiserInit() 138 LVM_UINT16 NumSamples) in LVCS_Equaliser()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Private.h | 88 …LVM_UINT16 nBands; /* Number of bands of the spectrum… 89 …LVM_UINT16 MaxInputBlockSize; /* Maximum input data buffer size … 100 …LVM_UINT16 *pPostGains; /* Points a nBands elements array … 105 …LVM_UINT16 nSamplesBufferUpdate; /* Number of samples to make 20ms … 107 …LVM_UINT16 nRelevantFilters; /* Number of relevent filters depe… 108 …LVM_UINT16 LocalSamplesCount; /* Counter used to update the Spec… 110 …LVM_UINT16 DownSamplingFactor; /* Down sampling factor depending … 111 …LVM_UINT16 DownSamplingCount; /* Counter used for the downsampli… 113 …LVM_UINT16 SpectralDataBufferDuration; /* Length of the buffer in time (m…
|
D | LVPSA_Control.c | 31 LVPSA_RETURN LVPSA_BPSinglePrecCoefs( LVM_UINT16 Fs, 35 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs, 39 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs, 178 LVM_UINT16 ii; in LVPSA_ApplyNewSettings() 179 LVM_UINT16 Freq; in LVPSA_ApplyNewSettings() 182 extern LVM_UINT16 LVPSA_SampleRateTab[]; in LVPSA_ApplyNewSettings() 183 extern LVM_UINT16 LVPSA_DownSamplingFactor[]; in LVPSA_ApplyNewSettings() 200 … Freq = (LVM_UINT16) ((LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1) / (pInst->nBands + 1)); in LVPSA_ApplyNewSettings() 203 pInst->pFiltersParams[ii-1].CenterFrequency = (LVM_UINT16) (Freq * ii); in LVPSA_ApplyNewSettings() 221 pInst->nSamplesBufferUpdate = (LVM_UINT16)LVPSA_nSamplesBufferUpdate[Params.Fs]; in LVPSA_ApplyNewSettings() [all …]
|
D | LVPSA_Tables.c | 37 const LVM_UINT16 LVPSA_SampleRateTab[] = { 8000, /* 8kS/s */ 79 const LVM_UINT16 LVPSA_nSamplesBufferUpdate[] = { 160, /* 8kS/s */ 97 const LVM_UINT16 LVPSA_DownSamplingFactor[] = { 5, /* 8000 S/s */
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/ |
D | LVREV.h | 109 …LVM_UINT16 Level; /* Level, 0 to 100 representing percentage of … 110 LVM_UINT16 LPF; /* Low pass filter, in Hz */ 111 LVM_UINT16 HPF; /* High pass filter, in Hz */ 112 LVM_UINT16 T60; /* Decay time constant, in ms */ 113 …LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maxim… 114 LVM_UINT16 Damping; /* Damping */ 115 …LVM_UINT16 RoomSize; /* Simulated room size, 1 to 100 for minimum t… 124 LVM_UINT16 MaxBlockSize; /* Maximum processing block size */ 303 const LVM_UINT16 NumSamples);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 229 LVM_UINT16 Alignment; /* Region alignment in bytes */ 246 LVM_UINT16 Frequency; /* Band centre frequency in Hz */ 247 LVM_UINT16 QFactor; /* Band quality factor */ 260 LVM_UINT16 NBands; /* Number of bands */ 270 LVM_UINT16 SampleRate; 271 LVM_UINT16 SourceFormat; 272 LVM_UINT16 MaxBlockSize; 273 LVM_UINT16 MaxBands; 467 LVM_UINT16 NumSamples);
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Control.c | 113 …LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + (LVM_UINT16)(pParams->CentreFre… in LVDBE_SetFilters() 163 …pInstance->pData->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]… in LVDBE_SetAGC() 164 …pInstance->pData->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate];… in LVDBE_SetAGC() 172 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_HPFGAIN_Table[(LVM_UINT16)pParams->EffectL… in LVDBE_SetAGC() 176 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_GAIN_Table[(LVM_UINT16)pParams->EffectLeve… in LVDBE_SetAGC() 211 LVM_UINT16 dBShifts; /* 6dB shifts */ in LVDBE_SetVolume() 212 LVM_UINT16 dBOffset; /* Table offset */ in LVDBE_SetVolume() 237 dBOffset = (LVM_UINT16)(6 + Volume % 6); /* Get the dBs 0-5 */ in LVDBE_SetVolume() 238 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts */ in LVDBE_SetVolume() 247 …pInstance->pData->AGCInstance.VolumeTC = LVDBE_VolumeTCTable[(LVM_UINT16)pParams->SampleRate]; … in LVDBE_SetVolume()
|
/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 */ 520 LVM_UINT16 NumSamples,
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Buffers.c | 56 LVM_UINT16 *pNumSamples) in LVM_BufferManagedIn() 126 …*pNumSamples = (LVM_UINT16)SampleCount; /* Set the number of samples to pro… in LVM_BufferManagedIn() 220 LVM_UINT16 *pNumSamples) in LVM_BufferUnmanagedIn() 241 *pNumSamples = (LVM_UINT16)pInstance->InternalBlockSize; in LVM_BufferUnmanagedIn() 245 *pNumSamples = (LVM_UINT16)pInstance->SamplesToProcess; in LVM_BufferUnmanagedIn() 285 LVM_UINT16 *pNumSamples) in LVM_BufferOptimisedIn() 346 …*pNumSamples = (LVM_UINT16)SampleCount; /* The number of s… in LVM_BufferOptimisedIn() 380 … *pNumSamples = (LVM_UINT16)SampleCount; /* The number of samples to process */ in LVM_BufferOptimisedIn() 405 … *pNumSamples = (LVM_UINT16)SampleCount; /* The number of samples to process */ in LVM_BufferOptimisedIn() 479 LVM_UINT16 *pNumSamples) in LVM_BufferIn() [all …]
|
D | LVM_Private.h | 127 LVM_UINT16 Alignment; /* Byte alignment */ 177 LVM_UINT16 ControlPending; /* Control flag to indicate update pending */ 228 LVM_UINT16 Headroom; /* Value of the current headroom */ 269 LVM_UINT16 *pNumSamples); 273 LVM_UINT16 *pNumSamples);
|
D | LVM_Init.c | 72 LVM_UINT16 InternalBlockSize; in LVM_GetMemoryTable() 145 …InternalBlockSize = (LVM_UINT16)((pInstParams->MaxBlockSize) & MIN_INTERNAL_BLOCKMASK); /* Force t… in LVM_GetMemoryTable() 312 PSA_InitParams.SpectralDataBufferDuration = (LVM_UINT16) 500; in LVM_GetMemoryTable() 313 PSA_InitParams.MaxInputBlockSize = (LVM_UINT16) 1000; in LVM_GetMemoryTable() 314 PSA_InitParams.nBands = (LVM_UINT16) 9; in LVM_GetMemoryTable() 319 FiltersParams[i].CenterFrequency = (LVM_UINT16) 1000; in LVM_GetMemoryTable() 320 FiltersParams[i].QFactor = (LVM_UINT16) 25; in LVM_GetMemoryTable() 432 LVM_UINT16 InternalBlockSize; in LVM_GetInstanceHandle() 517 …InternalBlockSize = (LVM_UINT16)((pInstParams->MaxBlockSize) & MIN_INTERNAL_BLOCKMASK); /* Force t… in LVM_GetInstanceHandle() 656 CS_Capabilities.MaxBlockSize = (LVM_UINT16)InternalBlockSize; in LVM_GetInstanceHandle() [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 … 221 LVM_UINT16 InputBlockSize,
|
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/ |
D | LVDBE.h | 227 LVM_UINT16 Alignment; /* Region alignment in bytes */ 258 LVM_UINT16 SampleRate; /* Sampling rate capabilities */ 259 LVM_UINT16 CentreFrequency; /* Centre frequency capabilities */ 260 LVM_UINT16 MaxBlockSize; /* Maximum block size in sample pairs */ 457 LVM_UINT16 NumSamples);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
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()
|
D | LVM_Mixer_TimeConstant.c | 62 LVM_UINT16 Fs, in LVM_Mixer_TimeConstant() 63 LVM_UINT16 NumChannels) in LVM_Mixer_TimeConstant() 68 LVM_UINT16 Shift; in LVM_Mixer_TimeConstant() 142 Shift = (LVM_UINT16)((Shift << 1)); in LVM_Mixer_TimeConstant()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.c | 80 LVEQNB_ReturnStatus_en LVEQNB_DoublePrecCoefs(LVM_UINT16 Fs, in LVEQNB_DoublePrecCoefs() 94 LVM_UINT16 Frequency = pFilterDefinition->Frequency; in LVEQNB_DoublePrecCoefs() 95 LVM_UINT16 QFactor = pFilterDefinition->QFactor; in LVEQNB_DoublePrecCoefs() 209 LVEQNB_ReturnStatus_en LVEQNB_SinglePrecCoefs(LVM_UINT16 Fs, in LVEQNB_SinglePrecCoefs() 224 LVM_UINT16 Frequency = pFilterDefinition->Frequency; in LVEQNB_SinglePrecCoefs() 225 LVM_UINT16 QFactor = pFilterDefinition->QFactor; in LVEQNB_SinglePrecCoefs()
|
D | LVEQNB_Private.h | 94 LVM_UINT16 NBands; /* Number of bands */ 118 LVEQNB_ReturnStatus_en LVEQNB_SinglePrecCoefs(LVM_UINT16 Fs, 122 LVEQNB_ReturnStatus_en LVEQNB_DoublePrecCoefs(LVM_UINT16 Fs,
|
D | LVEQNB_Control.c | 144 extern const LVM_UINT16 LVEQNB_SampleRateTab[]; /* Sample rate table */ in LVEQNB_SetFilters() 145 LVM_UINT16 i; /* Filter band index */ in LVEQNB_SetFilters() 146 …LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sa… in LVEQNB_SetFilters() 217 LVM_UINT16 i; /* Filter band index */ in LVEQNB_SetCoefficients() 240 LVEQNB_DoublePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients() 260 LVEQNB_SinglePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | VectorArithmetic.h | 79 LVM_UINT16 size, /* Delay size */ 80 LVM_UINT16 *pOffset, /* Delay offset */ 102 LVM_UINT16 size, /* Delay size */ 104 LVM_UINT16 DelayOffset, /* Simple delay offset */ 105 … LVM_UINT16 *pAllPassOffset, /* All pass filter delay offset */
|