Lines Matching refs:pRef

76 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()
152 EnergySignal += pRef[i] * pRef[i]; in arm_snr_f16()
153 EnergyError += (pRef[i] - pTest[i]) * (pRef[i] - pTest[i]); in arm_snr_f16()
170 static inline float arm_snr_q63(const q63_t *pRef, const q63_t *pTest, in arm_snr_q63() argument
181 refVal = ((double)pRef[i]) / 9223372036854775808.0; in arm_snr_q63()
197 static inline float arm_snr_q31(const q31_t *pRef, const q31_t *pTest, in arm_snr_q31() argument
209 refVal = ((float32_t)pRef[i]) / 2147483648.0f; in arm_snr_q31()
225 static inline float arm_snr_q15(const q15_t *pRef, const q15_t *pTest, in arm_snr_q15() argument
236 refVal = ((float32_t)pRef[i]) / 32768.0f; in arm_snr_q15()
251 static inline float arm_snr_q7(const q7_t *pRef, const q7_t *pTest, in arm_snr_q7() argument
262 refVal = ((float32_t)pRef[i]) / 128.0f; in arm_snr_q7()