OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CurrentGain
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/media/libeffects/lvm/lib/Common/src/
LVC_Mixer_GetCurrent.c
28
/* This function returns the
CurrentGain
in Q16.15 format */
31
/*
CurrentGain
-
CurrentGain
value in Q 16.15 format */
37
LVM_INT32
CurrentGain
;
39
CurrentGain
=pInstance->Current>>(16-pInstance->Shift); //
CurrentGain
in Q16.15 format
40
return
CurrentGain
;
LVC_Mixer_Init.c
29
/*
CurrentGain
*/
32
/* "Current" based on maximum(TargetGain,
CurrentGain
) */
33
/* E.g.
CurrentGain
=1.9 and TargetGain=2.5 then based on */
41
/*
CurrentGain
-
CurrentGain
value in Q 16.15 format */
50
LVM_INT32
CurrentGain
)
55
if(
CurrentGain
>MaxGain)
56
MaxGain=
CurrentGain
; // MaxGain=max(
CurrentGain
,TargetGain)
64
pInstance->Current=
CurrentGain
<<(16-Shift); // Update fractional gain Curren
[
all
...]
LVC_Mixer_SetTarget.c
32
/* "Current" based on maximum(TargetGain,
CurrentGain
) */
33
/* E.g.
CurrentGain
=1.9 and TargetGain=2.5 then based on */
51
LVM_INT32
CurrentGain
;
54
CurrentGain
=pInstance->Current>>(16-pInstance->Shift); //
CurrentGain
in Q16.15 format
55
if(
CurrentGain
>MaxGain)
56
MaxGain=
CurrentGain
; // MaxGain=max(
CurrentGain
,TargetGain)
64
pInstance->Current=
CurrentGain
<<(16-Shift); // Update fractional gain Current
LVC_Mixer.h
87
LVM_INT32
CurrentGain
);
Completed in 31 milliseconds