Home
last modified time | relevance | path

Searched refs:out_sample_rate (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libswresample/
Dswresample.c60 … int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate, in swr_alloc_set_opts() argument
75 if (av_opt_set_int(s, "osr", out_sample_rate, 0) < 0) in swr_alloc_set_opts()
171 if(s->out_sample_rate <= 0){ in swr_init()
172 av_log(s, AV_LOG_ERROR, "Requested output sample rate %d is invalid\n", s->out_sample_rate); in swr_init()
228 && s->out_sample_rate==s->in_sample_rate in swr_init()
234 && s->out_sample_rate == s->in_sample_rate in swr_init()
262 s->outpts = s->firstpts_in_samples * s->out_sample_rate; in swr_init()
274 if (s->out_sample_rate!=s->in_sample_rate || (s->flags & SWR_FLAG_RESAMPLE)){ in swr_init()
275 …s->resample = s->resampler->init(s->resample, s->out_sample_rate, s->in_sample_rate, s->filter_siz… in swr_init()
329 …s->resample_first= RSC*s->out.ch_count/s->used_ch_count - RSC < s->out_sample_rate/(float)s-> in_s… in swr_init()
[all …]
Dswresample_frame.c69 s->out_sample_rate != out->sample_rate || in config_changed()
142 out->nb_samples = swr_get_delay(s, s->out_sample_rate) + 3; in swr_convert_frame()
144 out->nb_samples += in->nb_samples*(int64_t)s->out_sample_rate / s->in_sample_rate; in swr_convert_frame()
Dsoxr_resample.c106 delay_s = delayed_samples / s->out_sample_rate; in get_delay()
117 double out_samples = (double)s->out_sample_rate / s->in_sample_rate * in_samples; in get_out_samples()
Doptions.c46 {"osr" , "set output sample rate" , OFFSET(out_sample_rate), AV_OPT_TYPE_INT …
47 {"out_sample_rate" , "set output sample rate" , OFFSET(out_sample_rate), AV_OPT_TYPE_INT …
Dswresample.h251 … int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate,
Ddither.c117 if (llabs(s->out_sample_rate - f->rate)*20 <= f->rate && f->name == s->dither.method) { in swri_dither_init()
Dswresample_internal.h105 int out_sample_rate; ///< output sample rate member
Dresample.c535 …num = av_rescale_rnd(num, s->out_sample_rate, ((int64_t)s->in_sample_rate) * c->phase_count, AV_RO… in get_out_samples()
/third_party/ffmpeg/libswresample/tests/
Dswresample.c226 int in_sample_rate, out_sample_rate, ch ,i, flush_count; in main() local
288out_sample_rate = rates [vector % FF_ARRAY_ELEMS(rates )]; vector /= FF_ARRAY_ELEMS(rates); in main()
292 if(out_sample_rate != in_sample_rate || in_ch_layout != out_ch_layout) in main()
302 in_sample_rate, out_sample_rate, in main()
304 forw_ctx = swr_alloc_set_opts(forw_ctx, out_ch_layout, out_sample_fmt, out_sample_rate, in main()
308 out_ch_layout, out_sample_fmt, out_sample_rate, in main()
/third_party/ffmpeg/libavresample/
Dutils.c66 avr->resample_needed = avr->in_sample_rate != avr->out_sample_rate || in avresample_open()
228 avr->out_sample_rate, in avresample_open()
519 avr->out_sample_rate = out->sample_rate; in avresample_config()
541 avr->out_sample_rate != out->sample_rate || in config_changed()
759 avr->out_sample_rate, in avresample_get_out_samples()
Dinternal.h61 int out_sample_rate; /**< output sample rate */ member
Dresample.c123 int out_rate = avr->out_sample_rate; in ff_audio_resample_init()
213 avr->in_sample_rate, avr->out_sample_rate); in ff_audio_resample_init()
Doptions.c44 …{ "out_sample_rate", "Output Sample Rate", OFFSET(out_sample_rate), AV_OPT_TYP…
/third_party/ffmpeg/doc/
Dresampler.texi31 @item osr, out_sample_rate