Home
last modified time | relevance | path

Searched refs:nGain (Results 1 – 16 of 16) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_math.c118 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain) in EAS_LogToLinear16() argument
124 nGain += 32767; in EAS_LogToLinear16()
127 if (nGain < 0) in EAS_LogToLinear16()
131 nExp = 31 - (nGain >> 10); in EAS_LogToLinear16()
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp); in EAS_LogToLinear16()
DARM-E_mastergain_gnu.s12 @ nGain,
30 @ short nGain
65 nGain .req r2 label
77 SMULWB r4, r4, nGain @output = gain * input
84 SMULWB r5, r5, nGain @output = gain * input
Deas_mixer.h43 extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 nNu…
Deas_mixer.c266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples… in SynthMasterGain() argument
280 s *= (long) nGain; in SynthMasterGain()
Deas_math.h363 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain);
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_math.c118 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain) in EAS_LogToLinear16() argument
124 nGain += 32767; in EAS_LogToLinear16()
127 if (nGain < 0) in EAS_LogToLinear16()
131 nExp = 31 - (nGain >> 10); in EAS_LogToLinear16()
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp); in EAS_LogToLinear16()
DARM-E_mastergain_gnu.s12 @ nGain,
30 @ short nGain
65 nGain .req r2 label
77 SMULWB r4, r4, nGain @output = gain * input
84 SMULWB r5, r5, nGain @output = gain * input
Deas_fmengine.c739 EAS_I32 nGain; in FM_SynthMixVoice() local
745 nGain = (EAS_I32) p->voiceGain << 16; in FM_SynthMixVoice()
761 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_GAIN_SHIFT; in FM_SynthMixVoice()
774 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_MONO_GAIN_SHIFT; in FM_SynthMixVoice()
779 nGain += nGainInc; in FM_SynthMixVoice()
Deas_mixer.h43 extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 nNu…
Deas_mixer.c266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples… in SynthMasterGain() argument
280 s *= (long) nGain; in SynthMasterGain()
Deas_math.h362 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain);
/external/sonivox/arm-fm-22k/lib_src/
Deas_math.c118 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain) in EAS_LogToLinear16() argument
124 nGain += 32767; in EAS_LogToLinear16()
127 if (nGain < 0) in EAS_LogToLinear16()
131 nExp = 31 - (nGain >> 10); in EAS_LogToLinear16()
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp); in EAS_LogToLinear16()
Deas_fmengine.c739 EAS_I32 nGain; in FM_SynthMixVoice() local
745 nGain = (EAS_I32) p->voiceGain << 16; in FM_SynthMixVoice()
761 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_GAIN_SHIFT; in FM_SynthMixVoice()
774 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_MONO_GAIN_SHIFT; in FM_SynthMixVoice()
779 nGain += nGainInc; in FM_SynthMixVoice()
Deas_mixer.h43 extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 nNu…
Deas_mixer.c266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples… in SynthMasterGain() argument
280 s *= (long) nGain; in SynthMasterGain()
Deas_math.h362 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain);