Home
last modified time | relevance | path

Searched refs:LVM_INT16 (Results 1 – 25 of 122) sorted by relevance

12345

/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h29 LVM_INT16 n );
33 LVM_INT16 n );
37 LVM_INT16 NrFrames,
42 LVM_INT16 NrFrames,
57 LVM_INT16 n);
68 const LVM_INT16 val,
70 LVM_INT16 n);
73 LVM_INT16 size, /* Delay size */
75 LVM_INT16 *pOffset, /* Delay offset */
76 LVM_INT16 n) ; /* Number of stereo samples */
[all …]
DBIQUAD.h137 LVM_INT16 NrSamples);
142 LVM_INT16 NrSamples);
147 LVM_INT16 NrSamples);
156 LVM_INT16 NrSamples);
161 LVM_INT16 NrSamples);
170 LVM_INT16 NrSamples);
179 LVM_INT16 NrSamples);
187 LVM_INT16 NrSamples);
192 LVM_INT16 NrFrames,
193 LVM_INT16 NrChannels);
[all …]
DCompLim.h38 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 */
DMixer.h34 LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application \
36 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
46 LVM_INT16 CallbackSet1;
47 LVM_INT16 CallbackParam1;
56 LVM_INT16 CallbackSet2;
57 LVM_INT16 CallbackParam2;
72 LVM_INT16 n);
78 LVM_INT16 n);
83 LVM_INT16 n);
91 LVM_INT16 n);
[all …]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.cpp112 (LVM_INT16)(NumSamples << 1)); // 32 bit data, stereo in LVREV_Process()
135 RemainingSamples = (LVM_INT16)(RemainingSamples - SamplesToProcess); in LVREV_Process()
176 LVM_INT16 j, size; in ReverbBlock()
224 (LVM_INT16)NumSamples); in ReverbBlock()
231 (LVM_INT16)NumSamples); in ReverbBlock()
239 (LVM_INT16)NumSamples); in ReverbBlock()
246 (LVM_INT16)NumSamples); in ReverbBlock()
264 (LVM_INT16)NumSamples); in ReverbBlock()
269 (LVM_INT16)(pPrivate->T[j] - NumSamples)); /* 32-bit data */ in ReverbBlock()
274 (LVM_INT16)NumSamples); in ReverbBlock()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.cpp59 LVM_INT16 SampleCount; /* Number of samples to be processed this call */ in LVM_BufferManagedIn()
60 LVM_INT16 NumSamples; /* Number of samples in scratch buffer */ in LVM_BufferManagedIn()
66 LVM_INT16 NumChannels = pInstance->NrChannels; in LVM_BufferManagedIn()
68 LVM_INT16 NumChannels = 2; in LVM_BufferManagedIn()
87 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn()
111 LVM_INT16 NumFrames; in LVM_BufferManagedIn()
114 NumFrames = (LVM_INT16)(NumSamples >> MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn()
115 SampleCount = (LVM_INT16)(NumFrames << MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn()
140 (LVM_INT16)(NumChannels * pBuffer->InDelaySamples)); /* Number of delay \ in LVM_BufferManagedIn()
142 NumSamples = (LVM_INT16)(NumSamples - pBuffer->InDelaySamples); /* Update sample count */ in LVM_BufferManagedIn()
[all …]
DLVM_Private.h136 LVM_INT16 BufferState; /* Buffer status */
143 LVM_INT16 InDelaySamples; /* Number of samples in the input delay buffer */
150 LVM_INT16 OutDelaySamples; /* Number of samples in the output delay buffer, \
152 LVM_INT16 SamplesToOutput; /* Samples to write to the output */
179 LVM_INT16 InternalBlockSize; /* Maximum internal block size */
181 LVM_INT16 SamplesToProcess; /* Input samples left to process */
195 LVM_INT16 CS_Active; /* Control flag */
202 LVM_INT16 EQNB_Active; /* Control flag */
207 LVM_INT16 DBE_Active; /* Control flag */
212 LVM_INT16 VC_VolumedB; /* Gain in dB */
[all …]
DLVM_Process.cpp136 (LVM_INT16)NumSamples); /* Number of input samples */ in LVM_Process()
186 (LVM_INT16)(NrFrames), in LVM_Process()
192 (LVM_INT16)(2 * SampleCount)); /* Left and right*/ in LVM_Process()
230 (LVM_INT16)(NrChannels * NrFrames)); /* Copy all samples */ in LVM_Process()
234 (LVM_INT16)(2 * SampleCount)); /* Left and right */ in LVM_Process()
250 (LVM_INT16)NrFrames, in LVM_Process()
251 (LVM_INT16)NrChannels); in LVM_Process()
256 (LVM_INT16)SampleCount); in LVM_Process()
289 (LVM_INT16)(NrFrames), in LVM_Process()
294 (LVM_INT16)(SampleCount)); in LVM_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DDelayMix_16x16.cpp28 void DelayMix_16x16(const LVM_INT16 *src, /* Source 1, to be delayed */ in DelayMix_16x16()
29 LVM_INT16 *delay, /* Delay buffer */ in DelayMix_16x16()
30 LVM_INT16 size, /* Delay size */ in DelayMix_16x16()
31 LVM_INT16 *dst, /* Source/destination */ in DelayMix_16x16()
32 LVM_INT16 *pOffset, /* Delay offset */ in DelayMix_16x16()
33 LVM_INT16 n) /* Number of stereo samples */ in DelayMix_16x16()
35 LVM_INT16 i; in DelayMix_16x16()
36 LVM_INT16 Offset = *pOffset; in DelayMix_16x16()
37 LVM_INT16 temp; in DelayMix_16x16()
42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
[all …]
DLVC_Mixer.h32 LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application \
34 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
78 LVM_INT16 NumChannels);
83 LVM_INT16 NumChannels);
90 LVM_INT16 n);
95 LVM_INT16 NrFrames,
96 LVM_INT16 NrChannels);
102 LVM_INT16 n);
107 LVM_INT16 NrFrames,
108 LVM_INT16 NrChannels);
[all …]
DLVC_Mixer_Private.h52 LVM_INT16 n);
57 LVM_INT16 NrFrames,
58 LVM_INT16 NrChannels);
63 LVM_INT16 n);
68 LVM_INT16 NrFrames,
69 LVM_INT16 NrChannels);
76 LVM_INT16 n);
88 LVM_INT16 NrFrames,
89 LVM_INT16 NrChannels);
95 LVM_INT16 n);
[all …]
DFrom2iToMS_16x16.cpp28 void From2iToMS_16x16( const LVM_INT16 *src, in From2iToMS_16x16()
29 LVM_INT16 *dstM, in From2iToMS_16x16()
30 LVM_INT16 *dstS, in From2iToMS_16x16()
31 LVM_INT16 n ) in From2iToMS_16x16()
34 LVM_INT16 ii; in From2iToMS_16x16()
45 *dstM = (LVM_INT16)temp1; in From2iToMS_16x16()
50 *dstS = (LVM_INT16)temp1; in From2iToMS_16x16()
59 LVM_INT16 n ) in From2iToMS_Float()
62 LVM_INT16 ii; in From2iToMS_Float()
DMSTo2i_Sat_16x16.cpp28 void MSTo2i_Sat_16x16(const LVM_INT16 *srcM, in MSTo2i_Sat_16x16()
29 const LVM_INT16 *srcS, in MSTo2i_Sat_16x16()
30 LVM_INT16 *dst, in MSTo2i_Sat_16x16()
31 LVM_INT16 n ) in MSTo2i_Sat_16x16()
34 LVM_INT16 ii; in MSTo2i_Sat_16x16()
56 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16()
72 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16()
82 LVM_INT16 n ) in MSTo2i_Sat_Float()
85 LVM_INT16 ii; in MSTo2i_Sat_Float()
DMac3s_Sat_16x16.cpp38 void Mac3s_Sat_16x16( const LVM_INT16 *src, in Mac3s_Sat_16x16()
39 const LVM_INT16 val, in Mac3s_Sat_16x16()
40 LVM_INT16 *dst, in Mac3s_Sat_16x16()
41 LVM_INT16 n) in Mac3s_Sat_16x16()
43 LVM_INT16 ii; in Mac3s_Sat_16x16()
44 LVM_INT16 srcval; in Mac3s_Sat_16x16()
68 *dst = (LVM_INT16)Temp; in Mac3s_Sat_16x16()
DCopy_16.cpp28 void Copy_16( const LVM_INT16 *src, in Copy_16()
29 LVM_INT16 *dst, in Copy_16()
30 LVM_INT16 n ) in Copy_16()
32 LVM_INT16 ii; in Copy_16()
59 LVM_INT16 n ) in Copy_Float()
61 LVM_INT16 ii; in Copy_Float()
90 LVM_INT16 NrFrames, /* Number of frames */ in Copy_Float_Mc_Stereo()
93 LVM_INT16 ii; in Copy_Float_Mc_Stereo()
123 LVM_INT16 NrFrames, /* Number of frames*/ in Copy_Float_Stereo_Mc()
126 LVM_INT16 ii, jj; in Copy_Float_Stereo_Mc()
DNonLinComp_D16.cpp64 void NonLinComp_D16(LVM_INT16 Gain, in NonLinComp_D16()
65 LVM_INT16 *pDataIn, in NonLinComp_D16()
66 LVM_INT16 *pDataOut, in NonLinComp_D16()
70 LVM_INT16 Sample; /* Input samples */ in NonLinComp_D16()
72 LVM_INT16 Temp; in NonLinComp_D16()
93 Temp = (LVM_INT16)((Sample * Sample) >> 15); in NonLinComp_D16()
96 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15)); in NonLinComp_D16()
100 Sample = (LVM_INT16)(Sample + ((Gain * (Sample + Temp)) >> 15)); in NonLinComp_D16()
Dmult3s_16x16.cpp28 void Mult3s_16x16( const LVM_INT16 *src, in Mult3s_16x16()
29 const LVM_INT16 val, in Mult3s_16x16()
30 LVM_INT16 *dst, in Mult3s_16x16()
31 LVM_INT16 n) in Mult3s_16x16()
33 LVM_INT16 ii; in Mult3s_16x16()
41 *dst = (LVM_INT16)(temp >> 15); in Mult3s_16x16()
DFrom2iToMono_32.cpp30 LVM_INT16 n) in From2iToMono_32()
32 LVM_INT16 ii; in From2iToMono_32()
51 LVM_INT16 n) in From2iToMono_Float()
53 LVM_INT16 ii; in From2iToMono_Float()
90 LVM_INT16 NrFrames, in FromMcToMono_Float()
91 LVM_INT16 NrChannels) in FromMcToMono_Float()
93 LVM_INT16 ii, jj; in FromMcToMono_Float()
DFrom2iToMono_16.cpp28 void From2iToMono_16( const LVM_INT16 *src, in From2iToMono_16()
29 LVM_INT16 *dst, in From2iToMono_16()
30 LVM_INT16 n) in From2iToMono_16()
32 LVM_INT16 ii; in From2iToMono_16()
42 *dst = (LVM_INT16)(Temp >>1); in From2iToMono_16()
DLVC_Core_MixSoft_1St_D16C31_WRA.cpp32 LVM_INT16 n) in LVC_Core_MixSoft_1St_D16C31_WRA()
34 LVM_INT16 OutLoop; in LVC_Core_MixSoft_1St_D16C31_WRA()
35 LVM_INT16 InLoop; in LVC_Core_MixSoft_1St_D16C31_WRA()
43 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixSoft_1St_D16C31_WRA()
44 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixSoft_1St_D16C31_WRA()
129 LVM_INT16 NrFrames, in LVC_Core_MixSoft_Mc_D16C31_WRA()
130 LVM_INT16 NrChannels) in LVC_Core_MixSoft_Mc_D16C31_WRA()
132 LVM_INT16 OutLoop; in LVC_Core_MixSoft_Mc_D16C31_WRA()
133 LVM_INT16 InLoop; in LVC_Core_MixSoft_Mc_D16C31_WRA()
146 InLoop = (LVM_INT16)(NrFrames >> 1); in LVC_Core_MixSoft_Mc_D16C31_WRA()
[all …]
DInt32RShiftToInt16_Sat_32x16.cpp29 LVM_INT16 *dst, in Int32RShiftToInt16_Sat_32x16()
30 LVM_INT16 n, in Int32RShiftToInt16_Sat_32x16()
31 LVM_INT16 shift ) in Int32RShiftToInt16_Sat_32x16()
34 LVM_INT16 ii; in Int32RShiftToInt16_Sat_32x16()
51 *dst = (LVM_INT16)temp; in Int32RShiftToInt16_Sat_32x16()
DAdd2_Sat_16x16.cpp28 void Add2_Sat_16x16( const LVM_INT16 *src, in Add2_Sat_16x16()
29 LVM_INT16 *dst, in Add2_Sat_16x16()
30 LVM_INT16 n ) in Add2_Sat_16x16()
33 LVM_INT16 ii; in Add2_Sat_16x16()
49 *dst = (LVM_INT16)Temp; in Add2_Sat_16x16()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.cpp132 (LVM_INT16)NrSamples); in LVDBE_Process()
143 (LVM_INT16)NrFrames, in LVDBE_Process()
144 (LVM_INT16)NrChannels); in LVDBE_Process()
149 (LVM_INT16)NrFrames); in LVDBE_Process()
159 (LVM_INT16)NrFrames, /* Number of frames */ in LVDBE_Process()
160 (LVM_INT16)NrChannels); in LVDBE_Process()
164 (LVM_INT16)NrFrames); in LVDBE_Process()
173 (LVM_INT16)NrFrames); in LVDBE_Process()
220 (LVM_INT16)NrFrames, in LVDBE_Process()
221 (LVM_INT16)NrChannels); in LVDBE_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Process.cpp106 (LVM_INT16)NrSamples); in LVEQNB_Process()
136 (LVM_INT16)NrFrames, in LVEQNB_Process()
137 (LVM_INT16)NrChannels); in LVEQNB_Process()
142 (LVM_INT16)NrFrames); in LVEQNB_Process()
159 (LVM_INT16)NrFrames, in LVEQNB_Process()
160 (LVM_INT16)NrChannels); in LVEQNB_Process()
166 (LVM_INT16)NrSamples); in LVEQNB_Process()
171 (LVM_INT16)NrSamples); /* All channel samples */ in LVEQNB_Process()
176 (LVM_INT16)NrSamples); /* All channel samples */ in LVEQNB_Process()
188 (LVM_INT16)NrSamples); /* All channel samples */ in LVEQNB_Process()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_QPD_Process.cpp39 LVM_INT16 BandIndex,
40 LVM_INT16 Value );
44 LVM_INT16 BandIndex,
61 LVM_INT16 numSamples, in LVPSA_QPD_Process_Float()
62 LVM_INT16 BandIndex) in LVPSA_QPD_Process_Float()
86 LVM_INT16 ii = numSamples; in LVPSA_QPD_Process_Float()
98 ii = (LVM_INT16)(ii - (LVM_INT16)pLVPSA_Inst->DownSamplingCount); in LVPSA_QPD_Process_Float()
150 ii = (LVM_INT16)(ii - DownSamplingFactor); in LVPSA_QPD_Process_Float()
199 LVM_INT16 BandIndex, in LVPSA_QPD_WritePeak()
200 LVM_INT16 Value ) in LVPSA_QPD_WritePeak()
[all …]

12345