• Home
  • Raw
  • Download

Lines Matching refs:targetdur

699         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()
800 if (facttarget || (targetdur < mintarget) || (maxtarget < targetdur)) { in picodata_transformDurations()
802 if (targetdur < mintarget) { in picodata_transformDurations()
803 targetdur = mintarget; in picodata_transformDurations()
804 } else if (maxtarget < targetdur) { in picodata_transformDurations()
805 targetdur = maxtarget; 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()