Lines Matching refs:i
80 uint32_t i; in arm_snr_f64() local
83 for (i = 0; i < buffSize; i++) { in arm_snr_f64()
85 IFNANRETURNZERO(pRef[i]); in arm_snr_f64()
88 IFNANRETURNZERO(pTest[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()
110 uint32_t i; in arm_snr_f32() local
113 for (i = 0; i < buffSize; i++) { in arm_snr_f32()
115 IFNANRETURNZERO(pRef[i]); in arm_snr_f32()
118 IFNANRETURNZERO(pTest[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()
142 uint32_t i; in arm_snr_f16() local
145 for (i = 0; i < buffSize; i++) { in arm_snr_f16()
147 IFNANRETURNZERO((float)pRef[i]); in arm_snr_f16()
150 IFNANRETURNZERO((float)pTest[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()
174 uint32_t i; in arm_snr_q63() local
179 for (i = 0; i < buffSize; i++) { in arm_snr_q63()
180 testVal = ((double)pTest[i]) / 9223372036854775808.0; in arm_snr_q63()
181 refVal = ((double)pRef[i]) / 9223372036854775808.0; in arm_snr_q63()
201 uint32_t i; in arm_snr_q31() local
206 for (i = 0; i < buffSize; i++) { in arm_snr_q31()
208 testVal = ((float32_t)pTest[i]) / 2147483648.0f; in arm_snr_q31()
209 refVal = ((float32_t)pRef[i]) / 2147483648.0f; in arm_snr_q31()
229 uint32_t i; in arm_snr_q15() local
234 for (i = 0; i < buffSize; i++) { in arm_snr_q15()
235 testVal = ((float32_t)pTest[i]) / 32768.0f; in arm_snr_q15()
236 refVal = ((float32_t)pRef[i]) / 32768.0f; in arm_snr_q15()
255 uint32_t i; in arm_snr_q7() local
260 for (i = 0; i < buffSize; i++) { in arm_snr_q7()
261 testVal = ((float32_t)pTest[i]) / 128.0f; in arm_snr_q7()
262 refVal = ((float32_t)pRef[i]) / 128.0f; in arm_snr_q7()