smallft.h
上传用户:wstnjxml
上传日期:2014-04-03
资源大小:7248k
文件大小:1k
源码类别:

Windows CE

开发平台:

C/C++

  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-2001             *
  9.  * by the XIPHOPHORUS Company http://www.xiph.org/                  *
  10.  *                                                                  *
  11.  ********************************************************************
  12.  function: fft transform
  13.  last mod: $Id: smallft.h,v 1.3 2003/09/16 18:35:45 jm Exp $
  14.  ********************************************************************/
  15. #ifndef _V_SMFT_H_
  16. #define _V_SMFT_H_
  17. /*#include "vorbis/codec.h"*/
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. struct drft_lookup{
  22.   int n;
  23.   float *trigcache;
  24.   int *splitcache;
  25. };
  26. extern void spx_drft_forward(struct drft_lookup *l,float *data);
  27. extern void spx_drft_backward(struct drft_lookup *l,float *data);
  28. extern void spx_drft_init(struct drft_lookup *l,int n);
  29. extern void spx_drft_clear(struct drft_lookup *l);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif