Home
last modified time | relevance | path

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

/external/svox/pico/lib/
Dpicodata.c699 picoos_int16 targetdur, /* target duration in ms */ in transDurUniform() argument
708 fact = (targetdur << (PICODATA_PRECISION - frame_duration_exp)) / inputdur; in transDurUniform()
725 picoos_int16 targetdur, /* target duration in ms */ in transDurWeighted() argument
739 transDurUniform(frame_duration_exp,array_length,inout,inputdur,targetdur,restdur); in transDurWeighted()
743 if (targetdur > inputdur) { 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()
779 picoos_int32 inputdur, targetdur; in picodata_transformDurations() local
794 targetdur = (facttarget * inputdur + PICODATA_PREC_HALF) >> PICODATA_PRECISION; in picodata_transformDurations()
796 targetdur = inputdur; in picodata_transformDurations()
[all …]