Loading lib_rend/ivas_dirac_rend_fx.c +2 −10 Original line number Diff line number Diff line Loading @@ -2643,8 +2643,6 @@ void protoSignalComputation4_fx( #endif #ifdef FIX_1985_SBA_714_HF_LOSS sf1 = 63; sf2 = 63; FOR( l = 0; l < num_freq_bands; l++ ) { re64 = W_mult_32_32( RealBuffer_fx[0][0][l], RealBuffer_fx[0][0][l] ); Loading @@ -2662,20 +2660,14 @@ void protoSignalComputation4_fx( move64(); } } FOR( l = 0; l < s_min( CLDFB_NO_CHANNELS_HALF, num_freq_bands ); l++ ) { sf1 = s_min( sf1, W_norm( ref_pow64[l] ) ); } sf1 = W_norm_arr( ref_pow64, s_min( CLDFB_NO_CHANNELS_HALF, num_freq_bands ) ); FOR( l = 0; l < s_min( CLDFB_NO_CHANNELS_HALF, num_freq_bands ); l++ ) { reference_power_fx[l] = W_extract_h( W_shl( ref_pow64[l], sf1 ) ); } reference_power_q[0] = sub( add( shl( q_cldfb, 1 ), sf1 ), 31 ); FOR( l = CLDFB_NO_CHANNELS_HALF; l < num_freq_bands; l++ ) { sf2 = s_min( sf2, W_norm( ref_pow64[l] ) ); } sf2 = W_norm_arr( &ref_pow64[CLDFB_NO_CHANNELS_HALF], s_max( 0, sub( num_freq_bands, CLDFB_NO_CHANNELS_HALF ) ) ); FOR( l = CLDFB_NO_CHANNELS_HALF; l < num_freq_bands; l++ ) { reference_power_fx[l] = W_extract_h( W_shl( ref_pow64[l], sf2 ) ); Loading Loading
lib_rend/ivas_dirac_rend_fx.c +2 −10 Original line number Diff line number Diff line Loading @@ -2643,8 +2643,6 @@ void protoSignalComputation4_fx( #endif #ifdef FIX_1985_SBA_714_HF_LOSS sf1 = 63; sf2 = 63; FOR( l = 0; l < num_freq_bands; l++ ) { re64 = W_mult_32_32( RealBuffer_fx[0][0][l], RealBuffer_fx[0][0][l] ); Loading @@ -2662,20 +2660,14 @@ void protoSignalComputation4_fx( move64(); } } FOR( l = 0; l < s_min( CLDFB_NO_CHANNELS_HALF, num_freq_bands ); l++ ) { sf1 = s_min( sf1, W_norm( ref_pow64[l] ) ); } sf1 = W_norm_arr( ref_pow64, s_min( CLDFB_NO_CHANNELS_HALF, num_freq_bands ) ); FOR( l = 0; l < s_min( CLDFB_NO_CHANNELS_HALF, num_freq_bands ); l++ ) { reference_power_fx[l] = W_extract_h( W_shl( ref_pow64[l], sf1 ) ); } reference_power_q[0] = sub( add( shl( q_cldfb, 1 ), sf1 ), 31 ); FOR( l = CLDFB_NO_CHANNELS_HALF; l < num_freq_bands; l++ ) { sf2 = s_min( sf2, W_norm( ref_pow64[l] ) ); } sf2 = W_norm_arr( &ref_pow64[CLDFB_NO_CHANNELS_HALF], s_max( 0, sub( num_freq_bands, CLDFB_NO_CHANNELS_HALF ) ) ); FOR( l = CLDFB_NO_CHANNELS_HALF; l < num_freq_bands; l++ ) { reference_power_fx[l] = W_extract_h( W_shl( ref_pow64[l], sf2 ) ); Loading