Commit 31b7f413 authored by bellard's avatar bellard

avoid name clash


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1104 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 48ee3349
...@@ -262,11 +262,11 @@ typedef struct MDCTContext { ...@@ -262,11 +262,11 @@ typedef struct MDCTContext {
FFTContext fft; FFTContext fft;
} MDCTContext; } MDCTContext;
int mdct_init(MDCTContext *s, int nbits, int inverse); int ff_mdct_init(MDCTContext *s, int nbits, int inverse);
void imdct_calc(MDCTContext *s, FFTSample *output, void ff_imdct_calc(MDCTContext *s, FFTSample *output,
const FFTSample *input, FFTSample *tmp); const FFTSample *input, FFTSample *tmp);
void mdct_calc(MDCTContext *s, FFTSample *out, void ff_mdct_calc(MDCTContext *s, FFTSample *out,
const FFTSample *input, FFTSample *tmp); const FFTSample *input, FFTSample *tmp);
void mdct_end(MDCTContext *s); void ff_mdct_end(MDCTContext *s);
#endif #endif
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
/* /*
* init MDCT or IMDCT computation * init MDCT or IMDCT computation
*/ */
int mdct_init(MDCTContext *s, int nbits, int inverse) int ff_mdct_init(MDCTContext *s, int nbits, int inverse)
{ {
int n, n4, i; int n, n4, i;
float alpha; float alpha;
...@@ -69,8 +69,8 @@ int mdct_init(MDCTContext *s, int nbits, int inverse) ...@@ -69,8 +69,8 @@ int mdct_init(MDCTContext *s, int nbits, int inverse)
* @param input N/2 samples * @param input N/2 samples
* @param tmp N/2 samples * @param tmp N/2 samples
*/ */
void imdct_calc(MDCTContext *s, FFTSample *output, void ff_imdct_calc(MDCTContext *s, FFTSample *output,
const FFTSample *input, FFTSample *tmp) const FFTSample *input, FFTSample *tmp)
{ {
int k, n8, n4, n2, n, j; int k, n8, n4, n2, n, j;
const uint16_t *revtab = s->fft.revtab; const uint16_t *revtab = s->fft.revtab;
...@@ -121,8 +121,8 @@ void imdct_calc(MDCTContext *s, FFTSample *output, ...@@ -121,8 +121,8 @@ void imdct_calc(MDCTContext *s, FFTSample *output,
* @param out N/2 samples * @param out N/2 samples
* @param tmp temporary storage of N/2 samples * @param tmp temporary storage of N/2 samples
*/ */
void mdct_calc(MDCTContext *s, FFTSample *out, void ff_mdct_calc(MDCTContext *s, FFTSample *out,
const FFTSample *input, FFTSample *tmp) const FFTSample *input, FFTSample *tmp)
{ {
int i, j, n, n8, n4, n2, n3; int i, j, n, n8, n4, n2, n3;
FFTSample re, im, re1, im1; FFTSample re, im, re1, im1;
...@@ -162,7 +162,7 @@ void mdct_calc(MDCTContext *s, FFTSample *out, ...@@ -162,7 +162,7 @@ void mdct_calc(MDCTContext *s, FFTSample *out,
} }
} }
void mdct_end(MDCTContext *s) void ff_mdct_end(MDCTContext *s)
{ {
av_freep(&s->tcos); av_freep(&s->tcos);
av_freep(&s->tsin); av_freep(&s->tsin);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment