Searched refs:old_weight (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/
H A Dpcm_rate_linear.c96 int old_weight, new_weight; local
119 old_weight = 0x10000 - new_weight;
120 sample = (old_sample * old_weight + new_sample * new_weight) >> 16;
159 int old_weight, new_weight; local
176 old_weight = 0x10000 - new_weight;
177 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16;
218 int old_weight, new_weight; local
239 old_weight = (pos << (32 - LINEAR_DIV_SHIFT)) / (get_increment >> (LINEAR_DIV_SHIFT - 16));
240 new_weight = 0x10000 - old_weight;
241 sample = (old_sample * old_weight
280 int old_weight, new_weight; local
[all...]

Completed in 119 milliseconds