Home
last modified time | relevance | path

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

12

/external/sonivox/arm-fm-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 …]
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_mixer.h133 …EAS_PCM *pInputBuffer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRigh…
Deas_fmengine.h78 EAS_U16 gainLeft; /* left gain multiplier */ 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
/external/sonivox/arm-hybrid-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.c86 EAS_I32 gainLeft, gainRight; in WT_VoiceGain() local
102 gainLeft = pWTVoice->gainLeft; in WT_VoiceGain()
127 tmp0 = tmp2 * gainLeft; in WT_VoiceGain()
499 EAS_I32 gainLeft, gainIncLeft; in WT_ProcessVoice() local
505 gainLeft = (pWTIntFrame->prevGain * pWTVoice->gainLeft) << 1; in WT_ProcessVoice()
506 …gainIncLeft = (((pWTIntFrame->frame.gainTarget * pWTVoice->gainLeft) << 1) - gainLeft) >> SYNTH_UP… in WT_ProcessVoice()
515 gainLeft, in WT_ProcessVoice()
526 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_fmengine.h78 EAS_U16 gainLeft; /* left gain multiplier */ member
Deas_wtengine.h133 EAS_I16 gainLeft; /* current gain, left ch */ member
Deas_wtsynth.c132 pVoiceMgr->wtVoices[i].gainLeft = DEFAULT_VOICE_GAIN; in WT_Initialize()
372 EAS_CalcPanControl(pan, &pWTVoice->gainLeft, &pWTVoice->gainRight); in WT_StartVoice()
421 wtConfig.gainLeft = pWTVoice->gainLeft; in WT_StartVoice()
Deas_pcmdata.h107 EAS_I16 gainLeft; /* requested gain */ member
/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.c86 EAS_I32 gainLeft, gainRight; in WT_VoiceGain() local
102 gainLeft = pWTVoice->gainLeft; in WT_VoiceGain()
127 tmp0 = tmp2 * gainLeft; in WT_VoiceGain()
499 EAS_I32 gainLeft, gainIncLeft; in WT_ProcessVoice() local
505 gainLeft = (pWTIntFrame->prevGain * pWTVoice->gainLeft) << 1; in WT_ProcessVoice()
506 …gainIncLeft = (((pWTIntFrame->frame.gainTarget * pWTVoice->gainLeft) << 1) - gainLeft) >> SYNTH_UP… in WT_ProcessVoice()
515 gainLeft, in WT_ProcessVoice()
526 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_wtengine.h133 EAS_I16 gainLeft; /* current gain, left ch */ member
Deas_wtsynth.c132 pVoiceMgr->wtVoices[i].gainLeft = DEFAULT_VOICE_GAIN; in WT_Initialize()
372 EAS_CalcPanControl(pan, &pWTVoice->gainLeft, &pWTVoice->gainRight); in WT_StartVoice()
421 wtConfig.gainLeft = pWTVoice->gainLeft; in WT_StartVoice()
Deas_pcm.h181 …EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 gainRigh…

12