sipxmedialib  Version 3.3
Macros | Functions | Variables
dft.cpp File Reference
#include "mp/FilterBank.h"
#include "mp/HandsetFilterBank.h"
Include dependency graph for dft.cpp:

Macros

#define VX1_PC0   1
 
#define USE_IMAGSQ   1
 
#define SCALE_DFT5   16384
 
#define SHIFT_DFT5   14
 
#define ROUND_DFT5   8192
 
#define SCALE_DFT8   16384
 
#define SHIFT_DFT8   14
 
#define ROUND_DFT8   8192
 
#define NORM_FFT80RtoC_CONSTANT   19
 
#define NORM_FFT80CtoR_CONSTANT   19
 
#define SCALE_DFT16   8192
 
#define SHIFT_DFT16   13
 
#define ROUND_DFT16   4096
 
#define NORM_FFT16RtoC_CONSTANT   19
 
#define NORM_FFT16CtoR_CONSTANT   19
 

Functions

void TestDft ()
 
int FFTError (int v[], int w[], int length)
 
int Get1000log10 (int input)
 
void FFT5CtoC (icomplex v[])
 
void FFT8CtoC (icomplex v[])
 
void GetDft40Tables ()
 
void FFT40CtoC (icomplex x[])
 
void FFT80RtoC (icomplex w[])
 
void FFT80CtoR (icomplex w[])
 
void FFT16CtoC (icomplex v[])
 
void getdft80tables ()
 
void FFT80CtoC (icomplex x[])
 
void FFT16RtoC (icomplex w[])
 
void FFT16CtoR (icomplex w[])
 
int nrand ()
 
int myrand ()
 

Variables

int IndexMapInc5Mod40 [40]
 
int IndexMapInc8Mod40 [40]
 
int IndexMapInc13Mod40 [40]
 
int FFT80RtoCCosSinTable [38]
 
int FFT16RtoCCosSinTable [6]
 
const int ic50 = 15582
 
const int ic51 = -25212
 
const int ic52 = -5952
 
const int ic53 = 9159
 
const int ic54 = -20480
 
const int Dft8c = 11585
 
const int ic80 = 5793
 
const int ic161 = 3135
 
const int ic162 = 10703
 
const int ic163 = 4433
 
const int ic164 = 7568
 
int IndexMapInc5Mod80 [80]
 
int IndexMapInc16Mod80 [80]
 
int IndexMapInc21Mod80 [80]
 
const short int dBTable [256]
 
int rngseed
 

Macro Definition Documentation

#define VX1_PC0   1
#define USE_IMAGSQ   1
#define SCALE_DFT5   16384
#define SHIFT_DFT5   14
#define ROUND_DFT5   8192
#define SCALE_DFT8   16384
#define SHIFT_DFT8   14
#define ROUND_DFT8   8192
#define NORM_FFT80RtoC_CONSTANT   19
#define NORM_FFT80CtoR_CONSTANT   19
#define SCALE_DFT16   8192
#define SHIFT_DFT16   13
#define ROUND_DFT16   4096
#define NORM_FFT16RtoC_CONSTANT   19
#define NORM_FFT16CtoR_CONSTANT   19

Function Documentation

void TestDft ( )
int FFTError ( int  v[],
int  w[],
int  length 
)
int Get1000log10 ( int  input)
void FFT5CtoC ( icomplex  v[])
void FFT8CtoC ( icomplex  v[])
void GetDft40Tables ( )
void FFT40CtoC ( icomplex  x[])
void FFT80RtoC ( icomplex  w[])
void FFT80CtoR ( icomplex  w[])
void FFT16CtoC ( icomplex  v[])
void getdft80tables ( )
void FFT80CtoC ( icomplex  x[])
void FFT16RtoC ( icomplex  w[])
void FFT16CtoR ( icomplex  w[])
int nrand ( )
int myrand ( )

Variable Documentation

int IndexMapInc5Mod40[40]
int IndexMapInc8Mod40[40]
int IndexMapInc13Mod40[40]
int FFT80RtoCCosSinTable[38]
Initial value:
= {
32667, 2571, 32365, 5126, 31863, 7650, 31164, 10126, 30274, 12540,
29197, 14876, 27939, 17121, 26510, 19261, 24917, 21281, 23170, 23170,
21281, 24917, 19261, 26510, 17121, 27939, 14876, 29197, 12540, 30274,
10126, 31164, 7650, 31863, 5126, 32365, 2571, 32667}
int FFT16RtoCCosSinTable[6]
Initial value:
= {
30274, 12540, 23170, 23170, 12540, 30274}
const int ic50 = 15582
const int ic51 = -25212
const int ic52 = -5952
const int ic53 = 9159
const int ic54 = -20480
const int Dft8c = 11585
const int ic80 = 5793
const int ic161 = 3135
const int ic162 = 10703
const int ic163 = 4433
const int ic164 = 7568
int IndexMapInc5Mod80[80]
int IndexMapInc16Mod80[80]
int IndexMapInc21Mod80[80]
const short int dBTable[256]
Initial value:
= {
0, 2, 3, 5, 7, 8, 10, 12, 13, 15, 17, 18, 20, 22, 23, 25,
26, 28, 30, 31, 33, 34, 36, 37, 39, 40, 42, 44, 45, 47, 48, 50,
51, 53, 54, 56, 57, 59, 60, 62, 63, 65, 66, 67, 69, 70, 72, 73,
75, 76, 77, 79, 80, 82, 83, 85, 86, 87, 89, 90, 91, 93, 94, 96,
97, 98, 100, 101, 102, 104, 105, 106, 108, 109, 110, 112, 113, 114, 116, 117,
118, 119, 121, 122, 123, 125, 126, 127, 128, 130, 131, 132, 133, 135, 136, 137,
138, 140, 141, 142, 143, 144, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156,
158, 159, 160, 161, 162, 163, 165, 166, 167, 168, 169, 170, 172, 173, 174, 175,
176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 191, 192, 193,
194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 205, 206, 207, 208, 209, 210,
211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242,
243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 255, 256, 257,
258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 268, 269, 270, 271, 272,
273, 274, 275, 276, 277, 278, 278, 279, 280, 281, 282, 283, 284, 285, 285, 286,
287, 288, 289, 290, 291, 292, 292, 293, 294, 295, 296, 297, 298, 298, 299, 300
}
int rngseed