Home
last modified time | relevance | path

Searched refs:nTemp (Results 1 – 13 of 13) 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/pdfium/core/src/fxcodec/jbig2/
DJBig2_ArithIntDecoder.cpp21 int nNeedBits, nTemp, i; in decode() local
62 nTemp = 0; in decode()
70 nTemp = (nTemp << 1) | D; in decode()
72 V += nTemp; in decode()
DJBig2_Context.cpp1706 FX_INT32 i, j, nTemp, nVal, nBits; in decodeSymbolIDHuffmanTable() local
1720 if(pStream->read1Bit(&nTemp) != 0) { in decodeSymbolIDHuffmanTable()
1723 nVal = (nVal << 1) | nTemp; in decodeSymbolIDHuffmanTable()
1739 if(pStream->readNBits(2, &nTemp) != 0) { in decodeSymbolIDHuffmanTable()
1742 run = nTemp + 3; in decodeSymbolIDHuffmanTable()
1744 if(pStream->readNBits(3, &nTemp) != 0) { in decodeSymbolIDHuffmanTable()
1747 run = nTemp + 3; in decodeSymbolIDHuffmanTable()
1749 if(pStream->readNBits(7, &nTemp) != 0) { in decodeSymbolIDHuffmanTable()
1752 run = nTemp + 11; in decodeSymbolIDHuffmanTable()
/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/pdfium/fpdfsdk/src/fxedit/
Dfxet_list.cpp405 FX_INT32 nTemp = nEndIndex; in Add() local
407 nBeginIndex = nTemp; in Add()
427 FX_INT32 nTemp = nEndIndex; in Sub() local
429 nBeginIndex = nTemp; in Sub()
/external/sqlite/dist/
Dsqlite3.c65779 int nTemp /* Space available in zTemp[] */
65791 for(ii=jj=0; jj<nTemp-1 && (c = zSynopsis[ii])!=0; ii++){
65795 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", zP4);
65797 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", pOp->zComment);
65802 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%d", v1);
65812 sqlite3_snprintf(nTemp-jj, zTemp+jj, "..%d", v1+v2-1);
65823 if( !seenCom && jj<nTemp-5 && pOp->zComment ){
65824 sqlite3_snprintf(nTemp-jj, zTemp+jj, "; %s", pOp->zComment);
65827 if( jj<nTemp ) zTemp[jj] = 0;
65829 sqlite3_snprintf(nTemp, zTemp, "%s", pOp->zComment);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c65761 int nTemp /* Space available in zTemp[] */
65773 for(ii=jj=0; jj<nTemp-1 && (c = zSynopsis[ii])!=0; ii++){
65777 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", zP4);
65779 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%s", pOp->zComment);
65784 sqlite3_snprintf(nTemp-jj, zTemp+jj, "%d", v1);
65794 sqlite3_snprintf(nTemp-jj, zTemp+jj, "..%d", v1+v2-1);
65805 if( !seenCom && jj<nTemp-5 && pOp->zComment ){
65806 sqlite3_snprintf(nTemp-jj, zTemp+jj, "; %s", pOp->zComment);
65809 if( jj<nTemp ) zTemp[jj] = 0;
65811 sqlite3_snprintf(nTemp, zTemp, "%s", pOp->zComment);
[all …]