/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | VectorArithmetic.h | 27 void Copy_Float(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 n); 28 void Copy_Float_Mc_Stereo(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 NrFrames, 31 LVM_INT16 NrFrames, LVM_INT32 NrChannels); 33 void Mult3s_Float(const LVM_FLOAT* src, const LVM_FLOAT val, LVM_FLOAT* dst, LVM_INT16 n); 37 LVM_INT16 size, /* Delay size */ 39 LVM_INT16* pOffset, /* Delay offset */ 40 LVM_INT16 n, /* Number of stereo samples */ 42 void Add2_Sat_Float(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 n); 43 void Mac3s_Sat_Float(const LVM_FLOAT* src, const LVM_FLOAT val, LVM_FLOAT* dst, LVM_INT16 n); 48 void Shift_Sat_Float(const LVM_INT16 val, const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 n); [all …]
|
D | CompLim.h | 38 LVM_INT16 Norm_Attack; /* Attack time constant of the Normaliser integrator */ 39 LVM_INT16 Norm_Decay; /* Decay time constant of the Normaliser integrator */ 41 LVM_INT16 Shift; /* Shift gain */ 42 LVM_INT16 Threshold; /* Target threshold */ 45 LVM_INT16 Comp_Atten; /* Attenuation applied before soft knee compressor */ 46 LVM_INT16 Comp_Attack_S; /* Attack time constant of the slow integrator */ 47 LVM_INT16 Comp_Decay_S; /* Decay time constant of slow the integrator */ 48 LVM_INT16 Comp_Attack_F; /* Attack time constant of fast the integrator */ 49 LVM_INT16 Comp_Decay_F; /* Decay time constant of fast the integrator */ 50 LVM_INT16 SoftClipGain; /* Soft clip gain control */
|
D | Mixer.h | 33 LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application \ 35 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */ 44 LVM_INT16 CallbackSet1; 45 LVM_INT16 CallbackParam1; 54 LVM_INT16 CallbackSet2; 55 LVM_INT16 CallbackParam2; 66 LVM_INT16 n); 69 const LVM_FLOAT* src2, LVM_FLOAT* dst, LVM_INT16 n); 72 LVM_INT16 n); 78 LVM_FLOAT* dst, LVM_INT16 n); [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_Process.cpp | 102 (LVM_INT16)(NumSamples << 1)); // 32 bit data, stereo in LVREV_Process() 122 RemainingSamples = (LVM_INT16)(RemainingSamples - SamplesToProcess); in LVREV_Process() 160 LVM_INT16 j, size; in ReverbBlock() 198 From2iToMono_Float(pInput, pTemp, (LVM_INT16)NumSamples); in ReverbBlock() 202 Mult3s_Float(pIn, (LVM_FLOAT)LVREV_HEADROOM, pTemp, (LVM_INT16)NumSamples); in ReverbBlock() 226 pPrivate->pOffsetB[j], pDelayLine, (LVM_INT16)NumSamples); in ReverbBlock() 230 (LVM_INT16)(pPrivate->T[j] - NumSamples)); /* 32-bit data */ in ReverbBlock() 234 (LVM_INT16)NumSamples); in ReverbBlock() 239 (LVM_INT16)NumSamples); in ReverbBlock() 244 (LVM_INT16)NumSamples); in ReverbBlock() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Buffers.cpp | 54 LVM_INT16 SampleCount; /* Number of samples to be processed this call */ in LVM_BufferManagedIn() 55 LVM_INT16 NumSamples; /* Number of samples in scratch buffer */ in LVM_BufferManagedIn() 60 LVM_INT16 NumChannels = pInstance->NrChannels; in LVM_BufferManagedIn() 77 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn() 98 LVM_INT16 NumFrames; in LVM_BufferManagedIn() 101 NumFrames = (LVM_INT16)(NumSamples >> MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn() 102 SampleCount = (LVM_INT16)(NumFrames << MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn() 122 (LVM_INT16)(NumChannels * pBuffer->InDelaySamples)); /* Number of delay \ in LVM_BufferManagedIn() 124 NumSamples = (LVM_INT16)(NumSamples - pBuffer->InDelaySamples); /* Update sample count */ in LVM_BufferManagedIn() 134 (LVM_INT16)(NumChannels * NumSamples)); /* Number of input samples */ in LVM_BufferManagedIn() [all …]
|
D | LVM_Private.h | 122 LVM_INT16 BufferState; /* Buffer status */ 124 LVM_INT16 InDelaySamples; /* Number of samples in the input delay buffer */ 126 LVM_INT16 OutDelaySamples; /* Number of samples in the output delay buffer, \ 128 LVM_INT16 SamplesToOutput; /* Samples to write to the output */ 142 LVM_INT16 InternalBlockSize; /* Maximum internal block size */ 144 LVM_INT16 SamplesToProcess; /* Input samples left to process */ 158 LVM_INT16 CS_Active; /* Control flag */ 165 LVM_INT16 EQNB_Active; /* Control flag */ 170 LVM_INT16 DBE_Active; /* Control flag */ 175 LVM_INT16 VC_VolumedB; /* Gain in dB */ [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVC_Mixer.h | 31 LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application \ 33 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */ 70 LVM_INT16 NumChannels); 73 LVM_Fs_en Fs, LVM_INT16 NumChannels); 78 LVM_FLOAT* dst, LVM_INT16 n); 80 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels); 83 LVM_FLOAT* dst, LVM_INT16 n); 85 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels); 90 LVM_INT16 n); 94 LVM_INT16 NrFrames, LVM_INT16 NrChannels); [all …]
|
D | LVC_Mixer_Private.h | 49 LVM_FLOAT* dst, LVM_INT16 n); 51 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels); 53 LVM_FLOAT* dst, LVM_INT16 n); 55 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels); 58 LVM_INT16 n); 67 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels); 76 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels);
|
D | LVC_Core_MixInSoft_D16C31_SAT.cpp | 29 LVM_FLOAT* dst, LVM_INT16 n) { in LVC_Core_MixInSoft_D16C31_SAT() 30 LVM_INT16 OutLoop; in LVC_Core_MixInSoft_D16C31_SAT() 31 LVM_INT16 InLoop; in LVC_Core_MixInSoft_D16C31_SAT() 39 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixInSoft_D16C31_SAT() 40 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixInSoft_D16C31_SAT() 105 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixInSoft_Mc_D16C31_SAT() 106 LVM_INT16 OutLoop; in LVC_Core_MixInSoft_Mc_D16C31_SAT() 107 LVM_INT16 InLoop; in LVC_Core_MixInSoft_Mc_D16C31_SAT() 120 InLoop = (LVM_INT16)(NrFrames >> 1); in LVC_Core_MixInSoft_Mc_D16C31_SAT() 122 OutLoop = (LVM_INT16)(NrFrames - (InLoop << 1)); in LVC_Core_MixInSoft_Mc_D16C31_SAT()
|
D | LVC_Core_MixSoft_1St_D16C31_WRA.cpp | 29 LVM_FLOAT* dst, LVM_INT16 n) { in LVC_Core_MixSoft_1St_D16C31_WRA() 30 LVM_INT16 OutLoop; in LVC_Core_MixSoft_1St_D16C31_WRA() 31 LVM_INT16 InLoop; in LVC_Core_MixSoft_1St_D16C31_WRA() 38 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixSoft_1St_D16C31_WRA() 39 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixSoft_1St_D16C31_WRA() 102 LVM_FLOAT* dst, LVM_INT16 NrFrames, LVM_INT16 NrChannels) { in LVC_Core_MixSoft_Mc_D16C31_WRA() 103 LVM_INT16 OutLoop; in LVC_Core_MixSoft_Mc_D16C31_WRA() 104 LVM_INT16 InLoop; in LVC_Core_MixSoft_Mc_D16C31_WRA() 116 InLoop = (LVM_INT16)(NrFrames >> 1); in LVC_Core_MixSoft_Mc_D16C31_WRA() 118 OutLoop = (LVM_INT16)(NrFrames - (InLoop << 1)); in LVC_Core_MixSoft_Mc_D16C31_WRA()
|
D | Core_MixInSoft_D32C31_SAT.cpp | 30 LVM_INT16 n) { in Core_MixInSoft_D32C31_SAT() 32 LVM_INT16 OutLoop; in Core_MixInSoft_D32C31_SAT() 33 LVM_INT16 InLoop; in Core_MixInSoft_D32C31_SAT() 36 LVM_INT16 ii, jj; in Core_MixInSoft_D32C31_SAT() 38 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in Core_MixInSoft_D32C31_SAT() 39 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in Core_MixInSoft_D32C31_SAT()
|
D | Copy_16.cpp | 24 void Copy_Float(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 n) { in Copy_Float() 30 LVM_INT16 NrFrames, /* Number of frames */ in Copy_Float_Mc_Stereo() 32 LVM_INT16 ii; in Copy_Float_Mc_Stereo() 55 LVM_INT16 NrFrames, /* Number of frames*/ in Copy_Float_Stereo_Mc() 57 LVM_INT16 ii, jj; in Copy_Float_Stereo_Mc() 79 (LVM_INT16)NrFrames); /* Number of frames */ in Copy_Float_Stereo_Mc()
|
D | From2iToMono_32.cpp | 24 void From2iToMono_Float(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 n) { in From2iToMono_Float() 25 LVM_INT16 ii; in From2iToMono_Float() 58 void FromMcToMono_Float(const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 NrFrames, in FromMcToMono_Float() 59 LVM_INT16 NrChannels) { in FromMcToMono_Float() 60 LVM_INT16 ii, jj; in FromMcToMono_Float()
|
D | Core_MixSoft_1St_D32C31_WRA.cpp | 29 LVM_FLOAT* dst, LVM_INT16 n) { in Core_MixSoft_1St_D32C31_WRA() 31 LVM_INT16 OutLoop; in Core_MixSoft_1St_D32C31_WRA() 32 LVM_INT16 InLoop; in Core_MixSoft_1St_D32C31_WRA() 36 LVM_INT16 ii; in Core_MixSoft_1St_D32C31_WRA() 38 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in Core_MixSoft_1St_D32C31_WRA() 39 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in Core_MixSoft_1St_D32C31_WRA()
|
D | DelayMix_16x16.cpp | 26 LVM_INT16 size, /* Delay size */ in DelayMix_Float() 28 LVM_INT16* pOffset, /* Delay offset */ in DelayMix_Float() 29 LVM_INT16 n, /* Number of samples */ in DelayMix_Float() 32 LVM_INT16 i; in DelayMix_Float() 33 LVM_INT16 Offset = *pOffset; in DelayMix_Float()
|
D | Shift_Sat_v32xv32.cpp | 27 void Shift_Sat_Float(const LVM_INT16 val, const LVM_FLOAT* src, LVM_FLOAT* dst, LVM_INT16 n) { in Shift_Sat_Float() 30 LVM_INT16 RShift; in Shift_Sat_Float() 47 RShift = (LVM_INT16)(-val); in Shift_Sat_Float()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_QPD_Process.cpp | 37 void LVPSA_QPD_WritePeak(pLVPSA_InstancePr_t pLVPSA_Inst, LVM_UINT8** ppWrite, LVM_INT16 BandIndex, 38 LVM_INT16 Value); 41 LVM_INT16 BandIndex, LVM_FLOAT Value); 55 void LVPSA_QPD_Process_Float(void* hInstance, LVM_FLOAT* pInSamps, LVM_INT16 numSamples, in LVPSA_QPD_Process_Float() 56 LVM_INT16 BandIndex) { in LVPSA_QPD_Process_Float() 78 LVM_INT16 ii = numSamples; in LVPSA_QPD_Process_Float() 90 ii = (LVM_INT16)(ii - (LVM_INT16)pLVPSA_Inst->DownSamplingCount); in LVPSA_QPD_Process_Float() 136 ii = (LVM_INT16)(ii - DownSamplingFactor); in LVPSA_QPD_Process_Float() 177 void LVPSA_QPD_WritePeak(pLVPSA_InstancePr_t pLVPSA_Inst, LVM_UINT8** ppWrite, LVM_INT16 BandIndex, in LVPSA_QPD_WritePeak() 178 LVM_INT16 Value) { in LVPSA_QPD_WritePeak() [all …]
|
D | LVPSA_QPD.h | 69 void LVPSA_QPD_Process(void* hInstance, LVM_INT16* pInSamps, LVM_INT16 numSamples, 70 LVM_INT16 BandIndex); 72 void LVPSA_QPD_Process_Float(void* hInstance, LVM_FLOAT* pInSamps, LVM_INT16 numSamples, 73 LVM_INT16 BandIndex);
|
D | LVPSA_Tables.h | 76 extern const LVM_INT16 LVPSA_TwoPiOnFsTable[]; 82 extern const LVM_INT16 LVPSA_GainTable[]; 100 extern const LVM_INT16 LVPSA_CosCoef[]; 117 extern const LVM_INT16 LVPSA_DPCosCoef[];
|
D | LVPSA_Tables.cpp | 109 const LVM_INT16 LVPSA_TwoPiOnFsTable[] = { 123 const LVM_INT16 LVPSA_GainTable[] = {364, /* -15dB gain */ 152 const LVM_INT16 LVPSA_CosCoef[] = {3, /* Shifts */ 180 const LVM_INT16 LVPSA_DPCosCoef[] = {1, /* Shifts */
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Process.cpp | 119 Copy_Float(pInData, pScratch, (LVM_INT16)NrSamples); in LVDBE_Process() 133 (LVM_INT16)NrFrames, /* Number of frames */ in LVDBE_Process() 134 (LVM_INT16)NrChannels); in LVDBE_Process() 164 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVDBE_Process() 174 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVDBE_Process()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Process.cpp | 93 (LVM_INT16)NrSamples); in LVEQNB_Process() 126 (LVM_INT16)NrFrames, (LVM_INT16)NrChannels); in LVEQNB_Process() 130 (LVM_INT16)NrSamples); /* All channel samples */ in LVEQNB_Process() 134 (LVM_INT16)NrSamples); /* All channel samples */ in LVEQNB_Process() 143 (LVM_INT16)NrSamples); /* All channel samples */ in LVEQNB_Process()
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_ReverbGenerator.h | 47 LVM_INT16 DelaySize; 48 LVM_INT16 DelayOffset; 49 LVM_INT16 ProcGain; 50 LVM_INT16 UnprocGain;
|
D | LVCS_StereoEnhancer.cpp | 142 Copy_Float((LVM_FLOAT*)pInData, (LVM_FLOAT*)pScratch, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer() 144 From2iToMS_Float(pInData, pScratch, pScratch + NumSamples, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer() 156 (LVM_INT16)NumSamples); /* Number of samples */ in LVCS_StereoEnhancer() 170 Copy_Float((LVM_FLOAT*)pScratch, (LVM_FLOAT*)pOutData, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer() 175 MSTo2i_Sat_Float(pScratch, pScratch + NumSamples, pOutData, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer() 184 (LVM_INT16)destNumSamples); /* Number of frames */ in LVCS_StereoEnhancer()
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 193 LVM_INT16 Gain; /* Band gain in dB */ 202 LVM_INT16 Headroom_Offset; /* Headroom = biggest band gain - Headroom_Offset */ 217 LVM_INT16 CS_EffectLevel; /* Concert Sound effect level */ 226 LVM_INT16 BE_EffectLevel; /* Bass Enhancement effect level */ 231 LVM_INT16 VC_EffectLevel; /* Volume Control setting in dBs */ 232 LVM_INT16 VC_Balance; /* Left Right Balance control in dB (-96 to 96 dB), -ve values reduce 237 LVM_INT16 TE_EffectLevel; /* Treble Enhancement gain dBs */
|