/cmsis-dsp-3.5.0/Source/TransformFunctions/ |
D | arm_rfft_fast_init_f16.c | 55 arm_status status; in arm_rfft_fast_init_32_f16() local 59 status=arm_cfft_init_16_f16(&(S->Sint)); in arm_rfft_fast_init_32_f16() 60 if (status != ARM_MATH_SUCCESS) in arm_rfft_fast_init_32_f16() 62 return(status); in arm_rfft_fast_init_32_f16() 81 arm_status status; in arm_rfft_fast_init_64_f16() local 85 status=arm_cfft_init_32_f16(&(S->Sint)); in arm_rfft_fast_init_64_f16() 86 if (status != ARM_MATH_SUCCESS) in arm_rfft_fast_init_64_f16() 88 return(status); in arm_rfft_fast_init_64_f16() 107 arm_status status; in arm_rfft_fast_init_128_f16() local 111 status=arm_cfft_init_64_f16(&(S->Sint)); in arm_rfft_fast_init_128_f16() [all …]
|
D | arm_rfft_fast_init_f32.c | 52 arm_status status; in arm_rfft_fast_init_32_f32() local 56 status=arm_cfft_init_16_f32(&(S->Sint)); in arm_rfft_fast_init_32_f32() 57 if (status != ARM_MATH_SUCCESS) in arm_rfft_fast_init_32_f32() 59 return(status); in arm_rfft_fast_init_32_f32() 78 arm_status status; in arm_rfft_fast_init_64_f32() local 82 status=arm_cfft_init_32_f32(&(S->Sint)); in arm_rfft_fast_init_64_f32() 83 if (status != ARM_MATH_SUCCESS) in arm_rfft_fast_init_64_f32() 85 return(status); in arm_rfft_fast_init_64_f32() 104 arm_status status; in arm_rfft_fast_init_128_f32() local 108 status=arm_cfft_init_64_f32(&(S->Sint)); in arm_rfft_fast_init_128_f32() [all …]
|
D | arm_cfft_init_f64.c | 62 arm_status status = ARM_MATH_SUCCESS; \ 72 return (status); \ 220 arm_status status = ARM_MATH_SUCCESS; in arm_cfft_init_f64() local 227 status = arm_cfft_init_4096_f64(S); in arm_cfft_init_f64() 233 status = arm_cfft_init_2048_f64(S); in arm_cfft_init_f64() 240 status = arm_cfft_init_1024_f64(S); in arm_cfft_init_f64() 247 status = arm_cfft_init_512_f64(S); in arm_cfft_init_f64() 251 status = arm_cfft_init_256_f64(S); in arm_cfft_init_f64() 255 status = arm_cfft_init_128_f64(S); in arm_cfft_init_f64() 259 status = arm_cfft_init_64_f64(S); in arm_cfft_init_f64() [all …]
|
D | arm_cfft_init_f16.c | 87 arm_status status = ARM_MATH_SUCCESS; \ 99 status=arm_cfft_radix4by2_rearrange_twiddles_##LENTWIDDLE##_f16(S);\ 101 return (status); \ 117 arm_status status = ARM_MATH_SUCCESS; \ 128 return (status); \ 290 arm_status status = ARM_MATH_SUCCESS; in arm_cfft_init_f16() local 297 status=arm_cfft_init_4096_f16(S); in arm_cfft_init_f16() 303 status=arm_cfft_init_2048_f16(S); in arm_cfft_init_f16() 309 status=arm_cfft_init_1024_f16(S); in arm_cfft_init_f16() 315 status=arm_cfft_init_512_f16(S); in arm_cfft_init_f16() [all …]
|
D | arm_cfft_init_f32.c | 83 arm_status status = ARM_MATH_SUCCESS; \ 95 status=arm_cfft_radix4by2_rearrange_twiddles_##LENTWIDDLE##_f32(S); \ 97 return (status); \ 111 arm_status status = ARM_MATH_SUCCESS; \ 121 return (status); \ 281 arm_status status = ARM_MATH_SUCCESS; in arm_cfft_init_f32() local 288 status=arm_cfft_init_4096_f32(S); in arm_cfft_init_f32() 294 status=arm_cfft_init_2048_f32(S); in arm_cfft_init_f32() 300 status=arm_cfft_init_1024_f32(S); in arm_cfft_init_f32() 306 status=arm_cfft_init_512_f32(S); in arm_cfft_init_f32() [all …]
|
D | arm_cfft_init_q15.c | 82 arm_status status = ARM_MATH_SUCCESS; \ 94 status=arm_cfft_radix4by2_rearrange_twiddles_##LENTWIDDLE##_q15(S);\ 96 return (status); \ 111 arm_status status = ARM_MATH_SUCCESS; \ 121 return (status); \ 274 arm_status status = ARM_MATH_SUCCESS; in arm_cfft_init_q15() local 281 status=arm_cfft_init_4096_q15(S); in arm_cfft_init_q15() 287 status=arm_cfft_init_2048_q15(S); in arm_cfft_init_q15() 293 status=arm_cfft_init_1024_q15(S); in arm_cfft_init_q15() 299 status=arm_cfft_init_512_q15(S); in arm_cfft_init_q15() [all …]
|
D | arm_cfft_init_q31.c | 83 arm_status status = ARM_MATH_SUCCESS; \ 95 status=arm_cfft_radix4by2_rearrange_twiddles_##LENTWIDDLE##_q31(S);\ 97 return (status); \ 113 arm_status status = ARM_MATH_SUCCESS; \ 123 return (status); \ 275 arm_status status = ARM_MATH_SUCCESS; in arm_cfft_init_q31() local 284 status=arm_cfft_init_4096_q31(S); in arm_cfft_init_q31() 290 status=arm_cfft_init_2048_q31(S); in arm_cfft_init_q31() 296 status=arm_cfft_init_1024_q31(S); in arm_cfft_init_q31() 302 status=arm_cfft_init_512_q31(S); in arm_cfft_init_q31() [all …]
|
D | arm_rfft_init_q15.c | 55 arm_status status = ARM_MATH_SUCCESS; \ 74 status=arm_cfft_init_##CFFTLEN##_q15(&(S->cfftInst)); \ 77 return (status); \ 374 arm_status status = ARM_MATH_ARGUMENT_ERROR; in arm_rfft_init_q15() local 380 status = arm_rfft_init_8192_q15( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q15() 383 status = arm_rfft_init_4096_q15( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q15() 386 status = arm_rfft_init_2048_q15( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q15() 389 status = arm_rfft_init_1024_q15( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q15() 392 status = arm_rfft_init_512_q15( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q15() 395 status = arm_rfft_init_256_q15( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q15() [all …]
|
D | arm_rfft_init_q31.c | 54 arm_status status = ARM_MATH_ARGUMENT_ERROR; \ 73 status=arm_cfft_init_##CFFTLEN##_q31(&(S->cfftInst)); \ 76 return (status); \ 372 arm_status status = ARM_MATH_ARGUMENT_ERROR; in arm_rfft_init_q31() local 377 status = arm_rfft_init_8192_q31( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q31() 380 status = arm_rfft_init_4096_q31( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q31() 383 status = arm_rfft_init_2048_q31( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q31() 386 status = arm_rfft_init_1024_q31( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q31() 389 status = arm_rfft_init_512_q31( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q31() 392 status = arm_rfft_init_256_q31( S,ifftFlagR,bitReverseFlag ); in arm_rfft_init_q31() [all …]
|
D | arm_mfcc_init_f16.c | 102 arm_status status; in arm_mfcc_init_f16() local 114 status=arm_cfft_init_f16(&(S->cfft),fftLen); in arm_mfcc_init_f16() 116 status=arm_rfft_fast_init_f16(&(S->rfft),fftLen); in arm_mfcc_init_f16() 119 return(status); in arm_mfcc_init_f16() 135 arm_status status; \ 146 status=arm_cfft_init_##LEN##_f16(&(S->cfft));\ 148 return(status); \ 163 arm_status status; \ 174 status=arm_rfft_fast_init_##LEN##_f16(&(S->rfft));\ 176 return(status); \
|
D | arm_mfcc_init_f32.c | 102 arm_status status; in arm_mfcc_init_f32() local 114 status=arm_cfft_init_f32(&(S->cfft),fftLen); in arm_mfcc_init_f32() 116 status=arm_rfft_fast_init_f32(&(S->rfft),fftLen); in arm_mfcc_init_f32() 119 return(status); in arm_mfcc_init_f32() 135 arm_status status; \ 146 status=arm_cfft_init_##LEN##_f32(&(S->cfft));\ 148 return(status); \ 163 arm_status status; \ 174 status=arm_rfft_fast_init_##LEN##_f32(&(S->rfft));\ 176 return(status); \
|
D | arm_mfcc_init_q15.c | 101 arm_status status; in arm_mfcc_init_q15() local 113 status=arm_cfft_init_q15(&(S->cfft),fftLen); in arm_mfcc_init_q15() 115 status=arm_rfft_init_q15(&(S->rfft),fftLen,0,1); in arm_mfcc_init_q15() 118 return(status); in arm_mfcc_init_q15() 134 arm_status status; \ 145 status=arm_cfft_init_##LEN##_q15(&(S->cfft));\ 147 return(status); \ 162 arm_status status; \ 173 status=arm_rfft_init_##LEN##_q15(&(S->rfft),0,1);\ 175 return(status); \
|
D | arm_mfcc_init_q31.c | 102 arm_status status; in arm_mfcc_init_q31() local 114 status=arm_cfft_init_q31(&(S->cfft),fftLen); in arm_mfcc_init_q31() 116 status=arm_rfft_init_q31(&(S->rfft),fftLen,0,1); in arm_mfcc_init_q31() 119 return(status); in arm_mfcc_init_q31() 135 arm_status status; \ 146 status=arm_cfft_init_##LEN##_q31(&(S->cfft));\ 148 return(status); \ 163 arm_status status; \ 174 status=arm_rfft_init_##LEN##_q31(&(S->rfft),0,1);\ 176 return(status); \
|
/cmsis-dsp-3.5.0/Testing/Source/Tests/ |
D | TransformCF16.cpp | 16 ASSERT_TRUE(status == ARM_MATH_SUCCESS); in test_cfft_f16() 45 status=arm_cfft_init_f16(&varInstCfftF16,16); in setUp() 56 status=arm_cfft_init_f16(&varInstCfftF16,16); in setUp() 67 status=arm_cfft_init_f16(&varInstCfftF16,32); in setUp() 78 status=arm_cfft_init_f16(&varInstCfftF16,32); in setUp() 89 status=arm_cfft_init_f16(&varInstCfftF16,64); in setUp() 101 status=arm_cfft_init_f16(&varInstCfftF16,64); in setUp() 113 status=arm_cfft_init_f16(&varInstCfftF16,128); in setUp() 125 status=arm_cfft_init_f16(&varInstCfftF16,128); in setUp() 137 status=arm_cfft_init_f16(&varInstCfftF16,256); in setUp() [all …]
|
D | TransformCF32.cpp | 16 ASSERT_TRUE(status == ARM_MATH_SUCCESS); in test_cfft_f32() 44 status=arm_cfft_init_f32(&varInstCfftF32,16); in setUp() 55 status=arm_cfft_init_f32(&varInstCfftF32,16); in setUp() 66 status=arm_cfft_init_f32(&varInstCfftF32,32); in setUp() 77 status=arm_cfft_init_f32(&varInstCfftF32,32); in setUp() 88 status=arm_cfft_init_f32(&varInstCfftF32,64); in setUp() 100 status=arm_cfft_init_f32(&varInstCfftF32,64); in setUp() 112 status=arm_cfft_init_f32(&varInstCfftF32,128); in setUp() 124 status=arm_cfft_init_f32(&varInstCfftF32,128); in setUp() 136 status=arm_cfft_init_f32(&varInstCfftF32,256); in setUp() [all …]
|
D | TransformCF64.cpp | 42 status=arm_cfft_init_f64(&varInstCfftF64,16); in setUp() 53 status=arm_cfft_init_f64(&varInstCfftF64,16); in setUp() 64 status=arm_cfft_init_f64(&varInstCfftF64,32); in setUp() 75 status=arm_cfft_init_f64(&varInstCfftF64,32); in setUp() 86 status=arm_cfft_init_f64(&varInstCfftF64,64); in setUp() 97 status=arm_cfft_init_f64(&varInstCfftF64,64); in setUp() 108 status=arm_cfft_init_f64(&varInstCfftF64,128); in setUp() 119 status=arm_cfft_init_f64(&varInstCfftF64,128); in setUp() 130 status=arm_cfft_init_f64(&varInstCfftF64,256); in setUp() 141 status=arm_cfft_init_f64(&varInstCfftF64,256); in setUp() [all …]
|
D | TransformCQ31.cpp | 16 ASSERT_TRUE(status == ARM_MATH_SUCCESS); in test_cfft_q31() 40 ASSERT_TRUE(status == ARM_MATH_SUCCESS); in test_cifft_q31() 74 status=arm_cfft_init_q31(&instCfftQ31,16); in setUp() 85 status=arm_cfft_init_q31(&instCfftQ31,16); in setUp() 97 status=arm_cfft_init_q31(&instCfftQ31,32); in setUp() 108 status=arm_cfft_init_q31(&instCfftQ31,32); in setUp() 120 status=arm_cfft_init_q31(&instCfftQ31,64); in setUp() 132 status=arm_cfft_init_q31(&instCfftQ31,64); in setUp() 144 status=arm_cfft_init_q31(&instCfftQ31,128); in setUp() 155 status=arm_cfft_init_q31(&instCfftQ31,128); in setUp() [all …]
|
D | TransformCQ15.cpp | 69 status=arm_cfft_init_q15(&instCfftQ15,16); in setUp() 80 status=arm_cfft_init_q15(&instCfftQ15,16); in setUp() 92 status=arm_cfft_init_q15(&instCfftQ15,32); in setUp() 103 status=arm_cfft_init_q15(&instCfftQ15,32); in setUp() 115 status=arm_cfft_init_q15(&instCfftQ15,64); in setUp() 127 status=arm_cfft_init_q15(&instCfftQ15,64); in setUp() 139 status=arm_cfft_init_q15(&instCfftQ15,128); in setUp() 150 status=arm_cfft_init_q15(&instCfftQ15,128); in setUp() 162 status=arm_cfft_init_q15(&instCfftQ15,256); in setUp() 173 status=arm_cfft_init_q15(&instCfftQ15,256); in setUp() [all …]
|
/cmsis-dsp-3.5.0/Source/MatrixFunctions/ |
D | arm_mat_scale_f32.c | 88 arm_status status; /* status of matrix scaling */ in arm_mat_scale_f32() local 94 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_scale_f32() 143 status = ARM_MATH_SUCCESS; in arm_mat_scale_f32() 147 return (status); in arm_mat_scale_f32() 161 arm_status status; /* status of matrix scaling */ in arm_mat_scale_f32() local 169 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_scale_f32() 215 status = ARM_MATH_SUCCESS; in arm_mat_scale_f32() 219 return (status); in arm_mat_scale_f32() 231 arm_status status; /* Status of matrix scaling */ in arm_mat_scale_f32() local 240 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_scale_f32() [all …]
|
D | arm_mat_add_f32.c | 88 arm_status status; in arm_mat_add_f32() local 109 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_add_f32() 148 status = ARM_MATH_SUCCESS; in arm_mat_add_f32() 150 return (status); in arm_mat_add_f32() 173 arm_status status; /* status of matrix addition */ in arm_mat_add_f32() local 182 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_add_f32() 230 status = ARM_MATH_SUCCESS; in arm_mat_add_f32() 234 return (status); in arm_mat_add_f32() 248 arm_status status; /* status of matrix addition */ in arm_mat_add_f32() local 259 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_add_f32() [all …]
|
D | arm_mat_sub_f32.c | 85 arm_status status; /* status of matrix subtraction */ in arm_mat_sub_f32() local 106 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_sub_f32() 145 status = ARM_MATH_SUCCESS; in arm_mat_sub_f32() 149 return (status); in arm_mat_sub_f32() 166 arm_status status; /* status of matrix subtraction */ in arm_mat_sub_f32() local 175 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_sub_f32() 226 status = ARM_MATH_SUCCESS; in arm_mat_sub_f32() 230 return (status); in arm_mat_sub_f32() 244 arm_status status; /* status of matrix subtraction */ in arm_mat_sub_f32() local 255 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_sub_f32() [all …]
|
D | arm_mat_trans_q31.c | 56 arm_status status; /* status of matrix transpose */ in arm_mat_trans_q31() local 64 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_trans_q31() 83 status = ARM_MATH_SUCCESS; in arm_mat_trans_q31() 86 status = ARM_MATH_SUCCESS; in arm_mat_trans_q31() 90 return (status); in arm_mat_trans_q31() 103 arm_status status; /* status of matrix transpose */ in arm_mat_trans_q31() local 112 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_trans_q31() 181 status = ARM_MATH_SUCCESS; in arm_mat_trans_q31() 185 return (status); in arm_mat_trans_q31()
|
D | arm_mat_trans_f32.c | 81 arm_status status; /* status of matrix transpose */ in arm_mat_trans_f32() local 89 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_trans_f32() 106 status = ARM_MATH_SUCCESS; in arm_mat_trans_f32() 110 return (status); in arm_mat_trans_f32() 127 arm_status status; /* status of matrix transpose */ in arm_mat_trans_f32() local 135 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_trans_f32() 235 status = ARM_MATH_SUCCESS; in arm_mat_trans_f32() 239 return (status); in arm_mat_trans_f32() 252 arm_status status; /* status of matrix transpose */ in arm_mat_trans_f32() local 261 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_trans_f32() [all …]
|
D | arm_mat_trans_f16.c | 59 arm_status status; /* status of matrix transpose */ in arm_mat_trans_f16() local 68 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_trans_f16() 92 status = ARM_MATH_SUCCESS; in arm_mat_trans_f16() 96 return (status); in arm_mat_trans_f16() 111 arm_status status; /* status of matrix transpose */ in arm_mat_trans_f16() local 120 status = ARM_MATH_SIZE_MISMATCH; in arm_mat_trans_f16() 189 status = ARM_MATH_SUCCESS; in arm_mat_trans_f16() 193 return (status); in arm_mat_trans_f16()
|
/cmsis-dsp-3.5.0/Examples/ARM/arm_matrix_example/ |
D | arm_matrix_example_f32.c | 160 arm_status status; in main() local 173 status = arm_mat_trans_f32(&A, &AT); in main() 182 status = arm_mat_mult_f32(&AT, &A, &ATMA); in main() 190 status = arm_mat_inverse_f32(&ATMA, &ATMAI); in main() 193 status = arm_mat_mult_f32(&ATMAI, &AT, &ATMA); in main() 206 status = arm_mat_mult_f32(&ATMA, &B, &X); in main() 214 status = (snr < SNR_THRESHOLD) ? ARM_MATH_TEST_FAILURE : ARM_MATH_SUCCESS; in main() 216 if (status != ARM_MATH_SUCCESS) in main()
|