Loading lib_dec/ivas_dirac_dec.c +4 −4 Original line number Diff line number Diff line Loading @@ -5193,8 +5193,8 @@ void ivas_dirac_dec_render_sf_fx( #ifdef FIX_867 FOR( Word16 l = 0; l < hSpatParamRendCom->num_freq_bands; l++ ) { scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 } #else scale_sig32( Cldfb_RealBuffer_fx[ch][slot_idx], hSpatParamRendCom->num_freq_bands, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev, 33 ) ) ) ); // Q6 Loading @@ -5212,8 +5212,8 @@ void ivas_dirac_dec_render_sf_fx( #ifdef FIX_867 FOR( Word16 l = 0; l < hSpatParamRendCom->num_freq_bands; l++ ) { scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 } #else scale_sig32( Cldfb_RealBuffer_fx[ch][slot_idx], hSpatParamRendCom->num_freq_bands, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev, 33 ) ) ) ); // Q6 Loading Loading
lib_dec/ivas_dirac_dec.c +4 −4 Original line number Diff line number Diff line Loading @@ -5193,8 +5193,8 @@ void ivas_dirac_dec_render_sf_fx( #ifdef FIX_867 FOR( Word16 l = 0; l < hSpatParamRendCom->num_freq_bands; l++ ) { scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 } #else scale_sig32( Cldfb_RealBuffer_fx[ch][slot_idx], hSpatParamRendCom->num_freq_bands, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev, 33 ) ) ) ); // Q6 Loading @@ -5212,8 +5212,8 @@ void ivas_dirac_dec_render_sf_fx( #ifdef FIX_867 FOR( Word16 l = 0; l < hSpatParamRendCom->num_freq_bands; l++ ) { scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_RealBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 scale_sig32( &Cldfb_ImagBuffer_fx[ch][slot_idx][l], 1, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev[ch*hSpatParamRendCom->num_freq_bands + l], 33 ) ) ) ); // Q6 } #else scale_sig32( Cldfb_RealBuffer_fx[ch][slot_idx], hSpatParamRendCom->num_freq_bands, sub( Q6, add( hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_q, sub( hDirACRend->h_output_synthesis_psd_state.q_cy_cross_dir_smooth_prev, 33 ) ) ) ); // Q6 Loading