changeset 794:670009af4fc2 libavcodec

avoid name clash
author bellard
date Tue, 29 Oct 2002 22:26:01 +0000
parents 8e9faf69110f
children 55add0e7eafb
files dsputil.h mdct.c
diffstat 2 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.h	Tue Oct 29 20:12:24 2002 +0000
+++ b/dsputil.h	Tue Oct 29 22:26:01 2002 +0000
@@ -262,11 +262,11 @@
     FFTContext fft;
 } MDCTContext;
 
-int mdct_init(MDCTContext *s, int nbits, int inverse);
-void imdct_calc(MDCTContext *s, FFTSample *output, 
+int ff_mdct_init(MDCTContext *s, int nbits, int inverse);
+void ff_imdct_calc(MDCTContext *s, FFTSample *output, 
                 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);
-void mdct_end(MDCTContext *s);
+void ff_mdct_end(MDCTContext *s);
 
 #endif
--- a/mdct.c	Tue Oct 29 20:12:24 2002 +0000
+++ b/mdct.c	Tue Oct 29 22:26:01 2002 +0000
@@ -21,7 +21,7 @@
 /*
  * 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;
     float alpha;
@@ -69,8 +69,8 @@
  * @param input N/2 samples
  * @param tmp N/2 samples
  */
-void imdct_calc(MDCTContext *s, FFTSample *output, 
-                const FFTSample *input, FFTSample *tmp)
+void ff_imdct_calc(MDCTContext *s, FFTSample *output, 
+                   const FFTSample *input, FFTSample *tmp)
 {
     int k, n8, n4, n2, n, j;
     const uint16_t *revtab = s->fft.revtab;
@@ -121,8 +121,8 @@
  * @param out N/2 samples
  * @param tmp temporary storage of N/2 samples
  */
-void mdct_calc(MDCTContext *s, FFTSample *out, 
-               const FFTSample *input, FFTSample *tmp)
+void ff_mdct_calc(MDCTContext *s, FFTSample *out, 
+                  const FFTSample *input, FFTSample *tmp)
 {
     int i, j, n, n8, n4, n2, n3;
     FFTSample re, im, re1, im1;
@@ -162,7 +162,7 @@
     }
 }
 
-void mdct_end(MDCTContext *s)
+void ff_mdct_end(MDCTContext *s)
 {
     av_freep(&s->tcos);
     av_freep(&s->tsin);