Commit 272f551f authored by Jan Kiene's avatar Jan Kiene
Browse files

add a feq forgotten BASOPs

parent e4ef3b9c
Loading
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ void ivas_ism_render_sf_fx(


#ifdef NONBE_FIX_968_ISM_BRIR_WITH_HEADROTATION_5MS_FIX
    for ( subframe_idx = first_sf; subframe_idx < last_sf; subframe_idx++ )
    FOR( subframe_idx = first_sf; subframe_idx < last_sf; subframe_idx++ )
    {
        int16_t n_samples_in_subframe;

@@ -350,14 +350,14 @@ void ivas_ism_render_sf_fx(
#endif

#ifdef NONBE_FIX_968_ISM_BRIR_WITH_HEADROTATION_5MS_FIX
        n_samples_rendered_loop += n_samples_in_subframe;
        if ( st_ivas->renderer_type == RENDERER_TD_PANNING )
        n_samples_rendered_loop = add( n_samples_rendered_loop, n_samples_in_subframe );
        IF( EQ_16( st_ivas->renderer_type, RENDERER_TD_PANNING ) )
        {
            st_ivas->hTcBuffer->subframes_rendered += 1;
            st_ivas->hTcBuffer->slots_rendered += st_ivas->hTcBuffer->subframe_nbslots[subframe_idx];
            st_ivas->hTcBuffer->subframes_rendered = add( st_ivas->hTcBuffer->subframes_rendered, 1 );
            st_ivas->hTcBuffer->slots_rendered = add( st_ivas->hTcBuffer->slots_rendered, st_ivas->hTcBuffer->subframe_nbslots[subframe_idx] );
        }
        tc_offset += n_samples_in_subframe;
        interp_offset += n_samples_in_subframe;
        tc_offset = add( tc_offset, n_samples_in_subframe );
        interp_offset = add( interp_offset, n_samples_in_subframe );
    }
#endif