www.pudn.com > aacenc.rar > imdct.c
#include#include #include "common.h" #include "tf_main.h" #include "transfo.h" #include "block.h" #include "dolby_win.h" #define DPI 3.14159265358979323846264338327950288 static double zero = 0; static void vcopy( double src[], double dest[], int inc_src, int inc_dest, int vlen ) { int i; for( i=0; i =0; ) { vmult( p_o_buf, window_short_prev_ptr, windowed_buf, 1, 1, 1, nshort ); vmult( p_o_buf+nshort, window_short+nshort-1, windowed_buf+nshort, 1, -1, 1, nshort ); mdct( windowed_buf, p_out_mdct, 2*nshort ); p_out_mdct += nshort; /* YT 970615 for sonPP*/ p_o_buf += nshort; window_short_prev_ptr = window_short; } break; } /* Set output data vcopy(transf_buf, p_out_mdct,1, 1, nlong); */ /* --- Save old window shape --- */ wfun_select_prev = wfun_select; } /***********************************************************************************************/