lookup.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
  5. * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH *
  6. * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis 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. function: lookup based functions
  14. last mod: $Id: lookup.h,v 1.2.2.1 2000/11/04 06:21:44 xiphmont Exp $
  15. ********************************************************************/
  16. #ifndef _V_LOOKUP_H_
  17. #ifdef FLOAT_LOOKUP
  18. extern float vorbis_coslook(float a);
  19. extern float vorbis_invsqlook(float a);
  20. extern float vorbis_invsq2explook(int a);
  21. extern float vorbis_fromdBlook(float a);
  22. #endif
  23. #ifdef INT_LOOKUP
  24. extern long vorbis_invsqlook_i(long a,long e);
  25. extern long vorbis_coslook_i(long a);
  26. extern float vorbis_fromdBlook_i(long a);
  27. #endif
  28. #endif