OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Gain
(Results
1 - 15
of
15
) sorted by null
/frameworks/base/media/libeffects/lvm/lib/Common/src/
NonLinComp_D16.c
42
/*
Gain
(fractional)
Gain
(integer) Compression Pk-Pk THD */
52
/*
Gain
- compression control parameter */
64
void NonLinComp_D16(LVM_INT16
Gain
,
91
*
gain
factor
98
Sample = (LVM_INT16)(Sample + ((
Gain
* (Sample - Temp)) >> 15));
102
Sample = (LVM_INT16)(Sample + ((
Gain
* (Sample + Temp)) >> 15));
/frameworks/base/media/libeffects/lvm/lib/StereoWidening/src/
LVCS_Process.c
39
/* ----->| Stereo |->| Reverb |->| Equ |->| Alpha |-->| + |-|
Gain
|----> */
48
/* their
gain
to give a near peak to peak output (-0.1dBFS) with a worst case */
50
/* the
gain
block folloing the sum. */
200
LVM_INT16
Gain
= pInstance->VolCorrect.CompMin;
204
Gain
= (LVM_INT16)( pInstance->VolCorrect.CompMin
210
NonLinComp_D16(
Gain
, /* Compressor
gain
setting */
222
/* Large changes in
Gain
can cause clicks in output
223
Split data into small blocks and use interpolated
gain
values */
225
GainStep = (LVM_INT16)(((
Gain
-pInstance->CompressGain) * LVCS_COMPGAINFRAME)/NumSamples)
[
all
...]
LVCS_Control.c
128
LVM_UINT32
Gain
;
130
Gain
= (LVM_UINT32)(pOutputGainTable[Offset].Loss * LVM_MAXINT_16);
131
Gain
= (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (
Gain
>> 15);
132
Gain
=
Gain
>>15;
134
* Apply the
gain
correction and shift, note the result is in Q3.13 format
136
Gain
= (
Gain
* pInstance->VolCorrect.GainMin) >>12;
138
LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,
Gain
);
[
all
...]
LVCS_BypassMix.c
46
/* The overall
gain
of the processed path is set by the gains in the individual */
47
/* processing blocks and by the effect level
gain
. */
49
/* The unprocessed path must have matching
gain
for the processed path to ensure */
53
/* The overall
gain
is corrected by a combination of a shift with saturation and a */
55
/* and also corrects for any excess
gain
in the shift. */
73
LVM_UINT32
Gain
;
81
* Set the transition
gain
97
* Calculate the output
gain
table offset
103
* Setup the mixer
gain
for the processed path
105
Gain
= (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain)
[
all
...]
/frameworks/base/media/libeffects/lvm/lib/Eq/src/
LVEQNB_CalcCoef.c
63
/* GaindB is the
gain
in dBs, range -15dB to +15dB */
74
/* small errors in this value have a combined effect on the Q and
Gain
but not the */
93
LVM_INT16
Gain
= pFilterDefinition->
Gain
;
118
if (
Gain
>= 0)
124
D = LVEQNB_DTable[
Gain
+15]; /* D = 1 / (1 + G) if GaindB < 0 */
166
pCoefficients->G = LVEQNB_GainTable[
Gain
+15];
201
/* GaindB is the
gain
in dBs, range -15dB to +15dB */
223
LVM_INT16
Gain
= pFilterDefinition->
Gain
;
[
all
...]
LVEQNB_Process.c
106
* For each section execte the filter unless the
gain
is 0dB
113
* Check if band is non-zero dB
gain
115
if (pInstance->pBandDefinitions[i].
Gain
!= 0)
LVEQNB_Control.c
379
(pInstance->pBandDefinitions[i].
Gain
!= pParams->pBandDefinition[i].
Gain
)||
/frameworks/base/media/libeffects/lvm/lib/Common/lib/
CompLim.h
47
LVM_INT16 Shift; /* Shift
gain
*/
56
LVM_INT16 SoftClipGain; /* Soft clip
gain
control */
70
void NonLinComp_D16(LVM_INT16
Gain
,
/frameworks/base/media/libeffects/lvm/lib/Reverb/src/
LVREV_ApplyNewSettings.c
305
* Update the feed back
gain
313
LVM_INT32 G[4]; /* Feedback
gain
(Q7.24) */
372
* Calculate the
gain
correction
380
LVM_INT32
Gain
=0;
422
Gain
=LVM_Polynomial(3,Coefs,T60); /* Q.24 result */
426
/* Interpolate the
gain
between nearest room sizes */
435
/* Get
gain
for first */
444
/* Get
gain
for second */
453
/* Linear Interpolate the
gain
*/
454
Gain
= Gain1+ (((Gain2-Gain1)*Dist)/(Tot_Dist))
[
all
...]
LVREV_Private.h
76
#define LVREV_OUTPUTGAIN_SHIFT 5 /* Bits shift for output
gain
correction */
142
Mix_1St_Cll_t FeedbackMixer[4]; /* Mixer for Pop and Click Supression caused by feedback
Gain
*/
154
Mix_1St_Cll_t Mixer_SGFeedback[4]; /* Smoothed SAfeedback
gain
*/
155
Mix_1St_Cll_t Mixer_SGFeedforward[4]; /* Smoothed AP feedforward
gain
*/
157
/* Output
gain
*/
159
LVM_INT16
Gain
; /*
Gain
applied to output to maintain average signal power */
160
Mix_1St_Cll_t GainMixer; /*
Gain
smoothing */
/frameworks/base/media/libeffects/lvm/lib/Eq/lib/
LVEQNB.h
57
/*
Gain
is in integer dB, range -15dB to +15dB inclusive */
62
/*
Gain
= 7 7dB
gain
*/
245
LVM_INT16
Gain
; /* Band
gain
in dB */
/frameworks/base/media/libeffects/lvm/lib/Bundle/lib/
LVM.h
246
LVM_INT16
Gain
; /* Band
gain
in dB */
257
LVM_INT16 Headroom_Offset; /* Headroom = biggest band
gain
- Headroom_Offset */
294
LVM_INT16 TE_EffectLevel; /* Treble Enhancement
gain
dBs */
[
all
...]
/frameworks/base/media/libeffects/lvm/lib/Bundle/src/
LVM_Control.c
143
((pParams->pEQNB_BandDefinition[i].
Gain
< LVM_EQNB_MIN_BAND_GAIN) ||
144
(pParams->pEQNB_BandDefinition[i].
Gain
> LVM_EQNB_MAX_BAND_GAIN)) ||
260
/* Enable the treble boost when the settings are appropriate, i.e. non-zero
gain
*/
347
* Limit the
gain
to the maximum allowed
360
pInstance->PSA_GainOffset=(LVM_INT16)(-Volume);/* Loss is compensated by
Gain
*/
362
pInstance->PSA_GainOffset=(LVM_INT16)60;/* Loss is compensated by
Gain
*/
393
* Calculate the required
gain
and shifts
460
if(pParams->pEQNB_BandDefinition[ii].
Gain
> MaxGain)
462
MaxGain = pParams->pEQNB_BandDefinition[ii].
Gain
;
[
all
...]
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/
EffectBundle.cpp
649
BandDefs[i].
Gain
= EQNB_5BandSoftPresets[i];
[
all
...]
/external/webrtc/src/modules/audio_processing/aecm/main/matlab/
compsup.m
259
%
Gain
matrix A
336
%
Gain
matrix B
Completed in 103 milliseconds