Lines Matching refs:new_weight
95 int old_weight, new_weight;
117 new_weight = (pos << (16 - rate->pitch_shift)) / (get_threshold >> rate->pitch_shift);
118 old_weight = 0x10000 - new_weight;
119 sample = (old_sample * old_weight + new_sample * new_weight) >> 16;
158 int old_weight, new_weight;
174 new_weight = (pos << (16 - rate->pitch_shift)) / (get_threshold >> rate->pitch_shift);
175 old_weight = 0x10000 - new_weight;
176 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16;
217 int old_weight, new_weight;
239 new_weight = 0x10000 - old_weight;
240 sample = (old_sample * old_weight + new_sample * new_weight) >> 16;
279 int old_weight, new_weight;
296 new_weight = 0x10000 - old_weight;
297 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16;