~ubuntu-branches/ubuntu/breezy/kdemultimedia/breezy

« back to all changes in this revision

Viewing changes to noatun/modules/winskin/vis/realFFTFilter.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-03-24 04:48:58 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050324044858-8ff88o9jxej6ii3d
Tags: 4:3.4.0-0ubuntu3
Add kubuntu_02_hide_arts_menu_entries.diff to hide artsbuilder and artscontrol k-menu entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  a FFT filter
 
3
  Copyright (C) 1998  Martin Vogt;Philip VanBaren, 2 September 1993
 
4
 
 
5
  This program is free software; you can redistribute it and/or modify
 
6
  it under the terms of the GNU General Public License as published by
 
7
  the Free Software Foundation.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
 
 
14
 
 
15
 
 
16
#ifndef __REALFFTFILTER_H
 
17
#define __REALFFTFILTER_H
 
18
 
 
19
 
 
20
 
 
21
#include "realFFT.h"
 
22
#include <limits.h>
 
23
 
 
24
 
 
25
 
 
26
class RealFFTFilter {
 
27
  
 
28
  int fftPoints;
 
29
  RealFFT* realFFT;
 
30
 
 
31
  short* data;
 
32
 
 
33
 
 
34
 public:
 
35
  RealFFTFilter(int points);
 
36
  ~RealFFTFilter();
 
37
  int fft16(float* left,float* right,int len);
 
38
 
 
39
  int* getBitReversed();
 
40
  int getPoints();
 
41
  short* getPointPtr();
 
42
 
 
43
 private:
 
44
  int min(int x1,int x2);
 
45
 
 
46
};
 
47
 
 
48
 
 
49
#endif