Commit 8a4f4992 authored by Adityaraj Jain's avatar Adityaraj Jain
Browse files

corrected length

parent d61cd826
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -219,13 +219,13 @@ void find_targets_ivas_fx(
        /* first half: xn[] --> cn[] */
        temp[0] = 0;
        move16();
        preemph_copy_fx( xn, cn, tilt_fac, L_SUBFR / 2, temp );
        syn_filt_s_lc_fx( 1, Ap, cn, temp, L_SUBFR / 2 );   /* Q-1 -> Q-2 */
        Residu3_lc_fx( p_Aq, M, temp, cn, L_SUBFR / 2, 1 ); /* Q-2 -> Q-1 */
        Scale_sig( cn, L_SUBFR / 2, 1 );
        preemph_copy_fx( xn, cn, tilt_fac, L_subfr / 2, temp );
        syn_filt_s_lc_fx( 1, Ap, cn, temp, L_subfr / 2 );   /* Q-1 -> Q-2 */
        Residu3_lc_fx( p_Aq, M, temp, cn, L_subfr / 2, 1 ); /* Q-2 -> Q-1 */
        Scale_sig( cn, L_subfr / 2, 1 );

        /* second half: res[] --> cn[] (approximated and faster) */
        Copy( &res[i_subfr + ( L_SUBFR / 2 )], cn + ( L_SUBFR / 2 ), L_SUBFR / 2 );
        Copy( &res[i_subfr + ( L_subfr / 2 )], cn + ( L_subfr / 2 ), L_subfr / 2 );
    }

    /*---------------------------------------------------------------*