Loading lib_enc/tns_base_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -690,7 +690,7 @@ Word16 DetectTnsFilt_ivas_fx( STnsConfig const *pTnsConfig, /* i : TNS Configur pWindow = tnsAcfWindow_fx; n = sub( iEndLine, iStartLine ); assert( n < (Word16) ( sizeof( tmpbuf ) / sizeof( Word16 ) ) ); assert( n <= (Word16) ( sizeof( tmpbuf ) / sizeof( Word16 ) ) ); FOR( i = 0; i < n; i++ ) { tmpbuf[i] = round_fx_sat( L_shl( pSpectrum[iStartLine + i], shift ) ); // using round_fx_sat to address corner case Loading Loading
lib_enc/tns_base_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -690,7 +690,7 @@ Word16 DetectTnsFilt_ivas_fx( STnsConfig const *pTnsConfig, /* i : TNS Configur pWindow = tnsAcfWindow_fx; n = sub( iEndLine, iStartLine ); assert( n < (Word16) ( sizeof( tmpbuf ) / sizeof( Word16 ) ) ); assert( n <= (Word16) ( sizeof( tmpbuf ) / sizeof( Word16 ) ) ); FOR( i = 0; i < n; i++ ) { tmpbuf[i] = round_fx_sat( L_shl( pSpectrum[iStartLine + i], shift ) ); // using round_fx_sat to address corner case Loading