Home
last modified time | relevance | path

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

123456

/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h35 LVM_INT16 n );
37 void LoadConst_16( const LVM_INT16 val,
38 LVM_INT16 *dst,
39 LVM_INT16 n );
43 LVM_INT16 n );
49 LVM_INT16 n );
51 void Copy_16( const LVM_INT16 *src,
52 LVM_INT16 *dst,
53 LVM_INT16 n );
68 LVM_INT16 n);
[all …]
DBIQUAD.h60 LVM_INT16 A2; /* a2 */
61 LVM_INT16 A1; /* a1 */
62 LVM_INT16 A0; /* a0 */
63 LVM_INT16 B2; /* -b2! */
64 LVM_INT16 B1; /* -b1! */
88 LVM_INT16 A1; /* a1 */
89 LVM_INT16 A0; /* a0 */
90 LVM_INT16 B1; /* -b1! */
112 LVM_INT16 A1; /* a1 */
113 LVM_INT16 A0; /* a0 */
[all …]
DMixer.h41 LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application \
43 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
53 LVM_INT16 CallbackSet1;
54 LVM_INT16 CallbackParam1;
63 LVM_INT16 CallbackSet2;
64 LVM_INT16 CallbackParam2;
75LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application each time …
76 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
87 LVM_INT16 CallbackSet1;
88 LVM_INT16 CallbackParam1;
[all …]
DCompLim.h44 LVM_INT16 Norm_Attack; /* Attack time constant of the Normaliser integrator */
45 LVM_INT16 Norm_Decay; /* Decay time constant of the Normaliser integrator */
47 LVM_INT16 Shift; /* Shift gain */
48 LVM_INT16 Threshold; /* Target threshold */
51 LVM_INT16 Comp_Atten; /* Attenuation applied before soft knee compressor */
52 LVM_INT16 Comp_Attack_S; /* Attack time constant of the slow integrator */
53 LVM_INT16 Comp_Decay_S; /* Decay time constant of slow the integrator */
54 LVM_INT16 Comp_Attack_F; /* Attack time constant of fast the integrator */
55 LVM_INT16 Comp_Decay_F; /* Decay time constant of fast the integrator */
56 LVM_INT16 SoftClipGain; /* Soft clip gain control */
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.c59 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()
65 LVM_INT16 NumChannels = 2; in LVM_BufferManagedIn()
84 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn()
109 LVM_INT16 NumFrames; in LVM_BufferManagedIn()
112 NumFrames = (LVM_INT16)(NumSamples >> MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn()
113 SampleCount = (LVM_INT16)(NumFrames << MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn()
139 (LVM_INT16)(NumChannels * pBuffer->InDelaySamples)); /* Number of delay \ in LVM_BufferManagedIn()
141 NumSamples = (LVM_INT16)(NumSamples - pBuffer->InDelaySamples); /* Update sample count */ in LVM_BufferManagedIn()
153 (LVM_INT16)(NumChannels * NumSamples)); /* Number of input samples */ in LVM_BufferManagedIn()
[all …]
DLVM_Private.h146 LVM_INT16 BufferState; /* Buffer status */
149 LVM_INT16 InDelaySamples; /* Number of samples in the input delay buffer */
153 LVM_INT16 OutDelaySamples; /* Number of samples in the output delay buffer, \
155 LVM_INT16 SamplesToOutput; /* Samples to write to the output */
160 LVM_INT16 *pScratch; /* Bundle scratch buffer */
162 LVM_INT16 BufferState; /* Buffer status */
163LVM_INT16 InDelayBuffer[6*MIN_INTERNAL_BLOCKSIZE]; /* Input buffer delay line, left …
164 LVM_INT16 InDelaySamples; /* Number of samples in the input delay buffer */
166 LVM_INT16 OutDelayBuffer[2*MIN_INTERNAL_BLOCKSIZE]; /* Output buffer delay line */
167LVM_INT16 OutDelaySamples; /* Number of samples in the output delay buffer, left …
[all …]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.c124 Copy_16((LVM_INT16 *)pInput, in LVREV_Process()
125 (LVM_INT16 *)pOutput, in LVREV_Process()
126 (LVM_INT16)(NumSamples << 2)); // 32 bit data, stereo in LVREV_Process()
134 (LVM_INT16)(NumSamples << 1)); // 32 bit data, stereo in LVREV_Process()
158 RemainingSamples = (LVM_INT16)(RemainingSamples - SamplesToProcess); in LVREV_Process()
206 LVM_INT16 j, size; in ReverbBlock()
254 (LVM_INT16)NumSamples); in ReverbBlock()
260 (LVM_INT16)LVREV_HEADROOM, in ReverbBlock()
262 (LVM_INT16)NumSamples); in ReverbBlock()
270 (LVM_INT16)NumSamples); in ReverbBlock()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Mixer_Private.h64 LVM_INT16 n);
67 const LVM_INT16 *src,
68 LVM_INT16 *dst,
69 LVM_INT16 n);
75 LVM_INT16 n);
78 const LVM_INT16 *src,
79 LVM_INT16 *dst,
80 LVM_INT16 n);
88 LVM_INT16 n);
92 const LVM_INT16 *src1,
[all …]
DLVC_Mixer.h39 LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application \
41 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
50LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application each time th…
51 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
137 LVM_INT16 NumChannels);
142 LVM_INT16 NumChannels);
149 LVM_INT16 NumChannels);
154 LVM_INT16 NumChannels);
163 LVM_INT16 n);
166 const LVM_INT16 *src,
[all …]
DLVC_Core_MixSoft_1St_D16C31_WRA.c33 LVM_INT16 n) in LVC_Core_MixSoft_1St_D16C31_WRA()
35 LVM_INT16 OutLoop; in LVC_Core_MixSoft_1St_D16C31_WRA()
36 LVM_INT16 InLoop; in LVC_Core_MixSoft_1St_D16C31_WRA()
44 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixSoft_1St_D16C31_WRA()
45 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixSoft_1St_D16C31_WRA()
110 const LVM_INT16 *src, in LVC_Core_MixSoft_1St_D16C31_WRA()
111 LVM_INT16 *dst, in LVC_Core_MixSoft_1St_D16C31_WRA()
112 LVM_INT16 n) in LVC_Core_MixSoft_1St_D16C31_WRA()
114 LVM_INT16 OutLoop; in LVC_Core_MixSoft_1St_D16C31_WRA()
115 LVM_INT16 InLoop; in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DDelayMix_16x16.c28 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_Core_MixSoft_1St_2i_D16C31_WRA.c48 LVM_INT16 n) in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
50 LVM_INT16 OutLoop; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
51 LVM_INT16 InLoop; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
66 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
67 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
152 const LVM_INT16 *src, in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
153 LVM_INT16 *dst, in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
154 LVM_INT16 n) in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
156 LVM_INT16 OutLoop; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
157 LVM_INT16 InLoop; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
[all …]
DLVC_Core_MixInSoft_D16C31_SAT.c32 LVM_INT16 n) in LVC_Core_MixInSoft_D16C31_SAT()
35 LVM_INT16 OutLoop; in LVC_Core_MixInSoft_D16C31_SAT()
36 LVM_INT16 InLoop; in LVC_Core_MixInSoft_D16C31_SAT()
44 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixInSoft_D16C31_SAT()
45 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixInSoft_D16C31_SAT()
119 const LVM_INT16 *src, in LVC_Core_MixInSoft_D16C31_SAT()
120 LVM_INT16 *dst, in LVC_Core_MixInSoft_D16C31_SAT()
121 LVM_INT16 n) in LVC_Core_MixInSoft_D16C31_SAT()
124 LVM_INT16 OutLoop; in LVC_Core_MixInSoft_D16C31_SAT()
125 LVM_INT16 InLoop; in LVC_Core_MixInSoft_D16C31_SAT()
[all …]
DLVC_Core_MixHard_2St_D16C31_SAT.c33 LVM_INT16 n) in LVC_Core_MixHard_2St_D16C31_SAT()
36 LVM_INT16 ii; in LVC_Core_MixHard_2St_D16C31_SAT()
60 const LVM_INT16 *src1, in LVC_Core_MixHard_2St_D16C31_SAT()
61 const LVM_INT16 *src2, in LVC_Core_MixHard_2St_D16C31_SAT()
62 LVM_INT16 *dst, in LVC_Core_MixHard_2St_D16C31_SAT()
63 LVM_INT16 n) in LVC_Core_MixHard_2St_D16C31_SAT()
66 LVM_INT16 ii; in LVC_Core_MixHard_2St_D16C31_SAT()
67 LVM_INT16 Current1Short; in LVC_Core_MixHard_2St_D16C31_SAT()
68 LVM_INT16 Current2Short; in LVC_Core_MixHard_2St_D16C31_SAT()
73 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_2St_D16C31_SAT()
[all …]
DLVC_Core_MixHard_1St_2i_D16C31_SAT.c35 LVM_INT16 n) in LVC_Core_MixHard_1St_2i_D16C31_SAT()
38 LVM_INT16 ii; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
65 const LVM_INT16 *src, in LVC_Core_MixHard_1St_2i_D16C31_SAT()
66 LVM_INT16 *dst, in LVC_Core_MixHard_1St_2i_D16C31_SAT()
67 LVM_INT16 n) in LVC_Core_MixHard_1St_2i_D16C31_SAT()
70 LVM_INT16 ii; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
71 LVM_INT16 Current1Short; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
72 LVM_INT16 Current2Short; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
77 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
78 Current2Short = (LVM_INT16)(pInstance2->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
[all …]
DCore_MixInSoft_D32C31_SAT.c33 LVM_INT16 n) in Core_MixInSoft_D32C31_SAT()
36 LVM_INT16 OutLoop; in Core_MixInSoft_D32C31_SAT()
37 LVM_INT16 InLoop; in Core_MixInSoft_D32C31_SAT()
40 LVM_INT16 ii,jj; in Core_MixInSoft_D32C31_SAT()
43 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in Core_MixInSoft_D32C31_SAT()
44 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in Core_MixInSoft_D32C31_SAT()
96 LVM_INT16 n) in Core_MixInSoft_D32C31_SAT()
99 LVM_INT16 OutLoop; in Core_MixInSoft_D32C31_SAT()
100 LVM_INT16 InLoop; in Core_MixInSoft_D32C31_SAT()
103 LVM_INT16 ii,jj; in Core_MixInSoft_D32C31_SAT()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Process.c103 (LVM_INT16)(2 * NumSamples)); /* Left and Right */ in LVEQNB_Process()
132 (LVM_INT16)NumSamples); in LVEQNB_Process()
148 (LVM_INT16)(2 * NumSamples)); in LVEQNB_Process()
151 … (LVM_INT16)(2 * NumSamples)); /* Left and Right samples */ in LVEQNB_Process()
156 (LVM_INT16 )(2 * NumSamples)); /* Left and Right */ in LVEQNB_Process()
168 (LVM_INT16)(2 * NumSamples)); /* Left and Right samples */ in LVEQNB_Process()
176 const LVM_INT16 *pInData, in LVEQNB_Process()
177 LVM_INT16 *pOutData, in LVEQNB_Process()
214 Int16LShiftToInt32_16x32((LVM_INT16 *)pInData, /* Source */ in LVEQNB_Process()
216 (LVM_INT16)(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
[all …]
DLVEQNB_CalcCoef.c88 extern LVM_INT16 LVEQNB_GainTable[]; in LVEQNB_DoublePrecCoefs()
89 extern LVM_INT16 LVEQNB_TwoPiOnFsTable[]; in LVEQNB_DoublePrecCoefs()
90 extern LVM_INT16 LVEQNB_DTable[]; in LVEQNB_DoublePrecCoefs()
91 extern LVM_INT16 LVEQNB_DPCosCoef[]; in LVEQNB_DoublePrecCoefs()
96 LVM_INT16 Gain = pFilterDefinition->Gain; in LVEQNB_DoublePrecCoefs()
104 LVM_INT16 D; in LVEQNB_DoublePrecCoefs()
112 LVM_INT16 coef; in LVEQNB_DoublePrecCoefs()
114 LVM_INT16 t0; in LVEQNB_DoublePrecCoefs()
115 LVM_INT16 i; in LVEQNB_DoublePrecCoefs()
144 t0 = (LVM_INT16)(T0 >> 16); in LVEQNB_DoublePrecCoefs()
[all …]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_ReverbGenerator.c95 pConfig->DelaySize = (LVM_INT16)(2 * Delay); in LVCS_ReverbGeneratorInit()
179 pConfig->DelaySize = (LVM_INT16)(2 * Delay); in LVCS_ReverbGeneratorInit()
182 … (LVM_INT16 *)&pConfig->StereoSamples[0], /* Destination */ in LVCS_ReverbGeneratorInit()
183 … (LVM_UINT16)(sizeof(pConfig->StereoSamples)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_ReverbGeneratorInit()
192 Coeffs.A0 = (LVM_INT16)pReverbCoefTable[Offset].A0; in LVCS_ReverbGeneratorInit()
193 Coeffs.A1 = (LVM_INT16)pReverbCoefTable[Offset].A1; in LVCS_ReverbGeneratorInit()
194 Coeffs.A2 = (LVM_INT16)pReverbCoefTable[Offset].A2; in LVCS_ReverbGeneratorInit()
195 Coeffs.B1 = (LVM_INT16)-pReverbCoefTable[Offset].B1; in LVCS_ReverbGeneratorInit()
196 Coeffs.B2 = (LVM_INT16)-pReverbCoefTable[Offset].B2; in LVCS_ReverbGeneratorInit()
200 … (LVM_UINT16)(sizeof(pData->ReverbBiquadTaps)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_ReverbGeneratorInit()
[all …]
DLVCS_ReverbGenerator.h57 LVM_INT16 DelaySize;
58 LVM_INT16 DelayOffset;
59 LVM_INT16 ProcGain;
60 LVM_INT16 UnprocGain;
62 LVM_INT16 StereoSamples[2*LVCS_STEREODELAY_CS_48KHZ];
64 LVM_INT16 ReverbLevel;
66 … (*pBiquadCallBack) (Biquad_Instance_t*, LVM_INT16*, LVM_INT16*, LVM_INT16);
73 LVM_FLOAT*, LVM_FLOAT*, LVM_INT16);
93 const LVM_INT16 *pInput,
94 LVM_INT16 *pOutput,
DLVCS_StereoEnhancer.c175 CoeffsMid.A0 = (LVM_INT16) LVCS_SEMidCoefTable[Offset].A0; in LVCS_SEnhancerInit()
176 CoeffsMid.A1 = (LVM_INT16) LVCS_SEMidCoefTable[Offset].A1; in LVCS_SEnhancerInit()
177 CoeffsMid.B1 = (LVM_INT16)-LVCS_SEMidCoefTable[Offset].B1; in LVCS_SEnhancerInit()
200 CoeffsSide.A0 = (LVM_INT16) pSESideCoefs[Offset].A0; in LVCS_SEnhancerInit()
201 CoeffsSide.A1 = (LVM_INT16) pSESideCoefs[Offset].A1; in LVCS_SEnhancerInit()
202 CoeffsSide.A2 = (LVM_INT16) pSESideCoefs[Offset].A2; in LVCS_SEnhancerInit()
203 CoeffsSide.B1 = (LVM_INT16)-pSESideCoefs[Offset].B1; in LVCS_SEnhancerInit()
204 CoeffsSide.B2 = (LVM_INT16)-pSESideCoefs[Offset].B2; in LVCS_SEnhancerInit()
304 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
315 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
[all …]
DLVCS_StereoEnhancer.h51 …d (*pBiquadCallBack_Mid)(Biquad_Instance_t*, LVM_INT16*, LVM_INT16*, LVM_INT16);
55 … (*pBiquadCallBack_Side)(Biquad_Instance_t*, LVM_INT16*, LVM_INT16*, LVM_INT16);
62 LVM_FLOAT*, LVM_FLOAT*, LVM_INT16);
68 LVM_FLOAT*, LVM_FLOAT*, LVM_INT16);
85 const LVM_INT16 *pInData,
86 LVM_INT16 *pOutData,
DLVCS_Process.c92 (LVM_INT16)(2 * NumSamples)); /* Left and right */ in LVCS_Process_CS()
141 const LVM_INT16 *pInData, in LVCS_Process_CS()
142 LVM_INT16 *pOutData, in LVCS_Process_CS()
145 const LVM_INT16 *pInput; in LVCS_Process_CS()
147LVM_INT16 *pScratch = (LVM_INT16 *)pInstance->MemoryTable.Region[LVCS_MEMREGION_TEMPORA… in LVCS_Process_CS()
157 Copy_16((LVM_INT16 *)pInData, /* Source */ in LVCS_Process_CS()
158 (LVM_INT16 *)pInput, /* Destination */ in LVCS_Process_CS()
159 (LVM_INT16)(2*NumSamples)); /* Left and right */ in LVCS_Process_CS()
291 LVM_INT16 SampleToProcess = NumSamples; in LVCS_Process()
338 SampleToProcess = (LVM_INT16)(SampleToProcess - LVCS_COMPGAINFRAME); in LVCS_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_QPD_Process.c39 LVM_INT16 BandIndex,
40 LVM_INT16 Value );
45 LVM_INT16 BandIndex,
63 LVM_INT16 *pInSamps, in LVPSA_QPD_Process()
64 LVM_INT16 numSamples, in LVPSA_QPD_Process()
65 LVM_INT16 BandIndex) in LVPSA_QPD_Process()
81 LVM_INT16 Xg0; in LVPSA_QPD_Process()
82 LVM_INT16 D0; in LVPSA_QPD_Process()
83 LVM_INT16 V0 = (LVM_INT16)(*pDelay); in LVPSA_QPD_Process()
89 LVM_INT16 ii = numSamples; in LVPSA_QPD_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.c76 const LVM_INT16 *pInData, LVM_INT16 *pOutData, LVM_UINT16 NumSamples) { in LVDBE_Process()
82 LVM_INT16 *pInput = (LVM_INT16 *) pInData; in LVDBE_Process()
85 LVM_INT16 *pScratchVol = (LVM_INT16 *) (&pScratch[NumSamples]); in LVDBE_Process()
113 (LVM_INT16) (2 * NumSamples), /* Left and right */ in LVDBE_Process()
123 (LVM_INT16) NumSamples); /* Number of samples */ in LVDBE_Process()
131 (LVM_INT16) NumSamples); /* Number of samples */ in LVDBE_Process()
139 (LVM_INT16) NumSamples); /* Number of samples */ in LVDBE_Process()
155 (LVM_INT16 *) pScratch, /* Dest. 16-bit data */ in LVDBE_Process()
156 (LVM_INT16) (2 * NumSamples), /* Left and right */ in LVDBE_Process()
173 pScratchVol, (LVM_INT16) (2 * NumSamples)); /* Left and right */ in LVDBE_Process()
[all …]

123456