Merging the postbeta2 branch onto the mainline.
[platform/upstream/libvorbis.git] / lib / lookup.h
similarity index 65%
rename from include/vorbis/internal.h
rename to lib/lookup.h
index 100df51..8f55d5a 100644 (file)
  *                                                                  *
  ********************************************************************
 
- function: libvorbis codec internal types.  These structures are 
-           'visible', but generally uninteresting to the developer
- last mod: $Id: internal.h,v 1.7 2000/07/12 09:36:17 xiphmont Exp $
+  function: lookup based functions
+  last mod: $Id: lookup.h,v 1.2 2000/10/12 03:12:53 xiphmont Exp $
 
  ********************************************************************/
 
-#ifndef _vorbis_internal_h_
-#define _vorbis_internal_h_
-
-/* structures for various internal data abstractions ********************/
-
-typedef struct {
-  long endbyte;     
-  int  endbit;      
-
-  unsigned char *buffer;
-  unsigned char *ptr;
-  long storage;
-  
-} oggpack_buffer;
+#ifndef _V_LOOKUP_H_
 
+#ifdef FLOAT_LOOKUP
+extern float vorbis_coslook(float a);
+extern float vorbis_invsqlook(float a);
+extern float vorbis_invsq2explook(int a);
+extern float vorbis_fromdBlook(float a);
 #endif
+#ifdef INT_LOOKUP
+extern long vorbis_invsqlook_i(long a,long e);
+extern long vorbis_coslook_i(long a);
+extern float vorbis_fromdBlook_i(long a);
+#endif 
 
-
-
-
-
+#endif