Lines Matching defs:old_weight
95 int old_weight, new_weight;
118 old_weight = 0x10000 - new_weight;
119 sample = (old_sample * old_weight + new_sample * new_weight) >> 16;
158 int old_weight, new_weight;
175 old_weight = 0x10000 - new_weight;
176 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16;
217 int old_weight, new_weight;
238 old_weight = (pos << (32 - LINEAR_DIV_SHIFT)) / (get_increment >> (LINEAR_DIV_SHIFT - 16));
239 new_weight = 0x10000 - old_weight;
240 sample = (old_sample * old_weight + new_sample * new_weight) >> 16;
279 int old_weight, new_weight;
295 old_weight = (pos << (32 - LINEAR_DIV_SHIFT)) / (get_increment >> (LINEAR_DIV_SHIFT - 16));
296 new_weight = 0x10000 - old_weight;
297 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16;