Lines Matching refs:step
41 sox_sample_t step; /* step size */ member
84 sox_sample_t step; in AdpcmDecode() local
87 step = state->step; in AdpcmDecode()
90 nstep = (stepAdjustTable[c] * step) >> 8; in AdpcmDecode()
91 state->step = (nstep < 16)? 16:nstep; in AdpcmDecode()
100 sample = (c * step) + vlin; in AdpcmDecode()
137 lsbshortldi(state[ch].step, ip); in lsx_ms_adpcm_block_expand_i()
184 int d, v0, v1, step; in AdpcmMashS() local
196 step = *iostep; in AdpcmMashS()
202 op[0] = step; op[1] = step>>8; in AdpcmMashS()
216 dp = d3 + (step<<3) + (step>>1); in AdpcmMashS()
219 c = dp/step; in AdpcmMashS()
223 dp = c * step; /* quantized estimate of samp - vlin */ in AdpcmMashS()
242 step = (stepAdjustTable[c] * step) >> 8; in AdpcmMashS()
243 if (step < 16) step = 16; in AdpcmMashS()
248 lsx_debug_more("ch%d: st %d->%d, d %.1f\n", ch, *iostep, step, sqrt(d2)); in AdpcmMashS()
249 *iostep = step; in AdpcmMashS()