~ubuntu-branches/ubuntu/feisty/speex/feisty-updates

« back to all changes in this revision

Viewing changes to libspeex/smallft.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2005-12-07 23:22:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051207232221-nme7vf9m182p7dpe
Tags: 1.1.11.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 last mod: $Id: smallft.h,v 1.3 2003/09/16 18:35:45 jm Exp $
15
15
 
16
16
 ********************************************************************/
 
17
/**
 
18
   @file smallft.h
 
19
   @brief Discrete Rotational Fourier Transform (DRFT)
 
20
*/
17
21
 
18
22
#ifndef _V_SMFT_H_
19
23
#define _V_SMFT_H_
20
24
 
21
 
/*#include "vorbis/codec.h"*/
22
25
 
23
26
#ifdef __cplusplus
24
27
extern "C" {
25
28
#endif
26
29
 
 
30
/** Discrete Rotational Fourier Transform lookup */
27
31
struct drft_lookup{
28
32
  int n;
29
33
  float *trigcache;
30
34
  int *splitcache;
31
35
};
32
36
 
33
 
extern void drft_forward(struct drft_lookup *l,float *data);
34
 
extern void drft_backward(struct drft_lookup *l,float *data);
35
 
extern void drft_init(struct drft_lookup *l,int n);
36
 
extern void drft_clear(struct drft_lookup *l);
 
37
extern void spx_drft_forward(struct drft_lookup *l,float *data);
 
38
extern void spx_drft_backward(struct drft_lookup *l,float *data);
 
39
extern void spx_drft_init(struct drft_lookup *l,int n);
 
40
extern void spx_drft_clear(struct drft_lookup *l);
37
41
 
38
42
#ifdef __cplusplus
39
43
}