CMSIS-DSP
CMSIS DSP Software Library
|
Functions | |
void | arm_f16_to_float (const float16_t *pSrc, float32_t *pDst, uint32_t blockSize) |
Converts the elements of the f16 vector to f32 vector. More... | |
void | arm_f16_to_q15 (const float16_t *pSrc, q15_t *pDst, uint32_t blockSize) |
Converts the elements of the f16 vector to Q15 vector. More... | |
void arm_f16_to_float | ( | const float16_t * | pSrc, |
float32_t * | pDst, | ||
uint32_t | blockSize | ||
) |
Converts the elements of the floating-point vector to Q31 vector.
[in] | pSrc | points to the f16 input vector |
[out] | pDst | points to the f32 output vector |
[in] | blockSize | number of samples in each vector |
void arm_f16_to_q15 | ( | const float16_t * | pSrc, |
q15_t * | pDst, | ||
uint32_t | blockSize | ||
) |
Converts the elements of the floating-point vector to Q31 vector.
[in] | pSrc | points to the f16 input vector |
[out] | pDst | points to the Q15 output vector |
[in] | blockSize | number of samples in each vector |
pDst[n] = (q15_t)(pSrc[n] * 32768); 0 <= n < blockSize.