Commit 7468f509 authored by Jan Kiene's avatar Jan Kiene
Browse files

remove todo comments after checking they don't apply

parent 3bfabca2
Loading
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -175,7 +175,6 @@ void ivas_ism_render_sf_fx(
    Word16 slots_to_render;

    /* loop for synthesis, assume we always have to render in multiples of 5ms subframes with spills */
    // TODO: division
    slots_to_render = MIN( sub( st_ivas->hTcBuffer->num_slots, st_ivas->hTcBuffer->slots_rendered ), n_samples_to_render / st_ivas->hTcBuffer->n_samples_granularity );
    first_sf = st_ivas->hTcBuffer->subframes_rendered;
    move16();
@@ -184,7 +183,6 @@ void ivas_ism_render_sf_fx(
    n_samples_rendered_loop = 0;
    move16();

    // TODO: comparison correct? Or do I need an operator?
    WHILE( slots_to_render > 0 )
    {
        slots_to_render = sub( slots_to_render, st_ivas->hTcBuffer->subframe_nbslots[last_sf] );
@@ -322,7 +320,6 @@ void ivas_ism_render_sf_fx(
                    {
                        g2_fx = sub( 32767, *g1_fx ); // 32767 = (1.0f in Q15) - 1
#ifdef NONBE_FIX_968_ISM_BRIR_WITH_HEADROTATION_5MS_FIX
                        // TODO: add on array index: does this need a BASOP?
                        output_fx[j2][k + n_samples_rendered_loop] = L_add( output_fx[j2][k], L_shl( Mpy_32_32( L_add( Mpy_32_16_1( gain_fx, *( g1_fx++ ) ), Mpy_32_16_1( prev_gain_fx, g2_fx ) ), *( tc_fx++ ) ), 1 ) ); // Q11( (30+15+1-16) + 11 -31 +1)
#else
                    output_fx[j2][k] = L_add( output_fx[j2][k], L_shl( Mpy_32_32( L_add( Mpy_32_16_1( gain_fx, *( g1_fx++ ) ), Mpy_32_16_1( prev_gain_fx, g2_fx ) ), *( tc_fx++ ) ), 1 ) ); // Q11( (30+15+1-16) + 11 -31 +1)
@@ -340,7 +337,6 @@ void ivas_ism_render_sf_fx(
                }
            }
#ifdef NONBE_FIX_968_ISM_BRIR_WITH_HEADROTATION_5MS_FIX
            // TODO: pointer arithmetic - does this need a BASOP?
            p_tc_fx[i] += n_samples_in_subframe;
#endif
        }