[xiph-cvs] cvs commit: vorbis/lib mdct.c

Monty xiphmont at xiph.org
Sun Dec 17 00:50:27 PST 2000



xiphmont    00/12/17 00:50:27

  Modified:    lib      mdct.c
  Log:
  static inline hack for GCC where it really helps

Revision  Changes    Path
1.22      +8 -8      vorbis/lib/mdct.c

Index: mdct.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/mdct.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- mdct.c	2000/12/17 00:34:05	1.21
+++ mdct.c	2000/12/17 08:50:27	1.22
@@ -13,7 +13,7 @@
 
  function: normalized modified discrete cosine transform
            power of two length transform only [64 <= n ]
- last mod: $Id: mdct.c,v 1.21 2000/12/17 00:34:05 xiphmont Exp $
+ last mod: $Id: mdct.c,v 1.22 2000/12/17 08:50:27 xiphmont Exp $
 
  Original algorithm adapted long ago from _The use of multirate filter
  banks for coding of high quality digital audio_, by T. Sporer,
@@ -91,7 +91,7 @@
 }
 
 /* 8 point butterfly (in place, 4 register) */
-static void mdct_butterfly_8(DATA_TYPE *x){
+STIN void mdct_butterfly_8(DATA_TYPE *x){
   REG_TYPE r0   = x[6] + x[2];
   REG_TYPE r1   = x[6] - x[2];
   REG_TYPE r2   = x[4] + x[0];
@@ -120,7 +120,7 @@
 }
 
 /* 16 point butterfly (in place, 4 register) */
-static void mdct_butterfly_16(DATA_TYPE *x){
+STIN void mdct_butterfly_16(DATA_TYPE *x){
   REG_TYPE r0     = x[1]  - x[9];
   REG_TYPE r1     = x[0]  - x[8];
 
@@ -155,7 +155,7 @@
 }
 
 /* 32 point butterfly (in place, 4 register) */
-static void mdct_butterfly_32(DATA_TYPE *x){
+STIN void mdct_butterfly_32(DATA_TYPE *x){
   REG_TYPE r0     = x[30] - x[14];
   REG_TYPE r1     = x[31] - x[15];
 
@@ -219,7 +219,7 @@
 }
 
 /* N point first stage butterfly (in place, 2 register) */
-static void mdct_butterfly_first(DATA_TYPE *T,
+STIN void mdct_butterfly_first(DATA_TYPE *T,
                                         DATA_TYPE *x,
                                         int points){
   
@@ -266,7 +266,7 @@
 }
 
 /* N/stage point generic N stage butterfly (in place, 2 register) */
-static void mdct_butterfly_generic(DATA_TYPE *T,
+STIN void mdct_butterfly_generic(DATA_TYPE *T,
                                           DATA_TYPE *x,
                                           int points,
                                           int trigint){
@@ -319,7 +319,7 @@
   }while(x2>=x);
 }
 
-static void mdct_butterflies(mdct_lookup *init,
+STIN void mdct_butterflies(mdct_lookup *init,
                              DATA_TYPE *x,
                              int points){
   
@@ -349,7 +349,7 @@
   }
 }
 
-static void mdct_bitreverse(mdct_lookup *init, 
+STIN void mdct_bitreverse(mdct_lookup *init, 
                             DATA_TYPE *x){
   int        n       = init->n;
   int       *bit     = init->bitrev;

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list