Searched refs:PICODATA_PRECISION (Results 1 – 2 of 2) sorted by relevance
707 rest = (*restdur) << (PICODATA_PRECISION - frame_duration_exp); in transDurUniform()708 fact = (targetdur << (PICODATA_PRECISION - frame_duration_exp)) / inputdur; in transDurUniform()713 inout[i] = rest >> PICODATA_PRECISION; in transDurUniform()714 rest -= inout[i] << PICODATA_PRECISION; in transDurUniform()716 (*restdur) = rest >> (PICODATA_PRECISION - frame_duration_exp); in transDurUniform()733 rest = (*restdur) << (PICODATA_PRECISION - frame_duration_exp); 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()753 out = inout[i] + (rest >> PICODATA_PRECISION); in transDurWeighted()757 rest -= ((out-inout[i]) << PICODATA_PRECISION); in transDurWeighted()[all …]
586 #define PICODATA_PRECISION 10 macro