CMSIS-DSP  
CMSIS DSP Software Library
arm_linear_interp_example_f32.c File Reference

Macros

#define SNR_THRESHOLD   90
 
#define TEST_LENGTH_SAMPLES   10
 
#define XSPACING   (0.005f)
 

Functions

int32_t main (void)
 

Variables

float32_t testInputSin_f32 [10]
 
float32_t testRefSinOutput32_f32 [10]
 
float32_t testOutput [10]
 
float32_t testLinIntOutput [10]
 
const float arm_linear_interep_table [1884]
 
float32_t snr1
 
float32_t snr2
 

Macro Definition Documentation

◆ SNR_THRESHOLD

#define SNR_THRESHOLD   90

◆ TEST_LENGTH_SAMPLES

#define TEST_LENGTH_SAMPLES   10

◆ XSPACING

#define XSPACING   (0.005f)

Function Documentation

◆ main()

int32_t main ( void  )

Variable Documentation

◆ arm_linear_interep_table

const float arm_linear_interep_table[1884]
extern

◆ snr1

◆ snr2

◆ testInputSin_f32

float32_t testInputSin_f32[10]
Initial value:
=
{
-0.649716504673081170, -2.501723745497831200,
0.188250329003310100, 0.432092748487532540,
-1.722010988459680800, 1.788766476323060600,
1.786136060975809500, -0.056525543169408797,
0.491596272728153760, 0.262309671126153390
}
Examples
arm_linear_interp_example_f32.c.

◆ testLinIntOutput

float32_t testLinIntOutput[10]

◆ testOutput

float32_t testOutput[10]

◆ testRefSinOutput32_f32

float32_t testRefSinOutput32_f32[10]
Initial value:
=
{
-0.604960695383043530, -0.597090287967934840,
0.187140422442966500, 0.418772124875992690,
-0.988588831792106880, 0.976338412038794010,
0.976903856413481100, -0.056495446835214236,
0.472033731854734240, 0.259311907228582830
}
Examples
arm_linear_interp_example_f32.c.