lookup.h 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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-2009 *
  9. * by the Xiph.Org Foundation http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: lookup based functions
  13. last mod: $Id: lookup.h 16227 2009-07-08 06:58:46Z xiphmont $
  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