Home
last modified time | relevance | path

Searched refs:dst_incr (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libswresample/
Dresample.c361 … if(!av_reduce(&c->src_incr, &c->dst_incr, out_rate, in_rate * (int64_t)phase_count, INT32_MAX/2)) in resample_init()
363 while (c->dst_incr < (1<<20) && c->src_incr < (1<<20)) { in resample_init()
364 c->dst_incr *= 2; in resample_init()
367 c->ideal_dst_incr = c->dst_incr; in resample_init()
368 c->dst_incr_div = c->dst_incr / c->src_incr; in resample_init()
369 c->dst_incr_mod = c->dst_incr % c->src_incr; in resample_init()
409 c->dst_incr * (int64_t)(phase_count/c->phase_count), INT32_MAX/2)) in rebuild_filter_bank_with_compensation()
416 c->dst_incr = new_dst_incr; in rebuild_filter_bank_with_compensation()
417 while (c->dst_incr < (1<<20) && c->src_incr < (1<<20)) { in rebuild_filter_bank_with_compensation()
418 c->dst_incr *= 2; in rebuild_filter_bank_with_compensation()
[all …]
Dresample.h36 int dst_incr; member
/third_party/pulseaudio/src/pulsecore/ffmpeg/
Dresample2.c62 int dst_incr; member
193 c->ideal_dst_incr= c->dst_incr= in_rate * phase_count; in av_resample_init()
207 …c->dst_incr = c->ideal_dst_incr - c->ideal_dst_incr * (int64_t)sample_delta / compensation_distanc… in av_resample_compensate()
214 int dst_incr_frac= c->dst_incr % c->src_incr; in av_resample()
215 int dst_incr= c->dst_incr / c->src_incr; in av_resample() local
220 int64_t incr= (1LL<<32) * c->dst_incr / c->src_incr; in av_resample()
221 dst_size= FFMIN(dst_size, (src_size-1-index) * (int64_t)c->src_incr / c->dst_incr); in av_resample()
228 index += dst_index * dst_incr; in av_resample()
263 index += dst_incr; in av_resample()
272 dst_incr= c->ideal_dst_incr / c->src_incr; in av_resample()
[all …]
/third_party/ffmpeg/libavresample/
Dresample.c192 if (!av_reduce(&c->src_incr, &c->dst_incr, out_rate, in ff_audio_resample_init()
195 c->ideal_dst_incr = c->dst_incr; in ff_audio_resample_init()
250 c->dst_incr = c->ideal_dst_incr - c->ideal_dst_incr * in avresample_set_compensation()
253 c->dst_incr = c->ideal_dst_incr; in avresample_set_compensation()
266 int dst_incr_frac = c->dst_incr % c->src_incr; in resample()
267 int dst_incr = c->dst_incr / c->src_incr; in resample() local
275 int64_t incr = (1LL << 32) * c->dst_incr / c->src_incr; in resample()
278 c->dst_incr); in resample()
288 index += dst_index * dst_incr; in resample()
302 index += dst_incr; in resample()
[all …]
Dresample.h34 int dst_incr; member
/third_party/ffmpeg/libswresample/x86/
Dresample.asm37 .dst_incr: resd 1 label