Lines Matching refs:dst_index
263 int dst_index; in resample() local
281 for(dst_index = 0; dst_index < dst_size; dst_index++) { in resample()
282 c->resample_nearest(dst, dst_index, src, index2 >> 32); in resample()
286 dst_index = dst_size; in resample()
288 index += dst_index * dst_incr; in resample()
289 index += (frac + dst_index * (int64_t)dst_incr_frac) / c->src_incr; in resample()
290 frac = (frac + dst_index * (int64_t)dst_incr_frac) % c->src_incr; in resample()
292 for (dst_index = 0; dst_index < dst_size; dst_index++) { in resample()
299 c->resample_one(c, dst, dst_index, src, index, frac); in resample()
307 if (dst_index + 1 == compensation_distance) { in resample()
321 compensation_distance -= dst_index; in resample()
331 return dst_index; in resample()