Revision 82696bee libavcodec/mdct.c
libavcodec/mdct.c  

21  21 
/* 
22  22 
* init MDCT or IMDCT computation 
23  23 
*/ 
24 
int mdct_init(MDCTContext *s, int nbits, int inverse) 

24 
int ff_mdct_init(MDCTContext *s, int nbits, int inverse)


25  25 
{ 
26  26 
int n, n4, i; 
27  27 
float alpha; 
...  ...  
69  69 
* @param input N/2 samples 
70  70 
* @param tmp N/2 samples 
71  71 
*/ 
72 
void imdct_calc(MDCTContext *s, FFTSample *output, 

73 
const FFTSample *input, FFTSample *tmp) 

72 
void ff_imdct_calc(MDCTContext *s, FFTSample *output,


73 
const FFTSample *input, FFTSample *tmp)


74  74 
{ 
75  75 
int k, n8, n4, n2, n, j; 
76  76 
const uint16_t *revtab = s>fft.revtab; 
...  ...  
121  121 
* @param out N/2 samples 
122  122 
* @param tmp temporary storage of N/2 samples 
123  123 
*/ 
124 
void mdct_calc(MDCTContext *s, FFTSample *out, 

125 
const FFTSample *input, FFTSample *tmp) 

124 
void ff_mdct_calc(MDCTContext *s, FFTSample *out,


125 
const FFTSample *input, FFTSample *tmp)


126  126 
{ 
127  127 
int i, j, n, n8, n4, n2, n3; 
128  128 
FFTSample re, im, re1, im1; 
...  ...  
162  162 
} 
163  163 
} 
164  164  
165 
void mdct_end(MDCTContext *s) 

165 
void ff_mdct_end(MDCTContext *s)


166  166 
{ 
167  167 
av_freep(&s>tcos); 
168  168 
av_freep(&s>tsin); 
Also available in: Unified diff