8f55d5a3949b8e38967537267fbe03bd4dceb42a
[platform/upstream/libvorbis.git] / lib / lookup.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
9  * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14   function: lookup based functions
15   last mod: $Id: lookup.h,v 1.2 2000/10/12 03:12:53 xiphmont Exp $
16
17  ********************************************************************/
18
19 #ifndef _V_LOOKUP_H_
20
21 #ifdef FLOAT_LOOKUP
22 extern float vorbis_coslook(float a);
23 extern float vorbis_invsqlook(float a);
24 extern float vorbis_invsq2explook(int a);
25 extern float vorbis_fromdBlook(float a);
26 #endif
27 #ifdef INT_LOOKUP
28 extern long vorbis_invsqlook_i(long a,long e);
29 extern long vorbis_coslook_i(long a);
30 extern float vorbis_fromdBlook_i(long a);
31 #endif 
32
33 #endif