Commit 5f4cacb7 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch 'ivas_dirac_dec_render_sf_fx_cleanup' into 'main'

ivas_dirac_dec_render_sf_fx cleanup

See merge request !307
parents b22e881f 449edfe8
Loading
Loading
Loading
Loading
+738 −1430

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -461,6 +461,8 @@ ivas_error ivas_dirac_dec_output_synthesis_open_fx(
            tmp_fx = hDirACRend->diffuse_response_function_fx[ch_idx];

            dirac_output_synthesis_state->diffuse_responses_square_fx[ch_idx] = L_deposit_h( mult( tmp_fx, tmp_fx ) );
            dirac_output_synthesis_state->diffuse_responses_square_q = Q31;
            move16();
            /*TODO : remove floating code*/
            dirac_output_synthesis_state->diffuse_responses_square[ch_idx] = fixedToFloat( dirac_output_synthesis_state->diffuse_responses_square_fx[ch_idx], Q31 );
        }
+1 −1
Original line number Diff line number Diff line
@@ -1729,7 +1729,7 @@ ivas_error ivas_dirac_alloc_mem(
    hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_fx = hDirAC_mem->proto_direct_buffer_f_fx;
    hDirACRend->h_output_synthesis_psd_state.proto_diffuse_buffer_f_fx = hDirAC_mem->proto_diffuse_buffer_f_fx;
    hDirACRend->h_output_synthesis_psd_state.proto_diffuse_buffer_f_len = hDirAC_mem->proto_diffuse_buffer_f_len;
    hDirACRend->h_output_synthesis_psd_state.proto_diffuse_buffer_f_q = hDirAC_mem->proto_diffuse_buffer_f_q;
    hDirACRend->h_output_synthesis_psd_state.proto_diffuse_buffer_f_q = Q31;
#endif
    /* Gains/power factors*/
    hDirAC_mem->direct_power_factor = NULL;