OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MaxGain
(Results
1 - 3
of
3
) sorted by null
/frameworks/av/media/libeffects/lvm/lib/Common/src/
LVC_Mixer_Init.c
34
/*
MaxGain
of 2.5, Shift = 2, Current=1.9/4=0.475, Target=2.5/4=0.625 */
53
LVM_INT32
MaxGain
=TargetGain; //
MaxGain
is in Q16.15 format
55
if(CurrentGain>
MaxGain
)
56
MaxGain
=CurrentGain; //
MaxGain
=max(CurrentGain,TargetGain)
58
MaxGain
=
MaxGain
>>15; //
MaxGain
in Q31.0 format i.e Integer part only
59
while(
MaxGain
>0){ // Update Shift required to provide integer gai
[
all
...]
LVC_Mixer_SetTarget.c
34
/*
MaxGain
of 2.5, Shift = 2, Current=1.9/4=0.475, Target=2.5/4=0.625 */
52
LVM_INT32
MaxGain
=TargetGain; //
MaxGain
is in Q16.15 format
55
if(CurrentGain>
MaxGain
)
56
MaxGain
=CurrentGain; //
MaxGain
=max(CurrentGain,TargetGain)
58
MaxGain
=
MaxGain
>>15; //
MaxGain
in Q31.0 format i.e Integer part only
59
while(
MaxGain
>0){ // Update Shift required to provide integer gai
[
all
...]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
LVM_Control.c
446
LVM_INT16
MaxGain
= 0;
454
MaxGain
= 0;
460
if(pParams->pEQNB_BandDefinition[ii].Gain >
MaxGain
)
462
MaxGain
= pParams->pEQNB_BandDefinition[ii].Gain;
467
if((
MaxGain
- pInstance->HeadroomParams.pHeadroomDefinition[jj].Headroom_Offset) > Headroom){
468
Headroom = (LVM_INT16)(
MaxGain
- pInstance->HeadroomParams.pHeadroomDefinition[jj].Headroom_Offset);
[
all
...]
Completed in 371 milliseconds