/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_pan.c | 78 temp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl() 79 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl() 89 temp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl() 90 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
|
D | eas_fmengine.c | 160 nDents = FMUL_15x15(nCents, CENTS_TO_DENTS); in FM_PhaseInc() 233 nTemp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, nNetAngle); in FM_CalculatePan() 234 nTemp = COEFF_PAN_G0 + FMUL_15x15(nTemp, nNetAngle); in FM_CalculatePan() 244 nTemp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, nNetAngle); in FM_CalculatePan() 245 nTemp = COEFF_PAN_G0 + FMUL_15x15(nTemp, nNetAngle); in FM_CalculatePan() 338 temp = FMUL_15x15(temp, (gain >> 16)); in FM_Operator() 341 temp2 = FMUL_15x15(temp, p->outputGain); in FM_Operator() 436 temp2 = FMUL_15x15(temp, (gain >> 16)); in FM_NoiseOperator() 439 temp2 = FMUL_15x15(temp2, p->outputGain); in FM_NoiseOperator()
|
D | eas_fmsynth.c | 436 pFMVoice->voiceGain = (EAS_I16) FMUL_15x15(pFMVoice->voiceGain, pSynth->masterVolume); in FM_StartVoice() 535 temp = FMUL_15x15(temp, pChannel->pitchBendSensitivity); in FM_UpdateChannel() 549 temp = FMUL_15x15(DEFAULT_LFO_MOD_WHEEL_TO_PITCH_CENTS, in FM_UpdateChannel() 554 FMUL_15x15(DEFAULT_LFO_CHANNEL_PRESSURE_TO_PITCH_CENTS, in FM_UpdateChannel() 655 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate); in FM_UpdateEG() 687 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate); in FM_UpdateEG() 746 lfoPitch = FMUL_15x15(pFMVoice->lfoValue, temp); in FM_UpdateDynamic() 842 …vCfg.gain[oper] = (EAS_U16) FMUL_15x15(pFMVoice->oper[oper].baseGain, pFMVoice->oper[oper].envGain… in FM_UpdateVoice() 879 voiceGainTarget = (EAS_U16) FMUL_15x15(voiceGainTarget, pSynth->masterVolume); in FM_UpdateVoice() 890 …vFrame.gain[oper] = (EAS_U16) FMUL_15x15(pFMVoice->oper[oper].baseGain, pFMVoice->oper[oper].envGa… in FM_UpdateVoice() [all …]
|
D | eas_pcm.c | 1009 pState->currentGainLeft = (EAS_I16) FMUL_15x15(pState->gainLeft, pState->volume); in RenderPCMStream() 1010 pState->currentGainRight = (EAS_I16) FMUL_15x15(pState->gainRight, pState->volume); in RenderPCMStream() 1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume); in RenderPCMStream() 1114 gainIncLeft = FMUL_15x15(pState->gainLeft, gain) - pState->currentGainLeft; in RenderPCMStream() 1116 gainIncRight = FMUL_15x15(pState->gainRight, gain) - pState->currentGainRight; in RenderPCMStream() 1127 phaseInc = FMUL_15x15(phaseInc, temp); in RenderPCMStream() 1139 …pState->decoderL.output = pState->decoderL.x0 + FMUL_15x15((pState->decoderL.x1 - pState->decoderL… in RenderPCMStream() 1146 …pState->decoderR.output = pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR… in RenderPCMStream() 1166 …pState->decoderR.output= pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR.… in RenderPCMStream()
|
D | eas_math.c | 66 nDents = FMUL_15x15(nCents, CENTS_TO_DENTS); in EAS_Calculate2toX()
|
D | eas_math.h | 68 #define FMUL_15x15(a,b) \ macro
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_pan.c | 78 temp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl() 79 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl() 89 temp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl() 90 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
|
D | eas_dlssynth.c | 156 pitchCents += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); in DLS_UpdatePhaseInc() 170 pitchCents += FMUL_15x15(temp, pWTVoice->vibLFO.lfoValue); in DLS_UpdatePhaseInc() 173 pitchCents += FMUL_15x15(pDLSArt->eg2ToPitch, pWTVoice->eg2Value); in DLS_UpdatePhaseInc() 201 gain += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); in DLS_UpdateGain() 216 gain = FMUL_15x15(gain, temp); in DLS_UpdateGain() 223 gain = FMUL_15x15(gain, pWTVoice->eg1Value); in DLS_UpdateGain() 227 gain = FMUL_15x15(gain, pChannel->staticGain); in DLS_UpdateGain() 233 temp = FMUL_15x15(temp, temp); in DLS_UpdateGain() 234 gain = FMUL_15x15(gain, temp); in DLS_UpdateGain() 274 cutoff += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); in DLS_UpdateFilter() [all …]
|
D | eas_pcm.c | 1009 pState->currentGainLeft = (EAS_I16) FMUL_15x15(pState->gainLeft, pState->volume); in RenderPCMStream() 1010 pState->currentGainRight = (EAS_I16) FMUL_15x15(pState->gainRight, pState->volume); in RenderPCMStream() 1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume); in RenderPCMStream() 1114 gainIncLeft = FMUL_15x15(pState->gainLeft, gain) - pState->currentGainLeft; in RenderPCMStream() 1116 gainIncRight = FMUL_15x15(pState->gainRight, gain) - pState->currentGainRight; in RenderPCMStream() 1127 phaseInc = FMUL_15x15(phaseInc, temp); in RenderPCMStream() 1139 …pState->decoderL.output = pState->decoderL.x0 + FMUL_15x15((pState->decoderL.x1 - pState->decoderL… in RenderPCMStream() 1146 …pState->decoderR.output = pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR… in RenderPCMStream() 1166 …pState->decoderR.output= pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR.… in RenderPCMStream()
|
D | eas_math.c | 66 nDents = FMUL_15x15(nCents, CENTS_TO_DENTS); in EAS_Calculate2toX()
|
D | eas_math.h | 69 #define FMUL_15x15(a,b) \ macro
|
D | eas_mdls.c | 2505 temp = FMUL_15x15(temp, TIME_CENTS_TO_LOG2); in ConvertDelay() 2535 temp = FMUL_15x15(temp, TIME_CENTS_TO_LOG2); in ConvertRate() 2591 pan = FMUL_15x15 (PAN_CONVERSION_FACTOR, pan); in ConvertPan()
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_pan.c | 78 temp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl() 79 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl() 89 temp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl() 90 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
|
D | eas_fmengine.c | 160 nDents = FMUL_15x15(nCents, CENTS_TO_DENTS); in FM_PhaseInc() 233 nTemp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, nNetAngle); in FM_CalculatePan() 234 nTemp = COEFF_PAN_G0 + FMUL_15x15(nTemp, nNetAngle); in FM_CalculatePan() 244 nTemp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, nNetAngle); in FM_CalculatePan() 245 nTemp = COEFF_PAN_G0 + FMUL_15x15(nTemp, nNetAngle); in FM_CalculatePan() 338 temp = FMUL_15x15(temp, (gain >> 16)); in FM_Operator() 341 temp2 = FMUL_15x15(temp, p->outputGain); in FM_Operator() 436 temp2 = FMUL_15x15(temp, (gain >> 16)); in FM_NoiseOperator() 439 temp2 = FMUL_15x15(temp2, p->outputGain); in FM_NoiseOperator()
|
D | eas_fmsynth.c | 436 pFMVoice->voiceGain = (EAS_I16) FMUL_15x15(pFMVoice->voiceGain, pSynth->masterVolume); in FM_StartVoice() 535 temp = FMUL_15x15(temp, pChannel->pitchBendSensitivity); in FM_UpdateChannel() 549 temp = FMUL_15x15(DEFAULT_LFO_MOD_WHEEL_TO_PITCH_CENTS, in FM_UpdateChannel() 554 FMUL_15x15(DEFAULT_LFO_CHANNEL_PRESSURE_TO_PITCH_CENTS, in FM_UpdateChannel() 655 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate); in FM_UpdateEG() 687 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate); in FM_UpdateEG() 746 lfoPitch = FMUL_15x15(pFMVoice->lfoValue, temp); in FM_UpdateDynamic() 842 …vCfg.gain[oper] = (EAS_U16) FMUL_15x15(pFMVoice->oper[oper].baseGain, pFMVoice->oper[oper].envGain… in FM_UpdateVoice() 879 voiceGainTarget = (EAS_U16) FMUL_15x15(voiceGainTarget, pSynth->masterVolume); in FM_UpdateVoice() 890 …vFrame.gain[oper] = (EAS_U16) FMUL_15x15(pFMVoice->oper[oper].baseGain, pFMVoice->oper[oper].envGa… in FM_UpdateVoice() [all …]
|
D | eas_pcm.c | 1009 pState->currentGainLeft = (EAS_I16) FMUL_15x15(pState->gainLeft, pState->volume); in RenderPCMStream() 1010 pState->currentGainRight = (EAS_I16) FMUL_15x15(pState->gainRight, pState->volume); in RenderPCMStream() 1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume); in RenderPCMStream() 1114 gainIncLeft = FMUL_15x15(pState->gainLeft, gain) - pState->currentGainLeft; in RenderPCMStream() 1116 gainIncRight = FMUL_15x15(pState->gainRight, gain) - pState->currentGainRight; in RenderPCMStream() 1127 phaseInc = FMUL_15x15(phaseInc, temp); in RenderPCMStream() 1139 …pState->decoderL.output = pState->decoderL.x0 + FMUL_15x15((pState->decoderL.x1 - pState->decoderL… in RenderPCMStream() 1146 …pState->decoderR.output = pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR… in RenderPCMStream() 1166 …pState->decoderR.output= pState->decoderR.x0 + FMUL_15x15((pState->decoderR.x1 - pState->decoderR.… in RenderPCMStream()
|
D | eas_math.c | 66 nDents = FMUL_15x15(nCents, CENTS_TO_DENTS); in EAS_Calculate2toX()
|
D | eas_math.h | 68 #define FMUL_15x15(a,b) \ macro
|