Searched refs:src_incr (Results 1 – 11 of 11) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ffmpeg/ |
D | resample2.c | 65 int src_incr; member 192 c->src_incr= out_rate; in av_resample_init() 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() 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() 229 index += frac / c->src_incr; in av_resample() 230 frac %= c->src_incr; in av_resample() 248 val+=(v2-val)*(FELEML)frac / c->src_incr; in av_resample() 264 if(frac >= c->src_incr){ in av_resample() [all …]
|
/third_party/ffmpeg/libswresample/ |
D | resample.c | 362 … if(!av_reduce(&c->src_incr, &c->dst_incr, out_rate, in_rate * (int64_t)phase_count, INT32_MAX/2)) in resample_init() 364 while (c->dst_incr < (1<<20) && c->src_incr < (1<<20)) { in resample_init() 366 c->src_incr *= 2; in resample_init() 369 c->dst_incr_div = c->dst_incr / c->src_incr; in resample_init() 370 c->dst_incr_mod = c->dst_incr % c->src_incr; in resample_init() 409 if (!av_reduce(&new_src_incr, &new_dst_incr, c->src_incr, in rebuild_filter_bank_with_compensation() 416 c->src_incr = new_src_incr; in rebuild_filter_bank_with_compensation() 418 while (c->dst_incr < (1<<20) && c->src_incr < (1<<20)) { in rebuild_filter_bank_with_compensation() 420 c->src_incr *= 2; in rebuild_filter_bank_with_compensation() 423 c->dst_incr_div = c->dst_incr / c->src_incr; in rebuild_filter_bank_with_compensation() [all …]
|
D | resample_template.c | 124 if (frac >= c->src_incr) { in RENAME() 125 frac -= c->src_incr; in RENAME() 154 double inv_src_incr = 1.0 / c->src_incr; in RENAME() 172 val += (v2 - val) * (FELEML) frac / c->src_incr; in RENAME() 177 val += (v2 - val) / c->src_incr * frac; in RENAME() 184 if (frac >= c->src_incr) { in RENAME() 185 frac -= c->src_incr; in RENAME()
|
D | resample.h | 41 int src_incr; member
|
/third_party/ffmpeg/libavresample/ |
D | resample.c | 192 if (!av_reduce(&c->src_incr, &c->dst_incr, out_rate, in ff_audio_resample_init() 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() 275 int64_t incr = (1LL << 32) * c->dst_incr / c->src_incr; in resample() 277 (src_size-1-index) * (int64_t)c->src_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() 303 if (frac >= c->src_incr) { in resample() 304 frac -= c->src_incr; in resample() 309 dst_incr_frac = c->ideal_dst_incr % c->src_incr; in resample() [all …]
|
D | resample.h | 37 int src_incr; member
|
D | resample_template.c | 80 val += (v2 - val) * (FELEML)frac / c->src_incr; in SET_TYPE()
|
/third_party/ffmpeg/libswresample/x86/ |
D | resample.asm | 42 .src_incr: resd 1 label 278 min_filter_len_x4, dst_incr_div, src_incr, \ 285 min_filter_len_x4, dst_incr_div, src_incr, \ 311 mov src_incrd, [ctxq+ResampleContext.src_incr] 331 dst_incr_div, src_incr, src, dst_end, filter_bank 338 dst_incr_div, src_incr, dst, dst_end, filter_bank 364 mov r3, dword [ctxq+ResampleContext.src_incr] 488 ; val += (v2 - val) * (FELEML) frac / c->src_incr; 525 dst_incr_div, src_incr, src, dst_end, filter_bank 529 dst_incr_div, src_incr, dst, dst_end, filter_bank [all …]
|
/third_party/ffmpeg/libswresample/arm/ |
D | resample_init.c | 79 if (frac >= c->src_incr) { \ 80 frac -= c->src_incr; \
|
/third_party/ffmpeg/libswresample/aarch64/ |
D | resample_init.c | 79 if (frac >= c->src_incr) { \ 80 frac -= c->src_incr; \
|
/third_party/ffmpeg/libavresample/arm/ |
D | resample_init.c | 34 AV_CHECK_OFFSET(struct ResampleContext, src_incr, SRC_INCR);
|