Commit df1f20c6 authored by vaillancour's avatar vaillancour
Browse files

simplifications

parent 606d50a4
Loading
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -79,7 +79,6 @@ Word16 modify_Fs_fx( /* o : length of output Q0 */
    move16();
    Word16 filt_len_tmp;
    const Resampling_cfg *cfg_ptr_fx;
    Word16 norm_cfg_ptr;

    /*-------------------------------------------------------------------*
     * Find the resampling configuration
@@ -249,7 +248,7 @@ Word16 modify_Fs_fx( /* o : length of output Q0 */
    if ( Q_new_inp != NULL )
#endif
    {
        norm_cfg_ptr = norm_s( sub( cfg_ptr_fx->filter_fx[0], 1 ) );
        *Q_new_inp = negate( norm_s( sub( cfg_ptr_fx->filter_fx[0], 1 ) ) );
    }
    FOR( i = 0; i < lg_out; i++ )
    {
@@ -264,12 +263,7 @@ Word16 modify_Fs_fx( /* o : length of output Q0 */
        }
        sigIn_ptr += add( lshr( j, 15 ), datastep );
    }
#ifdef FIX_2410_HARM_MODIF_FS
    if ( Q_new_inp != NULL )
#endif
    {
        *Q_new_inp = negate( norm_cfg_ptr );
    }

    move16();
    /* rescaling */
    test();