Home
last modified time | relevance | path

Searched refs:gainRight (Results 1 – 11 of 11) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
DARM-E_voice_gain_gnu.s56 gainRight .req r11 label
89 LDRSH gainRight, [pWTVoice, #m_gainRight]
99 MOV gainIncRight, gainRight
100 SMULBB gainRight, tmp0, gainRight
103 SUB gainIncRight, gainIncRight, gainRight
104 MOV gainRight, gainRight, ASR #(NUM_MIXER_GUARD_BITS - 2)
118 ADD gainRight, gainRight, gainIncRight
122 SMLAWB tmp2, gainRight, tmp0, tmp2
Deas_mixer.c338 …fer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRight, EAS_I32 gainInc… in EAS_MixStream() argument
379 gainRight >>= 15; in EAS_MixStream()
383 pMixBuffer[dest+1] += (pInputBuffer[src] * gainRight) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream()
390 gainRight >>= 15; in EAS_MixStream()
394 temp += ((pInputBuffer[src+1] * gainRight) >> NUM_MIXER_GUARD_BITS); in EAS_MixStream()
402 gainRight >>= 15; in EAS_MixStream()
406 pMixBuffer[dest+1] += (pInputBuffer[src+1] * gainRight) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream()
431 gainRight += gainIncRight; in EAS_MixStream()
433 … pMixBuffer[dest+1] += (pInputBuffer[src] * (gainRight >> 15)) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream()
442 gainRight += gainIncRight; in EAS_MixStream()
[all …]
Deas_wtengine.c89 EAS_I32 gainLeft, gainRight; in WT_VoiceGain() local
111 gainRight = pWTVoice->gainRight; in WT_VoiceGain()
145 tmp0 = tmp2 * gainRight; in WT_VoiceGain()
530 EAS_I32 gainRight, gainIncRight; in WT_ProcessVoice() local
537 gainRight = (pWTIntFrame->prevGain * pWTVoice->gainRight) << 1; in WT_ProcessVoice()
538 …gainIncRight = (((pWTIntFrame->frame.gainTarget * pWTVoice->gainRight) << 1) - gainRight) >> SYNTH… in WT_ProcessVoice()
544 gainRight, in WT_ProcessVoice()
Deas_pcm.c470 …s (S_EAS_DATA* pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 gainRight) in EAS_PEUpdateParams() argument
476 pState->gainRight = gainRight; in EAS_PEUpdateParams()
946 pState->gainRight = PCM_DEFAULT_GAIN_SETTING; in InitPCMStream()
983 EAS_I32 gainRight, gainIncRight; in RenderPCMStream() local
1010 pState->currentGainRight = (EAS_I16) FMUL_15x15(pState->gainRight, pState->volume); in RenderPCMStream()
1100 gainRight = (EAS_I32) pState->currentGainRight << SYNTH_UPDATE_PERIOD_IN_BITS; in RenderPCMStream()
1116 gainIncRight = FMUL_15x15(pState->gainRight, gain) - pState->currentGainRight; in RenderPCMStream()
1155 …*pOut++ += (pState->decoderR.output * (gainRight >> SYNTH_UPDATE_PERIOD_IN_BITS)) >> PCM_MIXER_GUA… in RenderPCMStream()
1157 …*pOut++ += (pState->decoderL.output * (gainRight >> SYNTH_UPDATE_PERIOD_IN_BITS)) >> PCM_MIXER_GUA… in RenderPCMStream()
1159 gainRight += gainIncRight; in RenderPCMStream()
[all …]
Deas_wt_IPC_frame.h75 EAS_I16 gainRight; /* right channel gain */ member
Deas_mixer.h133 …fer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRight, EAS_I32 gainInc…
Deas_wtsynth.c136 pVoiceMgr->wtVoices[i].gainRight = DEFAULT_VOICE_GAIN; in WT_Initialize()
375 EAS_CalcPanControl(pan, &pWTVoice->gainLeft, &pWTVoice->gainRight); in WT_StartVoice()
425 wtConfig.gainRight = pWTVoice->gainRight; in WT_StartVoice()
Deas_wtengine.h134 EAS_I16 gainRight; /* current gain, right ch */ member
Deas_pcmdata.h108 EAS_I16 gainRight; /* requested gain */ member
Deas_pcm.h181 …S_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 gainRight);
Deas_dlssynth.c340 …((EAS_INT) pChannel->pan - 64 + (EAS_INT) pDLSArt->pan, &pWTVoice->gainLeft, &pWTVoice->gainRight); in DLS_StartVoice()