/cmsis-dsp-3.7.0-3.6.0/Source/FilteringFunctions/ |
D | arm_lms_f32.c | 178 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 …]
|
D | arm_lms_norm_f32.c | 172 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 …]
|
D | arm_fir_decimate_fast_q15.c | 77 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 …]
|
D | arm_fir_decimate_q15.c | 73 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 …]
|
D | arm_fir_init_q15.c | 88 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()
|
D | arm_fir_f64.c | 63 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()
|
D | arm_lms_q15.c | 74 … 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 …]
|
D | arm_lms_q31.c | 78 … 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 …]
|
D | arm_fir_decimate_f32.c | 140 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 …]
|
D | arm_lms_norm_q31.c | 77 … 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 …]
|
D | arm_lms_norm_q15.c | 77 … 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 …]
|
D | arm_fir_q7.c | 80 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 …]
|
D | arm_fir_decimate_q31.c | 72 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 …]
|
D | arm_fir_q31.c | 117 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 …]
|
D | arm_fir_q15.c | 85 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 …]
|
D | arm_fir_fast_q31.c | 72 … 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()
|
D | arm_fir_init_f32.c | 75 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()
|
D | arm_fir_init_q31.c | 75 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()
|
D | arm_fir_init_f16.c | 78 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()
|
D | arm_fir_fast_q15.c | 71 … 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()
|
D | arm_fir_decimate_fast_q31.c | 74 … 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/ |
D | example_1_9.py | 33 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/ |
D | filtering_functions.h | 58 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/ |
D | FIRF16.cpp | 47 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()
|
D | FIRF32.cpp | 48 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()
|