Microchip® Advanced Software Framework

arm_graphic_equalizer_example_q31.c File Reference
#include <asf.h>
#include "arm_math.h"
#include "math_helper.h"

Macros

#define BLOCKSIZE   32
 
#define NUMBLOCKS   (TESTLENGTH/BLOCKSIZE)
 
#define NUMSTAGES   2
 
#define SNR_THRESHOLD_F32   98
 
#define TESTLENGTH   320
 

Functions

int32_t main (void)
 

Variables

static q63_t biquadStateBand1Q31 [4 *2]
 
static q63_t biquadStateBand2Q31 [4 *2]
 
static q31_t biquadStateBand3Q31 [4 *2]
 
static q31_t biquadStateBand4Q31 [4 *2]
 
static q31_t biquadStateBand5Q31 [4 *2]
 
const q31_t coeffTable [950]
 
int gainDB [5] = {0, -3, 6, 4, -6}
 
q31_t inputQ31 [BLOCKSIZE]
 
q31_t outputQ31 [BLOCKSIZE]
 
float32_t snr
 
float32_t testInput_f32 [TESTLENGTH]
 
static float32_t testOutput [TESTLENGTH]
 
float32_t testRefOutput_f32 [TESTLENGTH]
 

#define BLOCKSIZE   32

Referenced by main().

#define NUMBLOCKS   (TESTLENGTH/BLOCKSIZE)

Referenced by main().

#define NUMSTAGES   2

Referenced by main().

#define SNR_THRESHOLD_F32   98

Referenced by main().

#define TESTLENGTH   320

Referenced by main().

q63_t biquadStateBand1Q31[4 *2]
static

Referenced by main().

q63_t biquadStateBand2Q31[4 *2]
static

Referenced by main().

q31_t biquadStateBand3Q31[4 *2]
static

Referenced by main().

q31_t biquadStateBand4Q31[4 *2]
static

Referenced by main().

q31_t biquadStateBand5Q31[4 *2]
static

Referenced by main().

const q31_t coeffTable[950]

Referenced by main().

int gainDB[5] = {0, -3, 6, 4, -6}

Referenced by main().

q31_t inputQ31[BLOCKSIZE]

Referenced by main().

q31_t outputQ31[BLOCKSIZE]

Referenced by main().

float32_t snr
float32_t testInput_f32[TESTLENGTH]

Referenced by main().

float32_t testOutput[TESTLENGTH]
static
float32_t testRefOutput_f32[TESTLENGTH]

Referenced by main().