Functions | |
void | arm_apply_guard_bits (float32_t *pIn, uint32_t numSamples, uint32_t guard_bits) |
Converts Q15 to floating-point. More... | |
uint32_t | arm_calc_2pow (uint32_t guard_bits) |
Calculates pow(2, numShifts) More... | |
uint32_t | arm_calc_guard_bits (uint32_t num_adds) |
Caluclates number of guard bits. More... | |
void | arm_clip_f32 (float *pIn, uint32_t numSamples) |
Clip the float values to +/- 1. More... | |
uint32_t | arm_compare_fixed_q15 (q15_t *pIn, q15_t *pOut, uint32_t numSamples) |
Compare MATLAB Reference Output and ARM Test output. More... | |
uint32_t | arm_compare_fixed_q31 (q31_t *pIn, q31_t *pOut, uint32_t numSamples) |
Compare MATLAB Reference Output and ARM Test output. More... | |
void | arm_float_to_q12_20 (float *pIn, q31_t *pOut, uint32_t numSamples) |
Converts float to fixed in q12.20 format. More... | |
void | arm_float_to_q14 (float *pIn, q15_t *pOut, uint32_t numSamples) |
Converts float to fixed q14. More... | |
void | arm_float_to_q28 (float *pIn, q31_t *pOut, uint32_t numSamples) |
Converts float to fixed q28 format. More... | |
void | arm_float_to_q29 (float *pIn, q31_t *pOut, uint32_t numSamples) |
Converts float to fixed q30 format. More... | |
void | arm_float_to_q30 (float *pIn, q31_t *pOut, uint32_t numSamples) |
Converts float to fixed q30 format. More... | |
void | arm_provide_guard_bits_q15 (q15_t *input_buf, uint32_t blockSize, uint32_t guard_bits) |
Provide guard bits for Input buffer. More... | |
void | arm_provide_guard_bits_q31 (q31_t *input_buf, uint32_t blockSize, uint32_t guard_bits) |
Provide guard bits for Input buffer. More... | |
void | arm_provide_guard_bits_q7 (q7_t *input_buf, uint32_t blockSize, uint32_t guard_bits) |
Provide guard bits for Input buffer. More... | |
float | arm_snr_f32 (float *pRef, float *pTest, uint32_t buffSize) |
Caluclation of SNR. More... | |
void arm_apply_guard_bits | ( | float32_t * | pIn, |
uint32_t | numSamples, | ||
uint32_t | guard_bits | ||
) |
Converts Q15 to floating-point.
uint32_t | number of samples in the buffer |
References arm_calc_2pow().
uint32_t arm_calc_2pow | ( | uint32_t | numShifts | ) |
Calculates pow(2, numShifts)
uint32_t | number of shifts |
Referenced by arm_apply_guard_bits().
uint32_t arm_calc_guard_bits | ( | uint32_t | num_adds | ) |
Caluclates number of guard bits.
uint32_t | number of additions |
void arm_clip_f32 | ( | float * | pIn, |
uint32_t | numSamples | ||
) |
Clip the float values to +/- 1.
pIn | input buffer |
numSamples | number of samples in the buffer |
uint32_t arm_compare_fixed_q15 | ( | q15_t * | pIn, |
q15_t * | pOut, | ||
uint32_t | numSamples | ||
) |
Compare MATLAB Reference Output and ARM Test output.
q15_t* | Pointer to Ref buffer |
q15_t* | Pointer to Test buffer |
uint32_t | number of samples in the buffer |
uint32_t arm_compare_fixed_q31 | ( | q31_t * | pIn, |
q31_t * | pOut, | ||
uint32_t | numSamples | ||
) |
Compare MATLAB Reference Output and ARM Test output.
q31_t* | Pointer to Ref buffer |
q31_t* | Pointer to Test buffer |
uint32_t | number of samples in the buffer |
void arm_float_to_q12_20 | ( | float * | pIn, |
q31_t * | pOut, | ||
uint32_t | numSamples | ||
) |
Converts float to fixed in q12.20 format.
uint32_t | number of samples in the buffer |
void arm_float_to_q14 | ( | float * | pIn, |
q15_t * | pOut, | ||
uint32_t | numSamples | ||
) |
Converts float to fixed q14.
uint32_t | number of samples in the buffer |
void arm_float_to_q28 | ( | float * | pIn, |
q31_t * | pOut, | ||
uint32_t | numSamples | ||
) |
Converts float to fixed q28 format.
uint32_t | number of samples in the buffer |
void arm_float_to_q29 | ( | float * | pIn, |
q31_t * | pOut, | ||
uint32_t | numSamples | ||
) |
Converts float to fixed q30 format.
uint32_t | number of samples in the buffer |
void arm_float_to_q30 | ( | float * | pIn, |
q31_t * | pOut, | ||
uint32_t | numSamples | ||
) |
Converts float to fixed q30 format.
uint32_t | number of samples in the buffer |
void arm_provide_guard_bits_q15 | ( | q15_t * | input_buf, |
uint32_t | blockSize, | ||
uint32_t | guard_bits | ||
) |
Provide guard bits for Input buffer.
q15_t* | Pointer to input buffer |
uint32_t | blockSize |
uint32_t | guard_bits |
References blockSize.
void arm_provide_guard_bits_q31 | ( | q31_t * | input_buf, |
uint32_t | blockSize, | ||
uint32_t | guard_bits | ||
) |
Provide guard bits for Input buffer.
q31_t* | Pointer to input buffer |
uint32_t | blockSize |
uint32_t | guard_bits |
References blockSize.
void arm_provide_guard_bits_q7 | ( | q7_t * | input_buf, |
uint32_t | blockSize, | ||
uint32_t | guard_bits | ||
) |
Provide guard bits for Input buffer.
q31_t* | Pointer to input buffer |
uint32_t | blockSize |
uint32_t | guard_bits |
References blockSize.
float arm_snr_f32 | ( | float * | pRef, |
float * | pTest, | ||
uint32_t | buffSize | ||
) |
Caluclation of SNR.
float* | Pointer to the reference buffer |
float* | Pointer to the test buffer |
uint32_t | total number of samples |
Referenced by main().