Lines Matching refs:weighted_sum
730 picoos_int32 fact, rest, out, weighted_sum;
734 weighted_sum = 0;
736 weighted_sum += inout[i] * weight[i];
738 if (0 == weighted_sum) {
744 fact = ((targetdur - inputdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum;
746 fact = -((inputdur - targetdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum;