OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nGain
(Results
1 - 7
of
7
) sorted by null
/external/sonivox/arm-wt-22k/lib_src/
eas_math.c
107
*
nGain
- log scale value in 20.10 format. Even though gain is normally
112
* Returns a 16-bit linear value approximately equal to 2^(
nGain
/1024)
118
EAS_U16 EAS_LogToLinear16 (EAS_I32
nGain
)
124
nGain
+= 32767;
127
if (
nGain
< 0)
131
nExp = 31 - (
nGain
>> 10);
138
nTemp = (EAS_U16)((((
nGain
& 0x3ff) << 4) | 0x4000) >> nExp);
eas_mixer.h
43
extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16
nGain
, EAS_U16 nNumLoopSamples);
ARM-E_mastergain_gnu.s
12
@
nGain
,
30
@ short
nGain
65
nGain
.req r2
77
SMULWB r4, r4,
nGain
@output = gain * input
84
SMULWB r5, r5,
nGain
@output = gain * input
eas_mixer.c
266
void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16
nGain
, EAS_U16 numSamples) {
280
s *= (long)
nGain
;
eas_math.h
352
*
nGain
- log scale value in 20.10 format. Even though gain is normally
357
* Returns a 16-bit linear value approximately equal to 2^(
nGain
/1024)
363
EAS_U16 EAS_LogToLinear16 (EAS_I32
nGain
);
/frameworks/av/media/libeffects/testlibs/
EffectsMath.c
96
int16_t Effects_MillibelsToLinear16 (int32_t
nGain
)
98
nGain
= ((
nGain
+ MB_TO_LIN_K1) << 15 ) / MB_TO_LIN_K2;
99
uint32_t exp2 = Effects_exp2(
nGain
);
107
int16_t Effects_Linear16ToMillibels (int32_t
nGain
)
109
return (int16_t)(((MB_TO_LIN_K2*Effects_log2(
nGain
))>>15)-MB_TO_LIN_K1);
EffectsMath.h
365
*
nGain
- log scale value in millibels.
368
* Returns a 16-bit linear value approximately equal to 2^(
nGain
/1024)
376
int16_t Effects_MillibelsToLinear16 (int32_t
nGain
);
390
*
nGain
- linear multiplier ranging form 0 to 32767 (corresponding to [0 1] gain range).
399
int16_t Effects_Linear16ToMillibels (int32_t
nGain
);
Completed in 1892 milliseconds