Lines Matching refs:temp
63 EAS_INT temp; in EAS_CalcPanControl() local
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()
81 if (temp > SYNTH_FULL_SCALE_EG1_GAIN) in EAS_CalcPanControl()
82 temp = SYNTH_FULL_SCALE_EG1_GAIN; in EAS_CalcPanControl()
83 else if (temp < 0) in EAS_CalcPanControl()
84 temp = 0; in EAS_CalcPanControl()
86 *pGainRight = (EAS_I16) temp; 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()
91 if (temp > SYNTH_FULL_SCALE_EG1_GAIN) in EAS_CalcPanControl()
92 temp = SYNTH_FULL_SCALE_EG1_GAIN; in EAS_CalcPanControl()
93 else if (temp < 0) in EAS_CalcPanControl()
94 temp = 0; in EAS_CalcPanControl()
96 *pGainLeft = (EAS_I16) temp; in EAS_CalcPanControl()