/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_mixer.c | 338 …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 …]
|
D | ARM-E_voice_gain_gnu.s | 55 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
|
D | eas_wtengine.c | 89 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()
|
D | eas_pcm.c | 470 …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 …]
|
D | eas_wt_IPC_frame.h | 74 EAS_I16 gainLeft; /* left channel gain */ member
|
D | eas_mixer.h | 133 …EAS_PCM *pInputBuffer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRigh…
|
D | eas_wtsynth.c | 136 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()
|
D | eas_wtengine.h | 133 EAS_I16 gainLeft; /* current gain, left ch */ member
|
D | eas_pcm.h | 181 …EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 gainRigh…
|
D | eas_pcmdata.h | 107 EAS_I16 gainLeft; /* requested gain */ member
|
D | eas_dlssynth.c | 340 …EAS_CalcPanControl((EAS_INT) pChannel->pan - 64 + (EAS_INT) pDLSArt->pan, &pWTVoice->gainLeft, &pW… in DLS_StartVoice()
|
/external/aac/libDRCdec/src/ |
D | drcGainDec_process.cpp | 155 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()
|