Loading lib_dec/TonalComponentDetection_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -565,7 +565,7 @@ static void GetF0( /**pF0 = nSamplesCore/tmpPitchLag;*/ BASOP_Util_Divide_MantExp( nSamplesCore, 0, tmpPitchLag, -( 1 /*division by 2*/ + 4 /*accommodate accuracy-prevention-leftshift*/ ), pF0, &tmp ); /*pF0 is Q15*/ move16(); *pF0 = shr( *pF0, sub( 5, tmp ) ); /*Q10 without scalingfactor*/ *pF0 = shr_sat( *pF0, sub( 5, tmp ) ); /*Q10 without scalingfactor*/ move16(); *pOrigF0 = *pF0; /*Q10*/ move16(); Loading Loading
lib_dec/TonalComponentDetection_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -565,7 +565,7 @@ static void GetF0( /**pF0 = nSamplesCore/tmpPitchLag;*/ BASOP_Util_Divide_MantExp( nSamplesCore, 0, tmpPitchLag, -( 1 /*division by 2*/ + 4 /*accommodate accuracy-prevention-leftshift*/ ), pF0, &tmp ); /*pF0 is Q15*/ move16(); *pF0 = shr( *pF0, sub( 5, tmp ) ); /*Q10 without scalingfactor*/ *pF0 = shr_sat( *pF0, sub( 5, tmp ) ); /*Q10 without scalingfactor*/ move16(); *pOrigF0 = *pF0; /*Q10*/ move16(); Loading