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.h32 void LoadConst_16( const LVM_INT16 val,
33 LVM_INT16 *dst,
34 LVM_INT16 n );
38 LVM_INT16 n );
40 void Copy_16( const LVM_INT16 *src,
41 LVM_INT16 *dst,
42 LVM_INT16 n );
52 void Mult3s_16x16( const LVM_INT16 *src,
53 const LVM_INT16 val,
54 LVM_INT16 *dst,
[all …]
DBIQUAD.h45 LVM_INT16 A2; /* a2 */
46 LVM_INT16 A1; /* a1 */
47 LVM_INT16 A0; /* a0 */
48 LVM_INT16 B2; /* -b2! */
49 LVM_INT16 B1; /* -b1! */
64 LVM_INT16 A1; /* a1 */
65 LVM_INT16 A0; /* a0 */
66 LVM_INT16 B1; /* -b1! */
79 LVM_INT16 A1; /* a1 */
80 LVM_INT16 A0; /* a0 */
[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 …]
DMixer.h38LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application each time …
39 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
50 LVM_INT16 CallbackSet1;
51 LVM_INT16 CallbackParam1;
59 LVM_INT16 CallbackSet2;
60 LVM_INT16 CallbackParam2;
78 LVM_INT16 n);
84 LVM_INT16 n);
89 LVM_INT16 n);
98 LVM_INT16 n);
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.c53 const LVM_INT16 *pInData, in LVM_BufferManagedIn()
54 LVM_INT16 **pToProcess, in LVM_BufferManagedIn()
55 LVM_INT16 **pProcessed, in LVM_BufferManagedIn()
59 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()
61 LVM_INT16 *pStart; in LVM_BufferManagedIn()
64 LVM_INT16 *pDest; in LVM_BufferManagedIn()
65 LVM_INT16 NumChannels =2; in LVM_BufferManagedIn()
84 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn()
85 pInstance->pInputSamples = (LVM_INT16 *)pInData; in LVM_BufferManagedIn()
[all …]
DLVM_Private.h143 LVM_INT16 *pScratch; /* Bundle scratch buffer */
145 LVM_INT16 BufferState; /* Buffer status */
146LVM_INT16 InDelayBuffer[6*MIN_INTERNAL_BLOCKSIZE]; /* Input buffer delay line, left …
147 LVM_INT16 InDelaySamples; /* Number of samples in the input delay buffer */
149 LVM_INT16 OutDelayBuffer[2*MIN_INTERNAL_BLOCKSIZE]; /* Output buffer delay line */
150LVM_INT16 OutDelaySamples; /* Number of samples in the output delay buffer, left …
151 LVM_INT16 SamplesToOutput; /* Samples to write to the output */
181 LVM_INT16 InternalBlockSize; /* Maximum internal block size */
183 LVM_INT16 SamplesToProcess; /* Input samples left to process */
184 LVM_INT16 *pInputSamples; /* External input sample pointer */
[all …]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.c112 Copy_16((LVM_INT16 *)pInput, in LVREV_Process()
113 (LVM_INT16 *)pOutput, in LVREV_Process()
114 (LVM_INT16)(NumSamples << 2)); // 32 bit data, stereo in LVREV_Process()
137 RemainingSamples = (LVM_INT16)(RemainingSamples - SamplesToProcess); in LVREV_Process()
181 LVM_INT16 j, size; in ReverbBlock()
229 (LVM_INT16)NumSamples); in ReverbBlock()
235 (LVM_INT16)LVREV_HEADROOM, in ReverbBlock()
237 (LVM_INT16)NumSamples); in ReverbBlock()
245 (LVM_INT16)NumSamples); in ReverbBlock()
252 (LVM_INT16)NumSamples); in ReverbBlock()
[all …]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_ReverbGenerator.c88 pConfig->DelaySize = (LVM_INT16)(2 * Delay); in LVCS_ReverbGeneratorInit()
91 … (LVM_INT16 *)&pConfig->StereoSamples[0], /* Destination */ in LVCS_ReverbGeneratorInit()
92 … (LVM_UINT16)(sizeof(pConfig->StereoSamples)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_ReverbGeneratorInit()
101 Coeffs.A0 = (LVM_INT16)pReverbCoefTable[Offset].A0; in LVCS_ReverbGeneratorInit()
102 Coeffs.A1 = (LVM_INT16)pReverbCoefTable[Offset].A1; in LVCS_ReverbGeneratorInit()
103 Coeffs.A2 = (LVM_INT16)pReverbCoefTable[Offset].A2; in LVCS_ReverbGeneratorInit()
104 Coeffs.B1 = (LVM_INT16)-pReverbCoefTable[Offset].B1; in LVCS_ReverbGeneratorInit()
105 Coeffs.B2 = (LVM_INT16)-pReverbCoefTable[Offset].B2; in LVCS_ReverbGeneratorInit()
109 … (LVM_UINT16)(sizeof(pData->ReverbBiquadTaps)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_ReverbGeneratorInit()
138 pConfig->ReverbLevel=(LVM_INT16)(ReverbPercentage>>8); // Reverb Level in Q 15 format in LVCS_ReverbGeneratorInit()
[all …]
DLVCS_StereoEnhancer.c79 CoeffsMid.A0 = (LVM_INT16) LVCS_SEMidCoefTable[Offset].A0; in LVCS_SEnhancerInit()
80 CoeffsMid.A1 = (LVM_INT16) LVCS_SEMidCoefTable[Offset].A1; in LVCS_SEnhancerInit()
81 CoeffsMid.B1 = (LVM_INT16)-LVCS_SEMidCoefTable[Offset].B1; in LVCS_SEnhancerInit()
104 CoeffsSide.A0 = (LVM_INT16) pSESideCoefs[Offset].A0; in LVCS_SEnhancerInit()
105 CoeffsSide.A1 = (LVM_INT16) pSESideCoefs[Offset].A1; in LVCS_SEnhancerInit()
106 CoeffsSide.A2 = (LVM_INT16) pSESideCoefs[Offset].A2; in LVCS_SEnhancerInit()
107 CoeffsSide.B1 = (LVM_INT16)-pSESideCoefs[Offset].B1; in LVCS_SEnhancerInit()
108 CoeffsSide.B2 = (LVM_INT16)-pSESideCoefs[Offset].B2; in LVCS_SEnhancerInit()
182 const LVM_INT16 *pInData, in LVCS_StereoEnhancer()
183 LVM_INT16 *pOutData, in LVCS_StereoEnhancer()
[all …]
DLVCS_Process.c71 const LVM_INT16 *pInData, in LVCS_Process_CS()
72 LVM_INT16 *pOutData, in LVCS_Process_CS()
75 const LVM_INT16 *pInput; in LVCS_Process_CS()
77LVM_INT16 *pScratch = (LVM_INT16 *)pInstance->MemoryTable.Region[LVCS_MEMREGION_TEMPORA… in LVCS_Process_CS()
87 Copy_16((LVM_INT16 *)pInData, /* Source */ in LVCS_Process_CS()
88 (LVM_INT16 *)pInput, /* Destination */ in LVCS_Process_CS()
89 (LVM_INT16)(2*NumSamples)); /* Left and right */ in LVCS_Process_CS()
165 const LVM_INT16 *pInData, in LVCS_Process()
166 LVM_INT16 *pOutData, in LVCS_Process()
200 LVM_INT16 Gain = pInstance->VolCorrect.CompMin; in LVCS_Process()
[all …]
DLVCS_ReverbGenerator.h57 LVM_INT16 DelaySize;
58 LVM_INT16 DelayOffset;
59 LVM_INT16 ProcGain;
60 LVM_INT16 UnprocGain;
61 LVM_INT16 StereoSamples[2*LVCS_STEREODELAY_CS_48KHZ];
64 LVM_INT16 ReverbLevel;
67 … (*pBiquadCallBack) (Biquad_Instance_t*, LVM_INT16*, LVM_INT16*, LVM_INT16);
82 const LVM_INT16 *pInput,
83 LVM_INT16 *pOutput,
DLVCS_Private.h98 LVM_INT16 CompFull; /* Post CS compression 100% effect */
99 LVM_INT16 CompMin; /* Post CS compression 0% effect */
100 LVM_INT16 GainFull; /* CS gain correct 100% effect */
101 LVM_INT16 GainMin; /* CS gain correct 0% effect */
115 LVM_INT16 TransitionGain; /* Transition gain */
116 LVM_INT16 CompressGain; /* Last used compressor gain*/
125LVM_INT16 MSTarget0; /* Mixer state control variable for sm…
126LVM_INT16 MSTarget1; /* Mixer state control variable for sm…
127 LVM_INT16 bInOperatingModeTransition; /* Operating mode transition flag */
128 LVM_INT16 bTimerDone; /* Timer completion flag */
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Mixer_Private.h54 const LVM_INT16 *src,
55 LVM_INT16 *dst,
56 LVM_INT16 n);
59 const LVM_INT16 *src,
60 LVM_INT16 *dst,
61 LVM_INT16 n);
65 const LVM_INT16 *src1,
66 const LVM_INT16 *src2,
67 LVM_INT16 *dst,
68 LVM_INT16 n);
[all …]
DLVC_Core_MixSoft_1St_D16C31_WRA.c31 const LVM_INT16 *src, in LVC_Core_MixSoft_1St_D16C31_WRA()
32 LVM_INT16 *dst, in LVC_Core_MixSoft_1St_D16C31_WRA()
33 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()
37 LVM_INT16 CurrentShort; in LVC_Core_MixSoft_1St_D16C31_WRA()
45 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixSoft_1St_D16C31_WRA()
46 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixSoft_1St_D16C31_WRA()
55 … CurrentShort = (LVM_INT16)(Current>>16); /* From Q31 to Q15*/ in LVC_Core_MixSoft_1St_D16C31_WRA()
58 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 int… in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DLVC_Mixer.h37LVM_INT16 CallbackSet; /* Boolean. Should be set by calling application each time th…
38 LVM_INT16 CallbackParam; /* Parameter that will be used in the calback function */
92 LVM_INT16 NumChannels);
97 LVM_INT16 NumChannels);
102 const LVM_INT16 *src,
103 LVM_INT16 *dst,
104 LVM_INT16 n);
107 LVM_INT16 *src,
108 LVM_INT16 *dst,
109 LVM_INT16 n);
[all …]
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.c32 const LVM_INT16 *src, in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
33 LVM_INT16 *dst, in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
34 LVM_INT16 n) in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
36 LVM_INT16 OutLoop; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
37 LVM_INT16 InLoop; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
38 LVM_INT16 CurrentShortL; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
39 LVM_INT16 CurrentShortR; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
54 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
55 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
87 … CurrentShortL = (LVM_INT16)(CurrentL>>16); /* From Q31 to Q15*/ in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
[all …]
DLVC_Core_MixInSoft_D16C31_SAT.c30 const LVM_INT16 *src, in LVC_Core_MixInSoft_D16C31_SAT()
31 LVM_INT16 *dst, in LVC_Core_MixInSoft_D16C31_SAT()
32 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()
37 LVM_INT16 CurrentShort; in LVC_Core_MixInSoft_D16C31_SAT()
45 InLoop = (LVM_INT16)(n >> 2); /* Process per 4 samples */ in LVC_Core_MixInSoft_D16C31_SAT()
46 OutLoop = (LVM_INT16)(n - (InLoop << 2)); in LVC_Core_MixInSoft_D16C31_SAT()
55 … CurrentShort = (LVM_INT16)(Current>>16); /* From Q31 to Q15*/ in LVC_Core_MixInSoft_D16C31_SAT()
64 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixInSoft_D16C31_SAT()
[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_MixHard_2St_D16C31_SAT.c30 const LVM_INT16 *src1, in LVC_Core_MixHard_2St_D16C31_SAT()
31 const LVM_INT16 *src2, in LVC_Core_MixHard_2St_D16C31_SAT()
32 LVM_INT16 *dst, in LVC_Core_MixHard_2St_D16C31_SAT()
33 LVM_INT16 n) in LVC_Core_MixHard_2St_D16C31_SAT()
36 LVM_INT16 ii; in LVC_Core_MixHard_2St_D16C31_SAT()
37 LVM_INT16 Current1Short; in LVC_Core_MixHard_2St_D16C31_SAT()
38 LVM_INT16 Current2Short; in LVC_Core_MixHard_2St_D16C31_SAT()
43 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_2St_D16C31_SAT()
44 Current2Short = (LVM_INT16)(pInstance2->Current >> 16); in LVC_Core_MixHard_2St_D16C31_SAT()
54 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixHard_2St_D16C31_SAT()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.c33 const LVM_INT16 *src, in LVC_Core_MixHard_1St_2i_D16C31_SAT()
34 LVM_INT16 *dst, in LVC_Core_MixHard_1St_2i_D16C31_SAT()
35 LVM_INT16 n) in LVC_Core_MixHard_1St_2i_D16C31_SAT()
38 LVM_INT16 ii; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
39 LVM_INT16 Current1Short; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
40 LVM_INT16 Current2Short; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
45 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
46 Current2Short = (LVM_INT16)(pInstance2->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
56 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
64 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
DFilters.h39 LVM_INT16 A0;
40 LVM_INT16 A1;
41 LVM_INT16 A2;
42 LVM_INT16 B1;
43 LVM_INT16 B2;
54 LVM_INT16 A0;
55 LVM_INT16 A1;
56 LVM_INT16 B1;
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_CalcCoef.c85 extern LVM_INT16 LVEQNB_GainTable[]; in LVEQNB_DoublePrecCoefs()
86 extern LVM_INT16 LVEQNB_TwoPiOnFsTable[]; in LVEQNB_DoublePrecCoefs()
87 extern LVM_INT16 LVEQNB_DTable[]; in LVEQNB_DoublePrecCoefs()
88 extern LVM_INT16 LVEQNB_DPCosCoef[]; in LVEQNB_DoublePrecCoefs()
93 LVM_INT16 Gain = pFilterDefinition->Gain; in LVEQNB_DoublePrecCoefs()
101 LVM_INT16 D; in LVEQNB_DoublePrecCoefs()
109 LVM_INT16 coef; in LVEQNB_DoublePrecCoefs()
111 LVM_INT16 t0; in LVEQNB_DoublePrecCoefs()
112 LVM_INT16 i; in LVEQNB_DoublePrecCoefs()
141 t0 = (LVM_INT16)(T0 >> 16); in LVEQNB_DoublePrecCoefs()
[all …]
DLVEQNB_Process.c62 const LVM_INT16 *pInData, in LVEQNB_Process()
63 LVM_INT16 *pOutData, in LVEQNB_Process()
100 Int16LShiftToInt32_16x32((LVM_INT16 *)pInData, /* Source */ in LVEQNB_Process()
102 (LVM_INT16)(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
133 (LVM_INT16)NumSamples); in LVEQNB_Process()
142 (LVM_INT16)NumSamples); in LVEQNB_Process()
158 (LVM_INT16 *)pScratch, /* Destination */ in LVEQNB_Process()
159 (LVM_INT16)(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
163 (LVM_INT16 *)pScratch, in LVEQNB_Process()
164 (LVM_INT16 *)pInData, in LVEQNB_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_QPD_Process.c39 LVM_INT16 BandIndex,
40 LVM_INT16 Value );
58 LVM_INT16 *pInSamps, in LVPSA_QPD_Process()
59 LVM_INT16 numSamples, in LVPSA_QPD_Process()
60 LVM_INT16 BandIndex) in LVPSA_QPD_Process()
76 LVM_INT16 Xg0; in LVPSA_QPD_Process()
77 LVM_INT16 D0; in LVPSA_QPD_Process()
78 LVM_INT16 V0 = (LVM_INT16)(*pDelay); in LVPSA_QPD_Process()
84 LVM_INT16 ii = numSamples; in LVPSA_QPD_Process()
96 ii = (LVM_INT16)(ii - (LVM_INT16)pLVPSA_Inst->DownSamplingCount); in LVPSA_QPD_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.c77 const LVM_INT16 *pInData, in LVDBE_Process()
78 LVM_INT16 *pOutData, in LVDBE_Process()
85 LVM_INT16 *pInput = (LVM_INT16 *)pInData; in LVDBE_Process()
89 LVM_INT16 *pScratchVol = (LVM_INT16 *)(&pScratch[NumSamples]); in LVDBE_Process()
117 (LVM_INT16)(2*NumSamples), /* Left and right */ in LVDBE_Process()
129 (LVM_INT16)NumSamples); /* Number of samples */ in LVDBE_Process()
138 (LVM_INT16)NumSamples); /* Number of samples */ in LVDBE_Process()
147 (LVM_INT16)NumSamples); /* Number of samples */ in LVDBE_Process()
164 (LVM_INT16 *)pScratch, /* Dest. 16-bit data */ in LVDBE_Process()
165 (LVM_INT16)(2*NumSamples), /* Left and right */ in LVDBE_Process()
[all …]

123456