Home
last modified time | relevance | path

Searched refs:gainLeft (Results 1 – 12 of 12) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_mixer.c338 …EAS_PCM *pInputBuffer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRigh… in EAS_MixStream() argument
368 gainLeft >>= 15; in EAS_MixStream()
372 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream()
378 gainLeft >>= 15; in EAS_MixStream()
382 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream()
389 gainLeft >>= 15; in EAS_MixStream()
393 temp = (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream()
401 gainLeft >>= 15; in EAS_MixStream()
405 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream()
421 gainLeft += gainIncLeft; in EAS_MixStream()
[all …]
DARM-E_voice_gain_gnu.s55 gainLeft .req r10 label
88 LDRSH gainLeft, [pWTVoice, #m_gainLeft]
91 MOV gainIncLeft, gainLeft
92 SMULBB gainLeft, tmp0, gainLeft
95 SUB gainIncLeft, gainIncLeft, gainLeft
96 MOV gainLeft, gainLeft, ASR #(NUM_MIXER_GUARD_BITS - 2)
112 ADD gainLeft, gainLeft, gainIncLeft
114 SMLAWB tmp1, gainLeft, tmp0, tmp1
Deas_wtengine.c89 EAS_I32 gainLeft, gainRight; in WT_VoiceGain() local
110 gainLeft = pWTVoice->gainLeft; in WT_VoiceGain()
135 tmp0 = tmp2 * gainLeft; in WT_VoiceGain()
527 EAS_I32 gainLeft, gainIncLeft; in WT_ProcessVoice() local
533 gainLeft = (pWTIntFrame->prevGain * pWTVoice->gainLeft) << 1; in WT_ProcessVoice()
534 …gainIncLeft = (((pWTIntFrame->frame.gainTarget * pWTVoice->gainLeft) << 1) - gainLeft) >> SYNTH_UP… in WT_ProcessVoice()
543 gainLeft, in WT_ProcessVoice()
554 gainLeft, in WT_ProcessVoice()
Deas_pcm.c470 …ms (S_EAS_DATA* pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 gainRigh… in EAS_PEUpdateParams() argument
473 pState->gainLeft = gainLeft; in EAS_PEUpdateParams()
940 pState->gainLeft = PCM_DEFAULT_GAIN_SETTING; in InitPCMStream()
977 EAS_I32 gainLeft, gainIncLeft; in RenderPCMStream() local
1009 pState->currentGainLeft = (EAS_I16) FMUL_15x15(pState->gainLeft, pState->volume); in RenderPCMStream()
1097 gainLeft = (EAS_I32) pState->currentGainLeft << SYNTH_UPDATE_PERIOD_IN_BITS; in RenderPCMStream()
1114 gainIncLeft = FMUL_15x15(pState->gainLeft, gain) - pState->currentGainLeft; in RenderPCMStream()
1150 …*pOut++ += (pState->decoderL.output * (gainLeft >> SYNTH_UPDATE_PERIOD_IN_BITS)) >> PCM_MIXER_GUAR… in RenderPCMStream()
1151 gainLeft += gainIncLeft; in RenderPCMStream()
1170 …*pOut++ += ((pState->decoderL.output + pState->decoderR.output) * (gainLeft >> SYNTH_UPDATE_PERIOD… in RenderPCMStream()
[all …]
Deas_wt_IPC_frame.h74 EAS_I16 gainLeft; /* left channel gain */ member
Deas_mixer.h133 …EAS_PCM *pInputBuffer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRigh…
Deas_wtsynth.c136 pVoiceMgr->wtVoices[i].gainLeft = DEFAULT_VOICE_GAIN; in WT_Initialize()
376 EAS_CalcPanControl(pan, &pWTVoice->gainLeft, &pWTVoice->gainRight); in WT_StartVoice()
425 wtConfig.gainLeft = pWTVoice->gainLeft; in WT_StartVoice()
Deas_wtengine.h133 EAS_I16 gainLeft; /* current gain, left ch */ member
Deas_pcm.h181 …EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 gainRigh…
Deas_pcmdata.h107 EAS_I16 gainLeft; /* requested gain */ member
Deas_dlssynth.c340 …EAS_CalcPanControl((EAS_INT) pChannel->pan - 64 + (EAS_INT) pDLSArt->pan, &pWTVoice->gainLeft, &pW… in DLS_StartVoice()
/external/aac/libDRCdec/src/
DdrcGainDec_process.cpp155 const FIXP_DBL gainLeft, const FIXP_DBL gainRight, const FIXP_DBL slopeLeft, in _interpolateDrcGain() argument
181 fMin(CntLeadingZeros(gainRight), CntLeadingZeros(gainLeft)) - 1, 8); in _interpolateDrcGain()
182 a = (LONG)((gainRight << n_min) - (gainLeft << n_min)) / tGainStep; in _interpolateDrcGain()
185 a = a * n + (LONG)(gainLeft << n_min); in _interpolateDrcGain()