Lines Matching refs:dst_index
320 int dst_index;
338 for(dst_index = 0; dst_index < dst_size; dst_index++) {
339 c->resample_nearest(dst, dst_index, src, index2 >> 32);
343 dst_index = dst_size;
345 index += dst_index * dst_incr;
346 index += (frac + dst_index * (int64_t)dst_incr_frac) / c->src_incr;
347 frac = (frac + dst_index * (int64_t)dst_incr_frac) % c->src_incr;
349 for (dst_index = 0; dst_index < dst_size; dst_index++) {
356 c->resample_one(c, dst, dst_index, src, index, frac);
364 if (dst_index + 1 == compensation_distance) {
378 compensation_distance -= dst_index;
388 return dst_index;