HomeSort by relevance Sort by last modified time
    Searched refs:PICODATA_PRECISION (Results 1 - 2 of 2) sorted by null

  /external/svox/pico/lib/
picodata.c 707 rest = (*restdur) << (PICODATA_PRECISION - frame_duration_exp);
708 fact = (targetdur << (PICODATA_PRECISION - frame_duration_exp)) / inputdur;
713 inout[i] = rest >> PICODATA_PRECISION;
714 rest -= inout[i] << PICODATA_PRECISION;
716 (*restdur) = rest >> (PICODATA_PRECISION - frame_duration_exp);
733 rest = (*restdur) << (PICODATA_PRECISION - frame_duration_exp);
742 /* get the additive change factor in PICODATA_PRECISION: */
744 fact = ((targetdur - inputdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum;
746 fact = -((inputdur - targetdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum;
749 /* input[i] * fact * weight[i] is the additive modification in PICODATA_PRECISION */
    [all...]
picodata.h 586 #define PICODATA_PRECISION 10
587 /* constant 0.5 in PICODATA_PRECISION */

Completed in 26 milliseconds