Searched refs:npulses (Results 1 – 2 of 2) sorted by relevance
/liblc3-3.5.0-3.4.0/src/ |
D | sns.c | 453 int npulses = 0; in quantize() local 457 npulses += c[3][i]; in quantize() 462 add_pulse(xm, c[3], 16, npulses, 6, &corr, &energy); in quantize() 463 npulses = 6; in quantize() 470 add_pulse(xm, c[2], 16, npulses, 8, &corr, &energy); in quantize() 471 npulses = 8; in quantize() 482 npulses -= c[2][i]; in quantize() 487 add_pulse(xm, c[1], 10, npulses, 10, &corr, &energy); in quantize() 488 npulses = 10; in quantize() 595 static void deenum_mvpq(int idx, bool ls, int npulses, int *c, int n) in deenum_mvpq() argument [all …]
|
/liblc3-3.5.0-3.4.0/test/ |
D | sns.py | 346 def deenum_mpvq(self, index, ls, npulses, n): argument 355 while index < T.SNS_MPVQ_OFFSETS[i][npulses - yi]: yi += 1 356 index -= T.SNS_MPVQ_OFFSETS[i][npulses - yi] 358 yi = npulses 363 npulses -= yi 364 if npulses <= 0:
|