summaryrefslogtreecommitdiff
path: root/third_party/speex/libspeex/smallft.h
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-06-10 14:09:37 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-06-10 14:09:37 +0000
commitbeaa7b7491e6deccd6c49abc375702e23aa4324a (patch)
tree9ebf2d154e6c5d7bfc61222a60731d59deb2e89e /third_party/speex/libspeex/smallft.h
parent60ce2ec8b88876b89c408ef7b78a4641d1162148 (diff)
Upgraded Speex version to the latest and reorganized it in local copy (since Speex is now using Git)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2002 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/speex/libspeex/smallft.h')
-rw-r--r--third_party/speex/libspeex/smallft.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/third_party/speex/libspeex/smallft.h b/third_party/speex/libspeex/smallft.h
new file mode 100644
index 00000000..4ef9e58c
--- /dev/null
+++ b/third_party/speex/libspeex/smallft.h
@@ -0,0 +1,46 @@
+/********************************************************************
+ * *
+ * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
+ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
+ * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
+ * *
+ * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
+ * by the XIPHOPHORUS Company http://www.xiph.org/ *
+ * *
+ ********************************************************************
+
+ function: fft transform
+ last mod: $Id$
+
+ ********************************************************************/
+/**
+ @file smallft.h
+ @brief Discrete Rotational Fourier Transform (DRFT)
+*/
+
+#ifndef _V_SMFT_H_
+#define _V_SMFT_H_
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** Discrete Rotational Fourier Transform lookup */
+struct drft_lookup{
+ int n;
+ float *trigcache;
+ int *splitcache;
+};
+
+extern void spx_drft_forward(struct drft_lookup *l,float *data);
+extern void spx_drft_backward(struct drft_lookup *l,float *data);
+extern void spx_drft_init(struct drft_lookup *l,int n);
+extern void spx_drft_clear(struct drft_lookup *l);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif