|
| void | tpt_mse_f32 (f32_t *aOutData, const f32_t *aInDataA, const f32_t *aInDataB, uint32_t aCount) |
| | Mean square error value of f32 vector.
|
| void | tpt_mse_f64 (f64_t *aResult, const f64_t *pSrcA, const f64_t *pSrcB, uint32_t blockSize) |
| | Mean square error value of f32 vector.
|
| void | tpt_mse_q7 (q7_t *aOutData, const q7_t *aInDataA, const q7_t *aInDataB, uint32_t aCount) |
| | Mean square error value of q7 vector.
|
| void | tpt_mse_q15 (q15_t *aOutData, const q15_t *aInDataA, const q15_t *aInDataB, uint32_t aCount) |
| | Mean square error value of q15 vector.
|
| void | tpt_mse_q31 (q31_t *aOutData, const q31_t *aInDataA, const q31_t *aInDataB, uint32_t aCount) |
| | Mean square error value of q31 vector.
|
Mean Square Error (MSE) functions calculate the MSE value of two vectors and return the MSE result
TPT DSP library supports distinct MSE functions for single- and double-precision floating-point, Q31, Q15 and Q7 data types. These functions are introduced in the subsections below.
◆ tpt_mse_f32()
| void tpt_mse_f32 |
( |
f32_t * | aOutData, |
|
|
const f32_t * | aInDataA, |
|
|
const f32_t * | aInDataB, |
|
|
uint32_t | aCount ) |
Mean square error value of f32 vector.
- Parameters
-
| [out] | aOutData | pointer of the result |
| [in] | aInDataA | pointer of the first input vector |
| [in] | aInDataB | pointer of the second input vector |
| [in] | aCount | number of elements in a vector |
Mean square error value of f32 vector.
- Parameters
-
| [out] | aOutData | output value returned here |
| [in] | aInDataA | points to the first input vector |
| [in] | aInDataB | points to the second input vector |
| [in] | aCount | number of samples in input vector |
◆ tpt_mse_f64()
| void tpt_mse_f64 |
( |
f64_t * | aResult, |
|
|
const f64_t * | pSrcA, |
|
|
const f64_t * | pSrcB, |
|
|
uint32_t | blockSize ) |
Mean square error value of f32 vector.
- Parameters
-
| [out] | aOutData | pointer of the result |
| [in] | aInDataA | pointer of the first input vector |
| [in] | aInDataB | pointer of the second input vector |
| [in] | aCount | number of elements in a vector |
◆ tpt_mse_q15()
| void tpt_mse_q15 |
( |
q15_t * | aOutData, |
|
|
const q15_t * | aInDataA, |
|
|
const q15_t * | aInDataB, |
|
|
uint32_t | aCount ) |
Mean square error value of q15 vector.
- Parameters
-
| [out] | aOutData | pointer of the result |
| [in] | aInDataA | pointer of the first input vector |
| [in] | aInDataB | pointer of the second input vector |
| [in] | aCount | number of elements in a vector |
Mean square error value of q15 vector.
- Parameters
-
| [out] | aOutData | output value returned here |
| [in] | aInDataA | points to the first input vector |
| [in] | aInDataB | points to the second input vector |
| [in] | aCount | number of samples in input vector |
◆ tpt_mse_q31()
| void tpt_mse_q31 |
( |
q31_t * | aOutData, |
|
|
const q31_t * | aInDataA, |
|
|
const q31_t * | aInDataB, |
|
|
uint32_t | aCount ) |
Mean square error value of q31 vector.
- Parameters
-
| [out] | aOutData | pointer of the result |
| [in] | aInDataA | pointer of the first input vector |
| [in] | aInDataB | pointer of the second input vector |
| [in] | aCount | number of elements in a vector |
Mean square error value of q31 vector.
- Parameters
-
| [out] | aOutData | output value returned here |
| [in] | aInDataA | points to the first input vector |
| [in] | aInDataB | points to the second input vector |
| [in] | aCount | number of samples in input vector |
◆ tpt_mse_q7()
| void tpt_mse_q7 |
( |
q7_t * | aOutData, |
|
|
const q7_t * | aInDataA, |
|
|
const q7_t * | aInDataB, |
|
|
uint32_t | aCount ) |
Mean square error value of q7 vector.
- Parameters
-
| [out] | aOutData | pointer of the result |
| [in] | aInDataA | pointer of the first input vector |
| [in] | aInDataB | pointer of the second input vector |
| [in] | aCount | number of elements in a vector |
Mean square error value of q7 vector.
- Parameters
-
| [out] | aOutData | output value returned here |
| [in] | aInDataA | points to the first input vector |
| [in] | aInDataB | points to the second input vector |
| [in] | aCount | number of samples in input vector |