lookup.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
  9. * by the Xiph.Org Foundation http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: lookup based functions
  13. last mod: $Id$
  14. ********************************************************************/
  15. #ifndef _V_LOOKUP_H_
  16. #ifdef FLOAT_LOOKUP
  17. extern float vorbis_coslook(float a);
  18. extern float vorbis_invsqlook(float a);
  19. extern float vorbis_invsq2explook(int a);
  20. extern float vorbis_fromdBlook(float a);
  21. #endif
  22. #ifdef INT_LOOKUP
  23. extern long vorbis_invsqlook_i(long a,long e);
  24. extern long vorbis_coslook_i(long a);
  25. extern float vorbis_fromdBlook_i(long a);
  26. #endif
  27. #endif