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

/external/sonivox/arm-fm-22k/lib_src/
H A Deas_math.c107 * 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) argument
124 nGain += 32767;
127 if (nGain < 0)
131 nExp = 31 - (nGain >> 10);
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp);
H A Deas_mixer.h43 extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 nNumLoopSamples);
H A Deas_fmengine.c739 EAS_I32 nGain; local
745 nGain = (EAS_I32) p->voiceGain << 16;
761 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_GAIN_SHIFT;
774 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_MONO_GAIN_SHIFT;
779 nGain += nGainInc;
H A Deas_mixer.c266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples) { argument
280 s *= (long) nGain;
H A Deas_math.h351 * nGain - log scale value in 20.10 format. Even though gain is normally
356 * Returns a 16-bit linear value approximately equal to 2^(nGain/1024)
362 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain);
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_math.c107 * 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) argument
124 nGain += 32767;
127 if (nGain < 0)
131 nExp = 31 - (nGain >> 10);
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp);
H A Deas_mixer.h43 extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 nNumLoopSamples);
H A 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
H A Deas_fmengine.c739 EAS_I32 nGain; local
745 nGain = (EAS_I32) p->voiceGain << 16;
761 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_GAIN_SHIFT;
774 nTemp = ((EAS_I32) nTemp * (nGain >> 16)) >> FM_MONO_GAIN_SHIFT;
779 nGain += nGainInc;
H A Deas_mixer.c266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples) { argument
280 s *= (long) nGain;
H A Deas_math.h351 * nGain - log scale value in 20.10 format. Even though gain is normally
356 * Returns a 16-bit linear value approximately equal to 2^(nGain/1024)
362 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain);
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_math.c107 * 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) argument
124 nGain += 32767;
127 if (nGain < 0)
131 nExp = 31 - (nGain >> 10);
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp);
H A Deas_mixer.h43 extern void SynthMasterGain( long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 nNumLoopSamples);
H A 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
H A Deas_mixer.c266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples) { argument
280 s *= (long) nGain;
H A Deas_math.h351 * nGain - log scale value in 20.10 format. Even though gain is normally
356 * Returns a 16-bit linear value approximately equal to 2^(nGain/1024)
362 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain);

Completed in 782 milliseconds