/third_party/ffmpeg/libavresample/tests/ |
D | avresample.c | 205 int in_rate; in main() local 263 in_rate = rates[m]; in main() 266 in_channels, in_rate * 6, in main() 272 audiogen(&rnd, (void **)in_data, in_fmt, in_channels, in_rate, in_rate * 6); in main() 284 in_channels, out_channels, in_rate, out_rate); in main() 296 av_opt_set_int(s, "in_sample_rate", in_rate, 0); in main() 310 in_data, in_linesize, in_rate * 6); in main() 318 in_rate * 6, ret); in main()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | audio-resampler.h | 220 gint in_rate, gint out_rate, 227 gint in_rate, gint out_rate, 238 gint in_rate, gint out_rate,
|
D | audio-resampler.c | 939 if (resampler->out_rate < resampler->in_rate) in calculate_kaiser_params() 1022 if (resampler->in_rate == resampler->out_rate) in setup_functions() 1070 gint in_rate, out_rate; in resampler_calculate_taps() local 1101 in_rate = resampler->in_rate; in resampler_calculate_taps() 1104 if (out_rate < in_rate && scale) { in resampler_calculate_taps() 1105 resampler->cutoff = resampler->cutoff * out_rate / in_rate; in resampler_calculate_taps() 1107 gst_util_uint64_scale_int (resampler->n_taps, in_rate, out_rate); in resampler_calculate_taps() 1128 if (mult * out_rate >= in_rate) in resampler_calculate_taps() 1282 guint quality, gint in_rate, gint out_rate, GstStructure * options) in gst_audio_resampler_options_set_quality() argument 1286 g_return_if_fail (in_rate > 0 && out_rate > 0); in gst_audio_resampler_options_set_quality() [all …]
|
D | audio-converter.h | 142 gint in_rate, gint out_rate, 147 gint *in_rate, gint *out_rate);
|
D | audio-converter.c | 348 gint in_rate, gint out_rate, GstStructure * config) in gst_audio_converter_update_config() argument 351 g_return_val_if_fail ((in_rate == 0 && out_rate == 0) || in gst_audio_converter_update_config() 354 GST_LOG ("new rate %d -> %d", in_rate, out_rate); in gst_audio_converter_update_config() 356 if (in_rate <= 0) in gst_audio_converter_update_config() 357 in_rate = convert->in.rate; in gst_audio_converter_update_config() 361 convert->in.rate = in_rate; in gst_audio_converter_update_config() 365 gst_audio_resampler_update (convert->resampler, in_rate, out_rate, config); in gst_audio_converter_update_config() 389 gint * in_rate, gint * out_rate) in gst_audio_converter_get_config() argument 393 if (in_rate) in gst_audio_converter_get_config() 394 *in_rate = convert->in.rate; in gst_audio_converter_get_config()
|
D | audio-resampler-private.h | 60 gint in_rate; member
|
/third_party/ffmpeg/libswresample/ |
D | soxr_resample.c | 32 static struct ResampleContext *create(struct ResampleContext *c, int out_rate, int in_rate, int fil… in create() argument 58 soxr_create(in_rate, out_rate, 0, &error, &io_spec, &q_spec, 0); in create()
|
D | resample.c | 287 static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_rate, int filter_siz… in resample_init() argument 292 double factor= FFMIN(out_rate * cutoff / in_rate, 1.0); in resample_init() 303 av_reduce(&phase_count_exact, &phase_count_exact_den, out_rate, in_rate, INT_MAX); in resample_init() 361 … if(!av_reduce(&c->src_incr, &c->dst_incr, out_rate, in_rate * (int64_t)phase_count, INT32_MAX/2)) in resample_init()
|
D | swresample_internal.h | 71 …xt * (* resample_init_func)(struct ResampleContext *c, int out_rate, int in_rate, int filter_size,…
|
/third_party/pulseaudio/src/pulsecore/ffmpeg/ |
D | resample2.c | 177 AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_size, int phase_shift, in… in av_resample_init() argument 179 double factor= FFMIN(out_rate * cutoff / in_rate, 1.0); in av_resample_init() 193 c->ideal_dst_incr= c->dst_incr= in_rate * phase_count; in av_resample_init()
|
D | avcodec.h | 68 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_p…
|
/third_party/ffmpeg/libavresample/ |
D | resample.c | 124 int in_rate = avr->in_sample_rate; in ff_audio_resample_init() local 125 double factor = FFMIN(out_rate * avr->cutoff / in_rate, 1.0); in ff_audio_resample_init() 193 in_rate * (int64_t)phase_count, INT32_MAX / 2)) in ff_audio_resample_init()
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gstqueue2.c | 4081 gdouble in_rate = queue->byte_in_rate; in gst_queue2_get_property() local 4085 if (in_rate == 0.0 && queue->bytes_in in gst_queue2_get_property() 4087 in_rate = queue->bytes_in / queue->last_update_in_rates_elapsed; in gst_queue2_get_property() 4089 g_value_set_int64 (value, (gint64) in_rate); in gst_queue2_get_property()
|