Lines Matching refs:inputdur
698 picoos_int16 inputdur, /* input duration in ms */ in transDurUniform() argument
708 fact = (targetdur << (PICODATA_PRECISION - frame_duration_exp)) / inputdur; in transDurUniform()
724 picoos_int16 inputdur, /* input 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
783 inputdur = 0; in picodata_transformDurations()
785 inputdur += inout[i]; in picodata_transformDurations()
788 … duration fact=%i, limits = [%i,%i] (input frames: %i)",facttarget,mintarget,maxtarget, inputdur)); in picodata_transformDurations()
790 inputdur <<= frame_duration_exp; in picodata_transformDurations()
794 targetdur = (facttarget * inputdur + PICODATA_PREC_HALF) >> PICODATA_PRECISION; in picodata_transformDurations()
796 targetdur = inputdur; in picodata_transformDurations()
809 transDurUniform(frame_duration_exp,array_length,inout,inputdur,targetdur,dur_rest); in picodata_transformDurations()
811 … transDurWeighted(frame_duration_exp,array_length,inout,weight,inputdur,targetdur,dur_rest); in picodata_transformDurations()