Commit 407c1071 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

small fixes

parent c57f2d94
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ Word16 hvq_enc_ivas_fx( /*o : Consumed bits
#ifdef ISSUE_1867_replace_overflow_libenc
            noise_level[i] = extract_h( L_shr_sat( acc, adjust ) ); /* noise_level[] in Q15 */ //??sat
#else
            adjust = add( 19 - ( 15 + 16 ), expNfpe3 );  /* +16 is due to the following extract_h(). */
            noise_level[i] = extract_h( L_shr_sat( acc, adjust ) ); /* noise_level[] in Q15 */
#endif
            move16();
            q_noise_level_idx[i] = quant_lc_fx( noise_level[i], &q_noise_level[i] );
+3 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
#include "stl.h"
#include "ivas_prot_fx.h"


/*-----------------------------------------------------------------*
 * Local constants
 *-----------------------------------------------------------------*/
@@ -4824,7 +4825,6 @@ static void EstimateSHBFrameGain_fx(
    return;
}


static void EstimateSHBFrameGain_ivas_fx(
    const Word16 length,            /* i : SHB overlap length                                                  */
    const Word16 *oriSHB,           /* i : target original SHB frame                               Q(Q_oriSHB) */
@@ -5077,6 +5077,7 @@ static Word32 pow_off_pk_fx( Word16 a[], Word16 len, Word16 step )
    return ( sum );
}


static Word32 pow_off_pk_corrected_fx( Word16 a[], Word16 len, Word16 step )
{
    Word16 i, j;
@@ -5404,6 +5405,7 @@ static void EstimateSHBGainShape_fx(
    return;
}


/*==========================================================================*/
/* FUNCTION :static short closest_centroid_fx () */
/*--------------------------------------------------------------------------*/