Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/ComplexMathFunctions/
Darm_cmplx_mag_q31.c67 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_q31() local
109 imag = *pSrc++; in arm_cmplx_mag_q31()
111 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_q31()
128 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_q31() local
141 imag = *pSrc++; in arm_cmplx_mag_q31()
143 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_q31()
149 imag = *pSrc++; in arm_cmplx_mag_q31()
151 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_q31()
155 imag = *pSrc++; in arm_cmplx_mag_q31()
157 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_q31()
[all …]
Darm_cmplx_mag_squared_q31.c64 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_q31() local
95 imag = *pSrc++; in arm_cmplx_mag_squared_q31()
97 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_squared_q31()
114 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_q31() local
127 imag = *pSrc++; in arm_cmplx_mag_squared_q31()
129 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_squared_q31()
134 imag = *pSrc++; in arm_cmplx_mag_squared_q31()
136 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_squared_q31()
140 imag = *pSrc++; in arm_cmplx_mag_squared_q31()
142 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_squared_q31()
[all …]
Darm_cmplx_mag_squared_f32.c83 float32_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_f32() local
110 imag = *pSrc++; in arm_cmplx_mag_squared_f32()
113 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f32()
128 float32_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_f32() local
186 imag = *pSrc++; in arm_cmplx_mag_squared_f32()
187 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f32()
190 imag = *pSrc++; in arm_cmplx_mag_squared_f32()
191 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f32()
194 imag = *pSrc++; in arm_cmplx_mag_squared_f32()
195 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f32()
[all …]
Darm_cmplx_mag_f32.c90 float32_t real, imag; /* Temporary variables to hold input values */ in arm_cmplx_mag_f32() local
145 imag = *pSrc++; in arm_cmplx_mag_f32()
148 arm_sqrt_f32((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f32()
162 float32_t real, imag; /* Temporary variables to hold input values */ in arm_cmplx_mag_f32() local
222 imag = *pSrc++; in arm_cmplx_mag_f32()
225 arm_sqrt_f32((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f32()
228 imag = *pSrc++; in arm_cmplx_mag_f32()
229 arm_sqrt_f32((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f32()
232 imag = *pSrc++; in arm_cmplx_mag_f32()
233 arm_sqrt_f32((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f32()
[all …]
Darm_cmplx_mag_squared_f16.c112 _Float16 real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_f16() local
124 imag = *pSrc++; in arm_cmplx_mag_squared_f16()
125 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f16()
128 imag = *pSrc++; in arm_cmplx_mag_squared_f16()
129 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f16()
132 imag = *pSrc++; in arm_cmplx_mag_squared_f16()
133 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f16()
136 imag = *pSrc++; in arm_cmplx_mag_squared_f16()
137 *pDst++ = (real * real) + (imag * imag); in arm_cmplx_mag_squared_f16()
158 imag = *pSrc++; in arm_cmplx_mag_squared_f16()
[all …]
Darm_cmplx_mag_f16.c177 _Float16 real, imag; /* Temporary variables to hold input values */ in arm_cmplx_mag_f16() local
189 imag = *pSrc++; in arm_cmplx_mag_f16()
192 arm_sqrt_f16((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f16()
195 imag = *pSrc++; in arm_cmplx_mag_f16()
196 arm_sqrt_f16((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f16()
199 imag = *pSrc++; in arm_cmplx_mag_f16()
200 arm_sqrt_f16((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f16()
203 imag = *pSrc++; in arm_cmplx_mag_f16()
204 arm_sqrt_f16((real * real) + (imag * imag), pDst++); in arm_cmplx_mag_f16()
225 imag = *pSrc++; in arm_cmplx_mag_f16()
[all …]
Darm_cmplx_mag_q15.c120 q15_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_q15() local
152 imag = *pSrc++; in arm_cmplx_mag_q15()
154 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_q15()
160 imag = *pSrc++; in arm_cmplx_mag_q15()
162 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_q15()
166 imag = *pSrc++; in arm_cmplx_mag_q15()
168 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_q15()
172 imag = *pSrc++; in arm_cmplx_mag_q15()
174 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_q15()
204 imag = *pSrc++; in arm_cmplx_mag_q15()
[all …]
Darm_cmplx_mag_squared_q15.c120 q15_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_q15() local
152 imag = *pSrc++; in arm_cmplx_mag_squared_q15()
154 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_squared_q15()
159 imag = *pSrc++; in arm_cmplx_mag_squared_q15()
161 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_squared_q15()
165 imag = *pSrc++; in arm_cmplx_mag_squared_q15()
167 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_squared_q15()
171 imag = *pSrc++; in arm_cmplx_mag_squared_q15()
173 acc1 = ((q31_t) imag * imag); in arm_cmplx_mag_squared_q15()
203 imag = *pSrc++; in arm_cmplx_mag_squared_q15()
[all …]