Searched refs:relativePos (Results 1 – 1 of 1) sorted by relevance
187 WebRtc_Word16 resOut, i, j, relativePos, diff; /* */ in LinearResampler() local200 for( i = 1, j = 0, relativePos = 0; i < lenOut; i++ ) in LinearResampler()203 relativePos += resOut; in LinearResampler()204 while( relativePos > RESAMP_RES ) in LinearResampler()207 relativePos -= RESAMP_RES; in LinearResampler()218 …out[ i ] = in[ j ] - (WebRtc_UWord16)( ((WebRtc_Word32)( udiff * relativePos )) >> RESAMP_RES_BIT); in LinearResampler()225 …out[ i ] = in[ j ] + (WebRtc_UWord16)( ((WebRtc_Word32)( udiff * relativePos )) >> RESAMP_RES_BIT); in LinearResampler()230 …out[ i ] = in[ j ] + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( diff, relativePos, RESAMP_RES_BIT ); in LinearResampler()