Lines Matching defs:in_sample_rate
57 int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate,
70 av_opt_set_int(s, "isr", in_sample_rate, 0);
216 s->max_soft_compensation = s->async / (double) s->in_sample_rate;
220 if (s->out_sample_rate!=s->in_sample_rate || (s->flags & SWR_FLAG_RESAMPLE)){
221 s->resample = s->resampler->init(s->resample, s->out_sample_rate, s->in_sample_rate, s->filter_size, s->phase_shift, s->linear_interp, s->cutoff, s->int_sample_fmt, s->filter_type, s->kaiser_beta, s->precision, s->cheby);
258 s->resample_first= RSC*s->out.ch_count/s->in.ch_count - RSC < s->out_sample_rate/(float)s-> in_sample_rate - 1.0;
499 // in_max= out_count*(int64_t)s->in_sample_rate / s->out_sample_rate + resample_filter_taps;
666 s->outpts += ret * (int64_t)s->in_sample_rate;
717 s->outpts += ret2 * (int64_t)s->in_sample_rate;
764 return (s->in_buffer_count*base + (s->in_sample_rate>>1))/ s->in_sample_rate;
796 return (s->outpts = pts - swr_get_delay(s, s->in_sample_rate * (int64_t)s->out_sample_rate));
798 int64_t delta = pts - swr_get_delay(s, s->in_sample_rate * (int64_t)s->out_sample_rate) - s->outpts + s->drop_output*(int64_t)s->in_sample_rate;
799 double fdelta = delta /(double)(s->in_sample_rate * (int64_t)s->out_sample_rate);
805 else ret = swr_drop_output (s, -delta / s-> in_sample_rate);
811 double max_soft_compensation = s->max_soft_compensation / (s->max_soft_compensation < 0 ? -s->in_sample_rate : 1);