Commit 28ccece8 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue: 2446 clang formatting patch

parent b6109e60
Loading
Loading
Loading
Loading
Loading
+31 −28
Original line number Diff line number Diff line
@@ -1851,13 +1851,15 @@ void con_tcx_ivas_fx(
    new_Q = s_max( new_Q, -1 );
    new_Q = s_min( new_Q, scf );
#else
    IF(!leg_flag || NE_32(st->element_mode, EVS_MONO)) {
    IF( !leg_flag || NE_32( st->element_mode, EVS_MONO ) )
    {
        scf = norm_s( tmp_deemph );
        new_Q = sub( Q_exc, 4 ); // deemph_fx filter gain can be up to 10 (~2^3.32), so 4 bits of headroom are needed to avoid overflow
        new_Q = s_max( new_Q, -1 );
        new_Q = s_min( new_Q, scf );
    }
    ELSE{
    ELSE
    {
        new_Q = sub( Q_exc, 3 );
        new_Q = s_max( new_Q, -1 );

@@ -1888,7 +1890,8 @@ void con_tcx_ivas_fx(
    move16();

#else
    IF(!leg_flag) {
    IF( !leg_flag )
    {

        if ( GT_16( sub( Q_syn, st->Q_syn_factor ), scf ) )
        {
@@ -1898,9 +1901,9 @@ void con_tcx_ivas_fx(

        st->Q_syn = Q_syn;
        move16();

    }
    ELSE {
    ELSE
    {
        IF( NE_32( st->element_mode, EVS_MONO ) ) // to keep evs bit-exactness
        {
            if ( GT_16( sub( Q_syn, st->Q_syn_factor ), scf ) )