Searched refs:corr (Results 1 – 1 of 1) sorted by relevance
/liblc3-3.5.0-3.4.0/src/ |
D | sns.c | 395 int start, int end, float *corr, float *energy) in add_pulse() argument 398 float best_c2 = (*corr + x[0]) * (*corr + x[0]); in add_pulse() 403 float c2 = (*corr + x[i]) * (*corr + x[i]); in add_pulse() 410 *corr += x[nbest]; in add_pulse() 452 float corr = 0, energy = 0; in quantize() local 458 corr += c[3][i] * xm[i]; in quantize() 462 add_pulse(xm, c[3], 16, npulses, 6, &corr, &energy); in quantize() 470 add_pulse(xm, c[2], 16, npulses, 8, &corr, &energy); in quantize() 483 corr -= c[2][i] * xm[i]; in quantize() 487 add_pulse(xm, c[1], 10, npulses, 10, &corr, &energy); in quantize() [all …]
|