Searched refs:ratio_q26 (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Bluetooth/system/audio/asrc/ |
D | asrc_resampler.cc | 340 void Resample(unsigned ratio_q26, const T* in, int in_stride, size_t in_len, in Resample() argument 343 auto fn = ratio_q26 < (1u << 26) ? &Resampler::Upsample<T> in Resample() 346 (this->*fn)(ratio_q26, in, in_stride, in_len, in_count, out, out_stride, in Resample() 517 unsigned ratio_q26 = round(ldexp(ratio, 26)); in Resample() local 535 r.Resample<T>(ratio_q26, in_data++, channels, in_length, &in_count, in Resample() 565 ((int64_t(sub_q26) << 26) / ratio_q26); in Resample()
|