LIBML
Version 3.2.4
LIBML DSP Software Library
|
Functions | |
void | tpt_f32_to_q15 (q15_t *aOutData, const f32_t *aInData, uint32_t aCount) |
Converts the elements of the floating-point vector to Q15 vector. More... | |
void | tpt_f32_to_q31 (q31_t *aOutData, const f32_t *aInData, uint32_t aCount) |
Converts the elements of the floating-point vector to Q31 vector. More... | |
void | tpt_f32_to_q7 (q7_t *aOutData, const f32_t *aInData, uint32_t aCount) |
Converts the elements of the floating-point vector to Q7 vector. More... | |
void | tpt_f64_to_q15 (q15_t *aOutData, const f64_t *aInData, uint32_t aCount) |
Converts the elements of the floating-point vector to Q15 vector. More... | |
void | tpt_f64_to_q31 (q31_t *aOutData, const f64_t *aInData, uint32_t aCount) |
Converts the elements of the floating-point vector to Q31 vector. More... | |
void | tpt_f64_to_q7 (q7_t *aOutData, const f64_t *aInData, uint32_t aCount) |
Converts the elements of the floating-point vector to Q7 vector. More... | |
Converts the elements of the floating-point vector to Q15 vector.
[out] | aOutData | points to the Q15 output vector |
[in] | aInData | points to the floating-point input vector |
[in] | aCount | number of samples in each vector |
aOutData[n] = (q15_t)(aInData[n] * 32768); 0 <= n < aCount.
Converts the elements of the floating-point vector to Q31 vector.
[out] | aOutData | points to the Q31 output vector |
[in] | aInData | points to the floating-point input vector |
[in] | aCount | number of samples in each vector |
aOutData[n] = (q31_t)(aInData[n] * 2147483648); 0 <= n < aCount.
Converts the elements of the floating-point vector to Q7 vector.
[out] | aOutData | points to the Q7 output vector |
[in] | aInData | points to the floating-point input vector |
[in] | aCount | length of the input vector |
aOutData[n] = (q7_t)(aInData[n] * 128); 0 <= n < aCount.
Converts the elements of the floating-point vector to Q15 vector.
[out] | aOutData | points to the Q15 output vector |
[in] | aInData | points to the floating-point input vector |
[in] | aCount | number of samples in each vector |
aOutData[n] = (q15_t)(aInData[n] * 32768); 0 <= n < aCount.
Converts the elements of the floating-point vector to Q31 vector.
[out] | aOutData | points to the Q31 output vector |
[in] | aInData | points to the floating-point input vector |
[in] | aCount | number of samples in each vector |
aOutData[n] = (q31_t)(aInData[n] * 2147483648); 0 <= n < aCount.
Converts the elements of the floating-point vector to Q7 vector.
[out] | aOutData | points to the Q7 output vector |
[in] | aInData | points to the floating-point input vector |
[in] | aCount | length of the input vector |
aOutData[n] = (q7_t)(aInData[n] * 128); 0 <= n < aCount.