lookup.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  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 https://xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: lookup based functions
  13. ********************************************************************/
  14. #ifndef _V_LOOKUP_H_
  15. #ifdef FLOAT_LOOKUP
  16. extern float vorbis_coslook(float a);
  17. extern float vorbis_invsqlook(float a);
  18. extern float vorbis_invsq2explook(int a);
  19. extern float vorbis_fromdBlook(float a);
  20. #endif
  21. #ifdef INT_LOOKUP
  22. extern long vorbis_invsqlook_i(long a,long e);
  23. extern long vorbis_coslook_i(long a);
  24. extern float vorbis_fromdBlook_i(long a);
  25. #endif
  26. #endif