Home
last modified time | relevance | path

Searched refs:nNetAngle (Results 1 – 5 of 5) sorted by relevance

/external/sonivox/arm-fm-22k/lib_src/
Deas_fmengine.c211 EAS_INT nNetAngle; in FM_CalculatePan() local
230 nNetAngle = ((EAS_I32) pan) << (NUM_EG1_FRAC_BITS -7); in FM_CalculatePan()
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()
Deas_reverb.c467 EAS_I32 nNetAngle; in ReverbCalculateSinCos() local
473 nNetAngle = nPhase >> 1; in ReverbCalculateSinCos()
485 if (nNetAngle > EG1_HALF) in ReverbCalculateSinCos()
487 nNetAngle = EG1_HALF; in ReverbCalculateSinCos()
489 else if (nNetAngle < EG1_MINUS_HALF) in ReverbCalculateSinCos()
491 nNetAngle = EG1_MINUS_HALF; in ReverbCalculateSinCos()
495 nTemp = EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos()
496 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos()
500 nTemp = -EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos()
501 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_fmengine.c211 EAS_INT nNetAngle; in FM_CalculatePan() local
230 nNetAngle = ((EAS_I32) pan) << (NUM_EG1_FRAC_BITS -7); in FM_CalculatePan()
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()
Deas_reverb.c467 EAS_I32 nNetAngle; in ReverbCalculateSinCos() local
473 nNetAngle = nPhase >> 1; in ReverbCalculateSinCos()
485 if (nNetAngle > EG1_HALF) in ReverbCalculateSinCos()
487 nNetAngle = EG1_HALF; in ReverbCalculateSinCos()
489 else if (nNetAngle < EG1_MINUS_HALF) in ReverbCalculateSinCos()
491 nNetAngle = EG1_MINUS_HALF; in ReverbCalculateSinCos()
495 nTemp = EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos()
496 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos()
500 nTemp = -EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos()
501 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos()
/external/sonivox/arm-wt-22k/lib_src/
Deas_reverb.c467 EAS_I32 nNetAngle; in ReverbCalculateSinCos() local
473 nNetAngle = nPhase >> 1; in ReverbCalculateSinCos()
485 if (nNetAngle > EG1_HALF) in ReverbCalculateSinCos()
487 nNetAngle = EG1_HALF; in ReverbCalculateSinCos()
489 else if (nNetAngle < EG1_MINUS_HALF) in ReverbCalculateSinCos()
491 nNetAngle = EG1_MINUS_HALF; in ReverbCalculateSinCos()
495 nTemp = EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos()
496 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos()
500 nTemp = -EG1_ONE + MULT_EG1_EG1(REVERB_PAN_G2, nNetAngle); in ReverbCalculateSinCos()
501 nTemp = REVERB_PAN_G0 + MULT_EG1_EG1(nTemp, nNetAngle); in ReverbCalculateSinCos()