Lines Matching refs:workBuffer
356 INT numOfCoeff, FIXP_DBL workBuffer[]) { in CLpc_ParcorToLpc() argument
362 workBuffer[0] = FX_LPC_TNS2FX_DBL(reflCoeff[0]) >> par2LpcShiftVal; in CLpc_ParcorToLpc()
367 tmp1 = workBuffer[j]; in CLpc_ParcorToLpc()
368 tmp2 = workBuffer[i - 1 - j]; in CLpc_ParcorToLpc()
369 workBuffer[j] += fMult(reflCoeff[i], tmp2); in CLpc_ParcorToLpc()
370 workBuffer[i - 1 - j] += fMult(reflCoeff[i], tmp1); in CLpc_ParcorToLpc()
373 workBuffer[j] += fMult(reflCoeff[i], workBuffer[j]); in CLpc_ParcorToLpc()
376 workBuffer[i] = FX_LPC_TNS2FX_DBL(reflCoeff[i]) >> par2LpcShiftVal; in CLpc_ParcorToLpc()
381 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
387 LpcCoeff[i] = FX_DBL2FX_LPC_TNS(workBuffer[i] << shiftval); in CLpc_ParcorToLpc()
394 INT numOfCoeff, FIXP_DBL workBuffer[]) { in CLpc_ParcorToLpc() argument
400 workBuffer[0] = FX_LPC2FX_DBL(reflCoeff[0]) >> par2LpcShiftVal; in CLpc_ParcorToLpc()
405 tmp1 = workBuffer[j]; in CLpc_ParcorToLpc()
406 tmp2 = workBuffer[i - 1 - j]; in CLpc_ParcorToLpc()
407 workBuffer[j] += fMult(reflCoeff[i], tmp2); in CLpc_ParcorToLpc()
408 workBuffer[i - 1 - j] += fMult(reflCoeff[i], tmp1); in CLpc_ParcorToLpc()
411 workBuffer[j] += fMult(reflCoeff[i], workBuffer[j]); in CLpc_ParcorToLpc()
414 workBuffer[i] = FX_LPC2FX_DBL(reflCoeff[i]) >> par2LpcShiftVal; in CLpc_ParcorToLpc()
419 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
425 LpcCoeff[i] = FX_DBL2FX_LPC(workBuffer[i] << shiftval); in CLpc_ParcorToLpc()
437 FIXP_DBL *workBuffer = parcorWorkBuffer; in CLpc_AutoToParcor() local
450 FDKmemcpy(workBuffer, acorr + 1, numOfCoeff * sizeof(FIXP_DBL)); in CLpc_AutoToParcor()
452 LONG sign = ((LONG)workBuffer[0] >> (DFRACT_BITS - 1)); in CLpc_AutoToParcor()
453 FIXP_DBL tmp = (FIXP_DBL)((LONG)workBuffer[0] ^ sign); in CLpc_AutoToParcor()
467 FIXP_DBL accu2 = fMult(tmp, workBuffer[j]); in CLpc_AutoToParcor()
468 workBuffer[j] += accu1; in CLpc_AutoToParcor()
474 workBuffer++; in CLpc_AutoToParcor()