Home
last modified time | relevance | path

Searched refs:nTemp (Results 1 – 10 of 10) sorted by relevance

/external/sonivox/arm-fm-22k/lib_src/
Deas_fmengine.c210 EAS_I32 nTemp; in FM_CalculatePan() local
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()
236 if (nTemp > SYNTH_FULL_SCALE_EG1_GAIN) in FM_CalculatePan()
237 nTemp = SYNTH_FULL_SCALE_EG1_GAIN; in FM_CalculatePan()
238 else if (nTemp < 0) in FM_CalculatePan()
239 nTemp = 0; in FM_CalculatePan()
241 *pGainRight = (EAS_U16) nTemp; 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()
[all …]
Deas_math.c121 EAS_U16 nTemp; in EAS_LogToLinear16() local
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp); in EAS_LogToLinear16()
141 return nTemp; in EAS_LogToLinear16()
Deas_reverb.c466 EAS_I32 nTemp; in ReverbCalculateSinCos() local
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()
497 *pnSin = (EAS_I16) SATURATE_EG1(nTemp); 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()
502 *pnCos = (EAS_I16) SATURATE_EG1(nTemp); in ReverbCalculateSinCos()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_fmengine.c210 EAS_I32 nTemp; in FM_CalculatePan() local
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()
236 if (nTemp > SYNTH_FULL_SCALE_EG1_GAIN) in FM_CalculatePan()
237 nTemp = SYNTH_FULL_SCALE_EG1_GAIN; in FM_CalculatePan()
238 else if (nTemp < 0) in FM_CalculatePan()
239 nTemp = 0; in FM_CalculatePan()
241 *pGainRight = (EAS_U16) nTemp; 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()
[all …]
Deas_math.c121 EAS_U16 nTemp; in EAS_LogToLinear16() local
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp); in EAS_LogToLinear16()
141 return nTemp; in EAS_LogToLinear16()
Deas_reverb.c466 EAS_I32 nTemp; in ReverbCalculateSinCos() local
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()
497 *pnSin = (EAS_I16) SATURATE_EG1(nTemp); 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()
502 *pnCos = (EAS_I16) SATURATE_EG1(nTemp); in ReverbCalculateSinCos()
/external/sonivox/arm-wt-22k/lib_src/
Deas_math.c121 EAS_U16 nTemp; in EAS_LogToLinear16() local
138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp); in EAS_LogToLinear16()
141 return nTemp; in EAS_LogToLinear16()
Deas_reverb.c466 EAS_I32 nTemp; in ReverbCalculateSinCos() local
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()
497 *pnSin = (EAS_I16) SATURATE_EG1(nTemp); 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()
502 *pnCos = (EAS_I16) SATURATE_EG1(nTemp); in ReverbCalculateSinCos()
/external/sqlite/dist/
Dsqlite3.c56160 static char *displayP4(Op *pOp, char *zTemp, int nTemp){
56162 assert( nTemp>=20 );
56168 sqlite3_snprintf(nTemp, zTemp, "keyinfo(%d", pKeyInfo->nField);
56174 if( i+n>nTemp-6 ){
56184 }else if( i+4<nTemp-6 ){
56191 assert( i<nTemp );
56196 sqlite3_snprintf(nTemp, zTemp, "collseq(%.20s)", pColl->zName);
56201 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
56205 sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
56209 sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
[all …]
Dsqlite3.c.orig56153 static char *displayP4(Op *pOp, char *zTemp, int nTemp){
56155 assert( nTemp>=20 );
56161 sqlite3_snprintf(nTemp, zTemp, "keyinfo(%d", pKeyInfo->nField);
56167 if( i+n>nTemp-6 ){
56177 }else if( i+4<nTemp-6 ){
56184 assert( i<nTemp );
56189 sqlite3_snprintf(nTemp, zTemp, "collseq(%.20s)", pColl->zName);
56194 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
56198 sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
56202 sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
[all …]