Home
last modified time | relevance | path

Searched refs:numTaps (Results 1 – 25 of 70) sorted by relevance

123

/cmsis-dsp-3.7.0-3.6.0/Source/FilteringFunctions/
Darm_lms_f32.c178 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_f32() local
191 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_f32()
211 tapCnt = numTaps >> 2; in arm_lms_f32()
231 tapCnt = numTaps % 0x4U; in arm_lms_f32()
260 tapCnt = numTaps >> 2; in arm_lms_f32()
280 tapCnt = numTaps % 0x4U; in arm_lms_f32()
308 tapCnt = (numTaps - 1U) >> 2U; in arm_lms_f32()
323 tapCnt = (numTaps - 1U) % 0x4U; in arm_lms_f32()
352 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_f32() local
361 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_f32()
[all …]
Darm_lms_norm_f32.c172 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_norm_f32() local
191 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_norm_f32()
219 tapCnt = numTaps >> 2; in arm_lms_norm_f32()
238 tapCnt = numTaps % 0x4U; in arm_lms_norm_f32()
268 tapCnt = numTaps >> 2; in arm_lms_norm_f32()
288 tapCnt = numTaps % 0x4U; in arm_lms_norm_f32()
320 tapCnt = (numTaps - 1U) >> 2U; in arm_lms_norm_f32()
335 tapCnt = (numTaps - 1U) % 0x4U; in arm_lms_norm_f32()
363 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_norm_f32() local
377 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_norm_f32()
[all …]
Darm_fir_decimate_fast_q15.c77 uint32_t numTaps = S->numTaps; /* Number of taps */ in arm_fir_decimate_fast_q15() local
86 pStateCur = S->pState + (numTaps - 1U); in arm_fir_decimate_fast_q15()
117 tapCnt = numTaps >> 2U; in arm_fir_decimate_fast_q15()
148 tapCnt = numTaps % 0x4U; in arm_fir_decimate_fast_q15()
153 tapCnt = numTaps; in arm_fir_decimate_fast_q15()
210 tapCnt = numTaps >> 2U; in arm_fir_decimate_fast_q15()
237 tapCnt = numTaps % 0x4U; in arm_fir_decimate_fast_q15()
242 tapCnt = numTaps; in arm_fir_decimate_fast_q15()
280 i = (numTaps - 1U) >> 2U; in arm_fir_decimate_fast_q15()
292 i = (numTaps - 1U) % 0x04U; in arm_fir_decimate_fast_q15()
[all …]
Darm_fir_decimate_q15.c73 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_decimate_q15() local
85 pStateCurnt = S->pState + (numTaps - 1U); in arm_fir_decimate_q15()
141 tapCnt = numTaps >> 3; in arm_fir_decimate_q15()
179 tapCnt = numTaps & 7; in arm_fir_decimate_q15()
253 tapCnt = numTaps >> 3; in arm_fir_decimate_q15()
267 tapCnt = numTaps & 7; in arm_fir_decimate_q15()
300 blkCnt = (numTaps - 1) >> 3; in arm_fir_decimate_q15()
308 blkCnt = (numTaps - 1) & 7; in arm_fir_decimate_q15()
334 uint32_t numTaps = S->numTaps; /* Number of taps */ in arm_fir_decimate_q15() local
343 pStateCur = S->pState + (numTaps - 1U); in arm_fir_decimate_q15()
[all …]
Darm_fir_init_q15.c88 uint16_t numTaps, in arm_fir_init_q15() argument
98 if (numTaps & 0x1U) in arm_fir_init_q15()
105 S->numTaps = numTaps; in arm_fir_init_q15()
111 memset(pState, 0, (numTaps + (blockSize)) * sizeof(q15_t)); in arm_fir_init_q15()
124 S->numTaps = numTaps; in arm_fir_init_q15()
130 memset(pState, 0, (numTaps + (blockSize - 1U)) * sizeof(q15_t)); in arm_fir_init_q15()
Darm_fir_f64.c63 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_f64() local
68 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_fir_f64()
88 i = numTaps >> 1U; in arm_fir_f64()
104 i = numTaps%2 ; in arm_fir_f64()
130 tapCnt = (numTaps - 1U); in arm_fir_f64()
156 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_f64() local
161 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_fir_f64()
180 i = numTaps; in arm_fir_f64()
209 tapCnt = (numTaps - 1U); in arm_fir_f64()
Darm_lms_q15.c74 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_q15() local
86 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_q15()
108 tapCnt = numTaps >> 2U; in arm_lms_q15()
122 tapCnt = numTaps % 0x4U; in arm_lms_q15()
127 tapCnt = numTaps; in arm_lms_q15()
172 tapCnt = numTaps >> 2U; in arm_lms_q15()
194 tapCnt = numTaps % 0x4U; in arm_lms_q15()
199 tapCnt = numTaps; in arm_lms_q15()
228 tapCnt = (numTaps - 1U) >> 2U; in arm_lms_q15()
240 tapCnt = (numTaps - 1U) % 0x4U; in arm_lms_q15()
[all …]
Darm_lms_q31.c78 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_q31() local
90 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_q31()
112 tapCnt = numTaps >> 2U; in arm_lms_q31()
134 tapCnt = numTaps % 0x4U; in arm_lms_q31()
139 tapCnt = numTaps; in arm_lms_q31()
181 tapCnt = numTaps >> 2U; in arm_lms_q31()
212 tapCnt = numTaps % 0x4U; in arm_lms_q31()
217 tapCnt = numTaps; in arm_lms_q31()
247 tapCnt = (numTaps - 1U) >> 2U; in arm_lms_q31()
261 tapCnt = (numTaps - 1U) % 0x4U; in arm_lms_q31()
[all …]
Darm_fir_decimate_f32.c140 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_decimate_f32() local
152 pStateCurnt = S->pState + (numTaps - 1U); in arm_fir_decimate_f32()
196 tapCnt = numTaps >> 2; in arm_fir_decimate_f32()
234 tapCnt = numTaps % 0x4U; in arm_fir_decimate_f32()
310 tapCnt = numTaps >> 2; in arm_fir_decimate_f32()
327 tapCnt = numTaps % 0x4U; in arm_fir_decimate_f32()
359 blkCnt =(numTaps - 1) >> 2; in arm_fir_decimate_f32()
367 blkCnt = (numTaps - 1) & 3; in arm_fir_decimate_f32()
389 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_decimate_f32() local
404 pStateCurnt = S->pState + (numTaps - 1U); in arm_fir_decimate_f32()
[all …]
Darm_lms_norm_q31.c77 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_norm_q31() local
96 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_norm_q31()
126 tapCnt = numTaps >> 2U; in arm_lms_norm_q31()
148 tapCnt = numTaps % 0x4U; in arm_lms_norm_q31()
153 tapCnt = numTaps; in arm_lms_norm_q31()
200 tapCnt = numTaps >> 2U; in arm_lms_norm_q31()
231 tapCnt = numTaps % 0x4U; in arm_lms_norm_q31()
236 tapCnt = numTaps; in arm_lms_norm_q31()
276 tapCnt = (numTaps - 1U) >> 2U; in arm_lms_norm_q31()
290 tapCnt = (numTaps - 1U) % 0x4U; in arm_lms_norm_q31()
[all …]
Darm_lms_norm_q15.c77 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_lms_norm_q15() local
96 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_lms_norm_q15()
126 tapCnt = numTaps >> 2U; in arm_lms_norm_q15()
140 tapCnt = numTaps % 0x4U; in arm_lms_norm_q15()
145 tapCnt = numTaps; in arm_lms_norm_q15()
199 tapCnt = numTaps >> 2U; in arm_lms_norm_q15()
221 tapCnt = numTaps % 0x4U; in arm_lms_norm_q15()
226 tapCnt = numTaps; in arm_lms_norm_q15()
264 tapCnt = (numTaps - 1U) >> 2U; in arm_lms_norm_q15()
276 tapCnt = (numTaps - 1U) % 0x4U; in arm_lms_norm_q15()
[all …]
Darm_fir_q7.c80 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */\
96 pStateCur = &(pState[(numTaps - 1u)]); \
130 blkCnt = numTaps - 1; \
202 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_q7() local
205 uint32_t tapsBlkCnt = (numTaps + 15) / 16; in arm_fir_q7()
209 if (numTaps <= 16) in arm_fir_q7()
217 else if (numTaps <= 32) in arm_fir_q7()
225 else if (numTaps <= 48) in arm_fir_q7()
233 else if (numTaps <= 64) in arm_fir_q7()
246 pStateCur = &(pState[(numTaps - 1u)]); in arm_fir_q7()
[all …]
Darm_fir_decimate_q31.c72 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_decimate_q31() local
84 pStateCurnt = S->pState + (numTaps - 1U); in arm_fir_decimate_q31()
127 tapCnt = numTaps >> 2; in arm_fir_decimate_q31()
165 tapCnt = numTaps % 0x4U; in arm_fir_decimate_q31()
241 tapCnt = numTaps >> 2; in arm_fir_decimate_q31()
258 tapCnt = numTaps % 0x4U; in arm_fir_decimate_q31()
289 blkCnt = (numTaps - 1) >> 2; in arm_fir_decimate_q31()
297 blkCnt = (numTaps - 1) & 3; in arm_fir_decimate_q31()
318 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_decimate_q31() local
329 pStateCur = S->pState + (numTaps - 1U); in arm_fir_decimate_q31()
[all …]
Darm_fir_q31.c117 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */\
132 pStateCur = &(pState[(numTaps - 1u)]); \
192 blkCnt =(numTaps - 1) >> 2; \
200 blkCnt = (numTaps - 1) & 3; \
220 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_q31_1_4_mve() local
229 pStateCur = &(pState[(numTaps - 1u)]); in arm_fir_q31_1_4_mve()
360 blkCnt = (numTaps-1) >> 2; in arm_fir_q31_1_4_mve()
368 blkCnt = (numTaps-1) & 3; in arm_fir_q31_1_4_mve()
462 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_q31_29_32_mve() local
483 pStateCur = &(pState[(numTaps - 1u)]); in arm_fir_q31_29_32_mve()
[all …]
Darm_fir_q15.c85 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */\
101 pStateCur = &(pState[(numTaps - 1u)]); \
136 blkCnt = (numTaps - 1) >> 3; \
144 blkCnt = (numTaps - 1) & 7; \
211 uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_q15() local
214 uint32_t tapsBlkCnt = (numTaps + 7) / 8; in arm_fir_q15()
218 int32_t nbTaps = (numTaps + 7) >> 3; in arm_fir_q15()
239 pStateCur = &(pState[(numTaps - 1u)]); in arm_fir_q15()
441 blkCnt = numTaps >> 3; in arm_fir_q15()
449 blkCnt = numTaps & 7; in arm_fir_q15()
[all …]
Darm_fir_fast_q31.c72 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_fast_q31() local
82 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_fir_fast_q31()
123 tapCnt = numTaps >> 2U; in arm_fir_fast_q31()
192 tapCnt = numTaps % 0x4U; in arm_fir_fast_q31()
255 i = numTaps; in arm_fir_fast_q31()
285 tapCnt = (numTaps - 1U) >> 2U; in arm_fir_fast_q31()
300 tapCnt = (numTaps - 1U) % 0x4U; in arm_fir_fast_q31()
305 tapCnt = (numTaps - 1U); in arm_fir_fast_q31()
Darm_fir_init_f32.c75 uint16_t numTaps, in arm_fir_init_f32() argument
81 S->numTaps = numTaps; in arm_fir_init_f32()
88 memset(pState, 0, (numTaps + (blockSize - 1U) + blockSize) * sizeof(float32_t)); in arm_fir_init_f32()
90 memset(pState, 0, (numTaps + (blockSize - 1U)) * sizeof(float32_t)); in arm_fir_init_f32()
Darm_fir_init_q31.c75 uint16_t numTaps, in arm_fir_init_q31() argument
81 S->numTaps = numTaps; in arm_fir_init_q31()
88 memset(pState, 0, (numTaps + (blockSize - 1U) + 2*ARM_ROUND_UP(blockSize, 4)) * sizeof(q31_t)); in arm_fir_init_q31()
90 memset(pState, 0, (numTaps + (blockSize - 1U)) * sizeof(q31_t)); in arm_fir_init_q31()
Darm_fir_init_f16.c78 uint16_t numTaps, in arm_fir_init_f16() argument
84 S->numTaps = numTaps; in arm_fir_init_f16()
91 memset(pState, 0, (numTaps + (blockSize - 1U) + ARM_ROUND_UP(blockSize, 8)) * sizeof(float16_t)); in arm_fir_init_f16()
93 memset(pState, 0, (numTaps + (blockSize - 1U)) * sizeof(float16_t)); in arm_fir_init_f16()
Darm_fir_fast_q15.c71 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_fast_q15() local
81 pStateCurnt = &(S->pState[(numTaps - 1U)]); in arm_fir_fast_q15()
123 tapCnt = numTaps >> 2U; in arm_fir_fast_q15()
190 if ((numTaps & 0x3U) != 0U) in arm_fir_fast_q15()
262 tapCnt = numTaps >> 1U; in arm_fir_fast_q15()
294 tapCnt = (numTaps - 1U) >> 2U; in arm_fir_fast_q15()
309 tapCnt = (numTaps - 1U) % 0x4U; in arm_fir_fast_q15()
314 tapCnt = (numTaps - 1U); in arm_fir_fast_q15()
Darm_fir_decimate_fast_q31.c74 … uint32_t numTaps = S->numTaps; /* Number of filter coefficients in the filter */ in arm_fir_decimate_fast_q31() local
85 pStateCur = S->pState + (numTaps - 1U); in arm_fir_decimate_fast_q31()
120 tapCnt = numTaps >> 2U; in arm_fir_decimate_fast_q31()
192 tapCnt = numTaps % 0x4U; in arm_fir_decimate_fast_q31()
262 tapCnt = numTaps >> 2U; in arm_fir_decimate_fast_q31()
307 tapCnt = numTaps % 0x4U; in arm_fir_decimate_fast_q31()
312 tapCnt = numTaps; in arm_fir_decimate_fast_q31()
352 tapCnt = (numTaps - 1U) >> 2U; in arm_fir_decimate_fast_q31()
367 tapCnt = (numTaps - 1U) % 0x04U; in arm_fir_decimate_fast_q31()
372 tapCnt = (numTaps - 1U); in arm_fir_decimate_fast_q31()
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/examples/
Dexample_1_9.py33 numTaps = 9 variable
34 downsamplingFilter = signal.firwin(numTaps,1.0 / decimationFactor)
41 status = dsp.arm_fir_decimate_init_f32(decimator,numTaps,decimationFactor, downsamplingFilter, ds_s…
63 status = dsp.arm_fir_decimate_init_q31(decimatorQ31,numTaps,decimationFactor,
74 status = dsp.arm_fir_decimate_init_q31(decimatorQ31,numTaps,decimationFactor,
86 status = dsp.arm_fir_decimate_init_q15(decimatorQ15,numTaps,decimationFactor,
101 status = dsp.arm_fir_decimate_init_q15(decimatorQ15,numTaps,decimationFactor,
115 numTaps = 16 variable
116 upsamplingFilter = signal.firwin(numTaps,1.0 / upsamplingFactor)
117 assert(numTaps % upsamplingFactor == 0)
[all …]
/cmsis-dsp-3.7.0-3.6.0/Include/dsp/
Dfiltering_functions.h58 uint16_t numTaps; /**< number of filter coefficients in the filter. */ member
68 uint16_t numTaps; /**< number of filter coefficients in the filter. */ member
78 uint16_t numTaps; /**< number of filter coefficients in the filter. */ member
88 uint16_t numTaps; /**< number of filter coefficients in the filter. */ member
98 uint16_t numTaps; /**< number of filter coefficients in the filter. */ member
129 uint16_t numTaps,
177 uint16_t numTaps,
221 uint16_t numTaps,
262 uint16_t numTaps,
277 uint16_t numTaps,
[all …]
/cmsis-dsp-3.7.0-3.6.0/Testing/Source/Tests/
DFIRF16.cpp47 int numTaps; in test_fir_f16() local
64 numTaps = configp[1]; in test_fir_f16()
70 round = numTaps >> FIRCOEFPADDING; in test_fir_f16()
71 if ((round << FIRCOEFPADDING) < numTaps) in test_fir_f16()
81 for(j=0;j < numTaps; j++) in test_fir_f16()
96 arm_fir_init_f16(&this->S,numTaps,coefsp,statep,blockSize); in test_fir_f16()
123 orgcoefsp += numTaps; in test_fir_f16()
DFIRF32.cpp48 int numTaps; in test_fir_f32() local
65 numTaps = configp[1]; in test_fir_f32()
71 round = numTaps >> FIRCOEFPADDING; in test_fir_f32()
72 if ((round << FIRCOEFPADDING) < numTaps) in test_fir_f32()
82 for(j=0;j < numTaps; j++) in test_fir_f32()
97 arm_fir_init_f32(&this->S,numTaps,coefsp,statep,blockSize); in test_fir_f32()
127 orgcoefsp += numTaps; in test_fir_f32()

123