Commit f357f546 authored by Manuel Jander's avatar Manuel Jander
Browse files

Correct calculation of total_bb_power_fx

parent 7807e717
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2071,6 +2071,10 @@ void protoSignalComputation2_fx(
        }

#ifdef FIX_867_CLDFB_NRG_SCALE
        /* Make both shift the same because of total_bb_power_fx */
        min_q_shift[0] = s_min( min_q_shift[0], min_q_shift[1] );
        min_q_shift[1] = min_q_shift[0];
        move16();
        q_temp[0] = sub( add( add( q_cldfb, min_q_shift[0] ), add( q_cldfb, min_q_shift[0] ) ), 31 );
        q_temp[1] = sub( add( add( q_cldfb, min_q_shift[1] ), add( q_cldfb, min_q_shift[1] ) ), 31 );
#else