Home
last modified time | relevance | path

Searched refs:pRef (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/lib/cmsis_dsp/common/
Dmath_helper.h76 static inline double arm_snr_f64(const double *pRef, const double *pTest, in arm_snr_f64() argument
85 IFNANRETURNZERO(pRef[i]); in arm_snr_f64()
90 EnergySignal += pRef[i] * pRef[i]; in arm_snr_f64()
91 EnergyError += (pRef[i] - pTest[i]) * (pRef[i] - pTest[i]); in arm_snr_f64()
106 static inline float arm_snr_f32(const float *pRef, const float *pTest, in arm_snr_f32() argument
115 IFNANRETURNZERO(pRef[i]); in arm_snr_f32()
120 EnergySignal += pRef[i] * pRef[i]; in arm_snr_f32()
121 EnergyError += (pRef[i] - pTest[i]) * (pRef[i] - pTest[i]); in arm_snr_f32()
138 static inline float arm_snr_f16(const float16_t *pRef, const float16_t *pTest, in arm_snr_f16() argument
147 IFNANRETURNZERO((float)pRef[i]); in arm_snr_f16()
[all …]