Lines Matching defs:old_weight
96 int old_weight, new_weight;
119 old_weight = 0x10000 - new_weight;
120 sample = (old_sample * old_weight + new_sample * new_weight) >> 16;
159 int old_weight, new_weight;
176 old_weight = 0x10000 - new_weight;
177 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16;
218 int old_weight, new_weight;
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 + new_sample * new_weight) >> 16;
280 int old_weight, new_weight;
296 old_weight = (pos << (32 - LINEAR_DIV_SHIFT)) / (get_increment >> (LINEAR_DIV_SHIFT - 16));
297 new_weight = 0x10000 - old_weight;
298 *dst = (old_sample * old_weight + new_sample * new_weight) >> 16;