Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler.cc243 unsigned out_pos_, in_pos_; member in bluetooth::audio::asrc::SourceAudioHalAsrc::Resampler
263 unsigned idx = (in_pos_ >> 26); in Upsample()
264 unsigned phy = (in_pos_ >> 17) & 0x1ff; in Upsample()
265 int16_t mu = (in_pos_ >> 2) & 0x7fff; in Upsample()
273 in_pos_ += ratio; in Upsample()
275 if (in_pos_ - (out_pos_ << 26) >= (1u << 26)) { in Upsample()
299 if (in_pos_ - (out_pos_ << 26) < (1u << 26)) { in Downsample()
300 unsigned idx = (in_pos_ >> 26); in Downsample()
301 unsigned phy = (in_pos_ >> 17) & 0x1ff; in Downsample()
302 int16_t mu = (in_pos_ >> 2) & 0x7fff; in Downsample()
[all …]