Home
last modified time | relevance | path

Searched refs:weighted_sum (Results 1 – 1 of 1) sorted by relevance

/external/svox/pico/lib/
Dpicodata.c730 picoos_int32 fact, rest, out, weighted_sum; in transDurWeighted() local
734 weighted_sum = 0; in transDurWeighted()
736 weighted_sum += inout[i] * weight[i]; in transDurWeighted()
738 if (0 == weighted_sum) { in transDurWeighted()
744 fact = ((targetdur - inputdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum; in transDurWeighted()
746 fact = -((inputdur - targetdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum; in transDurWeighted()