/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Include/dsp/ |
D | distance_functions.h | 70 float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize); 80 float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize); 95 float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize); 106 float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize); 117 float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize); 130 float32_t arm_correlation_distance_f32(float32_t *pA,float32_t *pB, uint32_t blockSize); 142 float32_t arm_cosine_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize); 164 float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB,uint32_t blockSize… 179 float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32… 193 float32_t arm_dice_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools); [all …]
|
D | distance_functions_f16.h | 63 float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize); 73 float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize); 88 float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize); 99 float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize); 110 float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize); 123 float16_t arm_correlation_distance_f16(float16_t *pA,float16_t *pB, uint32_t blockSize); 135 float16_t arm_cosine_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize); 157 float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB,uint32_t blockSize… 172 float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, int32_t order, uint32…
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_ldlt_f32.c | 120 float32_t *pA; in arm_mat_ldlt_f32() local 123 pA = pl->pData; in arm_mat_ldlt_f32() 150 if (pA[r*n+r] > m) in arm_mat_ldlt_f32() 152 m = pA[r*n+r]; in arm_mat_ldlt_f32() 159 SWAP_ROWS_F32(pA,k,j); in arm_mat_ldlt_f32() 160 SWAP_COLS_F32(pA,k,j); in arm_mat_ldlt_f32() 166 a = pA[k*n+k]; in arm_mat_ldlt_f32() 195 vecW0 = vdupq_n_f32(pA[(w + 0)*n+k]); in arm_mat_ldlt_f32() 196 vecW1 = vdupq_n_f32(pA[(w + 1)*n+k]); in arm_mat_ldlt_f32() 197 vecW2 = vdupq_n_f32(pA[(w + 2)*n+k]); in arm_mat_ldlt_f32() [all …]
|
D | arm_mat_ldlt_f64.c | 106 float64_t *pA; in arm_mat_ldlt_f64() local 109 pA = pl->pData; in arm_mat_ldlt_f64() 126 if (pA[r*n+r] > m) in arm_mat_ldlt_f64() 128 m = pA[r*n+r]; in arm_mat_ldlt_f64() 135 SWAP_ROWS_F64(pA,k,j); in arm_mat_ldlt_f64() 136 SWAP_COLS_F64(pA,k,j); in arm_mat_ldlt_f64() 142 a = pA[k*n+k]; in arm_mat_ldlt_f64() 155 pA[w*n+x] = pA[w*n+x] - pA[w*n+k] * pA[x*n+k] / a; in arm_mat_ldlt_f64() 161 pA[w*n+k] = pA[w*n+k] / a; in arm_mat_ldlt_f64()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/ |
D | arm_rfft_fast_f16.c | 45 float16_t *pA = p; /* increasing pointer */ in stage_rfft_f16() local 68 xAR = pA[0]; in stage_rfft_f16() 69 xAI = pA[1]; in stage_rfft_f16() 87 pA += 2; in stage_rfft_f16() 108 xA = vld2q_f16(pA); in stage_rfft_f16() 109 pA += 16; in stage_rfft_f16() 171 xAR = pA[0]; in stage_rfft_f16() 172 xAI = pA[1]; in stage_rfft_f16() 190 pA += 2; in stage_rfft_f16() 205 float16_t *pA = p; /* increasing pointer */ in merge_rfft_f16() local [all …]
|
D | arm_rfft_fast_f32.c | 40 float32_t *pA = p; /* increasing pointer */ in stage_rfft_f32() local 63 xAR = pA[0]; in stage_rfft_f32() 64 xAI = pA[1]; in stage_rfft_f32() 82 pA += 2; in stage_rfft_f32() 103 xA = vld2q_f32(pA); in stage_rfft_f32() 104 pA += 8; in stage_rfft_f32() 165 xAR = pA[0]; in stage_rfft_f32() 166 xAI = pA[1]; in stage_rfft_f32() 184 pA += 2; in stage_rfft_f32() 199 float32_t *pA = p; /* increasing pointer */ in merge_rfft_f32() local [all …]
|
D | arm_rfft_fast_f64.c | 39 float64_t *pA = p; /* increasing pointer */ in stage_rfft_f64() local 52 xAR = pA[0]; in stage_rfft_f64() 53 xAI = pA[1]; in stage_rfft_f64() 71 pA += 2; in stage_rfft_f64() 92 xAR = pA[0]; in stage_rfft_f64() 93 xAI = pA[1]; in stage_rfft_f64() 111 pA += 2; in stage_rfft_f64() 126 float64_t *pA = p; /* increasing pointer */ in merge_rfft_f64() local 133 xAR = pA[0]; in merge_rfft_f64() 134 xAI = pA[1]; in merge_rfft_f64() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/SupportFunctions/ |
D | arm_merge_sort_f32.c | 33 static void topDownMerge(float32_t * pA, uint32_t begin, uint32_t middle, uint32_t end, float32_t *… in topDownMerge() argument 48 if (i < middle && (j >= end || dir==(pA[i] <= pA[j])) ) in topDownMerge() 50 pB[k] = pA[i]; in topDownMerge() 55 pB[k] = pA[j]; in topDownMerge() 61 static void arm_merge_sort_core_f32(float32_t * pB, uint32_t begin, uint32_t end, float32_t * pA, u… in arm_merge_sort_core_f32() argument 67 arm_merge_sort_core_f32(pA, begin, middle, pB, dir); // Sort the left part in arm_merge_sort_core_f32() 68 arm_merge_sort_core_f32(pA, middle, end, pB, dir); // Sort the right part in arm_merge_sort_core_f32() 70 topDownMerge(pB, begin, middle, end, pA, dir); in arm_merge_sort_core_f32() 109 float32_t * pA; in arm_merge_sort_f32() local 115 pA = pDst; in arm_merge_sort_f32() [all …]
|
D | arm_bubble_sort_f32.c | 69 float32_t * pA; in arm_bubble_sort_f32() local 75 pA = pDst; in arm_bubble_sort_f32() 78 pA = pSrc; in arm_bubble_sort_f32() 86 if(dir==(pA[i]>pA[i+1])) in arm_bubble_sort_f32() 89 temp = pA[i]; in arm_bubble_sort_f32() 90 pA[i] = pA[i+1]; in arm_bubble_sort_f32() 91 pA[i+1] = temp; in arm_bubble_sort_f32()
|
D | arm_insertion_sort_f32.c | 64 float32_t * pA; in arm_insertion_sort_f32() local 72 pA = pDst; in arm_insertion_sort_f32() 75 pA = pSrc; in arm_insertion_sort_f32() 81 for (j = i; j>0 && dir==(pA[j]<pA[j-1]); j--) in arm_insertion_sort_f32() 84 temp = pA[j]; in arm_insertion_sort_f32() 85 pA[j] = pA[j-1]; in arm_insertion_sort_f32() 86 pA[j-1] = temp; in arm_insertion_sort_f32()
|
D | arm_selection_sort_f32.c | 69 float32_t * pA; in arm_selection_sort_f32() local 74 pA = pDst; in arm_selection_sort_f32() 77 pA = pSrc; in arm_selection_sort_f32() 88 if (dir==(pA[j] < pA[k]) ) in arm_selection_sort_f32() 98 temp=pA[i]; in arm_selection_sort_f32() 99 pA[i]=pA[k]; in arm_selection_sort_f32() 100 pA[k]=temp; in arm_selection_sort_f32()
|
D | arm_heap_sort_f32.c | 90 float32_t * pA; in arm_heap_sort_f32() local 97 pA = pDst; in arm_heap_sort_f32() 100 pA = pSrc; in arm_heap_sort_f32() 104 arm_heapify(pA, blockSize, i, S->dir); in arm_heap_sort_f32() 109 temp = pA[i]; in arm_heap_sort_f32() 110 pA[i] = pA[0]; in arm_heap_sort_f32() 111 pA[0] = temp; in arm_heap_sort_f32() 114 arm_heapify(pA, i, 0, S->dir); in arm_heap_sort_f32()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/DistanceFunctions/ |
D | arm_chebyshev_distance_f32.c | 55 float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_chebyshev_distance_f32() argument 65 vecA = vld1q(pA); in arm_chebyshev_distance_f32() 66 pA += 4; in arm_chebyshev_distance_f32() 86 vecA = vldrwq_z_f32(pA, p0); in arm_chebyshev_distance_f32() 106 float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_chebyshev_distance_f32() argument 115 tmpA = *pA++; in arm_chebyshev_distance_f32() 123 tmpA = *pA++; in arm_chebyshev_distance_f32() 136 a = vld1q_f32(pA); in arm_chebyshev_distance_f32() 138 pA += 4; in arm_chebyshev_distance_f32() 151 a = vld1q_f32(pA); in arm_chebyshev_distance_f32() [all …]
|
D | arm_cityblock_distance_f32.c | 53 float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_cityblock_distance_f32() argument 62 a = vld1q(pA); in arm_cityblock_distance_f32() 68 pA += 4; in arm_cityblock_distance_f32() 81 a = vldrwq_z_f32(pA, p0); in arm_cityblock_distance_f32() 96 float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_cityblock_distance_f32() argument 108 a = vld1q_f32(pA); in arm_cityblock_distance_f32() 114 pA += 4; in arm_cityblock_distance_f32() 126 tmpA = *pA++; in arm_cityblock_distance_f32() 136 float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_cityblock_distance_f32() argument 143 tmpA = *pA++; in arm_cityblock_distance_f32()
|
D | arm_euclidean_distance_f32.c | 54 float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_euclidean_distance_f32() argument 64 a = vld1q(pA); in arm_euclidean_distance_f32() 70 pA += 4; in arm_euclidean_distance_f32() 83 a = vldrwq_z_f32(pA, p0); in arm_euclidean_distance_f32() 98 float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_euclidean_distance_f32() argument 109 a = vld1q_f32(pA); in arm_euclidean_distance_f32() 114 pA += 4; in arm_euclidean_distance_f32() 124 tmp = *pA++ - *pB++; in arm_euclidean_distance_f32() 133 float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_euclidean_distance_f32() argument 139 tmp = *pA++ - *pB++; in arm_euclidean_distance_f32()
|
D | arm_braycurtis_distance_f32.c | 54 float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_braycurtis_distance_f32() argument 66 a = vld1q(pA); in arm_braycurtis_distance_f32() 76 pA += 4; in arm_braycurtis_distance_f32() 85 a = vldrwq_z_f32(pA, p0); in arm_braycurtis_distance_f32() 110 float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_braycurtis_distance_f32() argument 123 a = vld1q_f32(pA); in arm_braycurtis_distance_f32() 133 pA += 4; in arm_braycurtis_distance_f32() 146 accumDiff += fabsf(*pA - *pB); in arm_braycurtis_distance_f32() 147 accumSum += fabsf(*pA++ + *pB++); in arm_braycurtis_distance_f32() 160 float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_braycurtis_distance_f32() argument [all …]
|
D | arm_jensenshannon_distance_f32.c | 54 float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSiz… in arm_jensenshannon_distance_f32() argument 64 a = vld1q(pA); in arm_jensenshannon_distance_f32() 78 pA += 4; in arm_jensenshannon_distance_f32() 91 a = vldrwq_z_f32(pA, p0); in arm_jensenshannon_distance_f32() 139 float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSiz… in arm_jensenshannon_distance_f32() argument 152 aV = vld1q_f32(pA); in arm_jensenshannon_distance_f32() 166 pA += 4; in arm_jensenshannon_distance_f32() 179 a = *pA; in arm_jensenshannon_distance_f32() 185 pA++; in arm_jensenshannon_distance_f32() 221 float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSiz… in arm_jensenshannon_distance_f32() argument [all …]
|
D | arm_minkowski_distance_f32.c | 76 float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32… in arm_minkowski_distance_f32() argument 85 a = vld1q(pA); in arm_minkowski_distance_f32() 92 pA += 4; in arm_minkowski_distance_f32() 105 a = vldrwq_z_f32(pA, p0); in arm_minkowski_distance_f32() 121 float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32… in arm_minkowski_distance_f32() argument 135 aV = vld1q_f32(pA); in arm_minkowski_distance_f32() 137 pA += 4; in arm_minkowski_distance_f32() 154 sum += powf(fabsf(*pA++ - *pB++),order); in arm_minkowski_distance_f32() 167 float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32… in arm_minkowski_distance_f32() argument 175 sum += powf(fabsf(pA[i] - pB[i]),order); in arm_minkowski_distance_f32()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/FullyConnectedFunctions/ |
D | arm_fully_connected_q7_opt.c | 145 const q15_t *pA; in arm_fully_connected_q7_opt() local 160 pA = vec_buffer; in arm_fully_connected_q7_opt() 170 inV = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_q7_opt() 182 inV = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_q7_opt() 201 inV = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_q7_opt() 213 inV = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_q7_opt() 274 [ pA ] "+r"(pA) in arm_fully_connected_q7_opt() 312 [ pA ] "+r"(pA) in arm_fully_connected_q7_opt() 322 q15_t inV = *pA++; in arm_fully_connected_q7_opt() 351 pA = vec_buffer; in arm_fully_connected_q7_opt() [all …]
|
D | arm_fully_connected_mat_q7_vec_q15_opt.c | 134 const q15_t *pA = pV; in arm_fully_connected_mat_q7_vec_q15_opt() local 147 pA = pV; in arm_fully_connected_mat_q7_vec_q15_opt() 158 inV = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_mat_q7_vec_q15_opt() 179 inV = *__SIMD32(pA)++; in arm_fully_connected_mat_q7_vec_q15_opt() 228 [ pA ] "+r"(pA) in arm_fully_connected_mat_q7_vec_q15_opt() 253 [ pA ] "+r"(pA) in arm_fully_connected_mat_q7_vec_q15_opt() 263 q15_t inV = *pA++; in arm_fully_connected_mat_q7_vec_q15_opt() 293 pA = pV; in arm_fully_connected_mat_q7_vec_q15_opt() 301 inV1 = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_mat_q7_vec_q15_opt() 304 inV2 = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_mat_q7_vec_q15_opt() [all …]
|
D | arm_fully_connected_q15_opt.c | 113 const q15_t *pA = pV; in arm_fully_connected_q15_opt() local 126 pA = pV; in arm_fully_connected_q15_opt() 135 inV = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_q15_opt() 175 [ pA ] "+r"(pA) in arm_fully_connected_q15_opt() 185 q15_t inV = *pA++; in arm_fully_connected_q15_opt() 215 pA = pV; in arm_fully_connected_q15_opt() 222 inV1 = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_q15_opt() 226 inV2 = arm_nn_read_q15x2_ia(&pA); in arm_fully_connected_q15_opt() 236 q15_t inV = *pA++; in arm_fully_connected_q15_opt() 251 const q15_t *pA; in arm_fully_connected_q15_opt() local [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/StatisticsFunctions/ |
D | arm_kullback_leibler_f32.c | 63 float32_t accum, pA,pB; in arm_kullback_leibler_f32() local 95 pA = *pSrcA++; in arm_kullback_leibler_f32() 97 accum += pA * logf(pB / pA); in arm_kullback_leibler_f32() 115 float32_t accum, pA,pB; in arm_kullback_leibler_f32() local 152 pA = *pInA++; in arm_kullback_leibler_f32() 154 accum += pA * logf(pB/pA); in arm_kullback_leibler_f32() 168 float32_t accum, pA,pB; in arm_kullback_leibler_f32() local 178 pA = *pInA++; in arm_kullback_leibler_f32() 180 accum += pA * logf(pB / pA); in arm_kullback_leibler_f32()
|
D | arm_kullback_leibler_f16.c | 77 _Float16 accum, pA,pB; in arm_kullback_leibler_f16() local 109 pA = *pSrcA++; in arm_kullback_leibler_f16() 111 accum += pA * logf(pB / pA); in arm_kullback_leibler_f16() 125 _Float16 accum, pA,pB; in arm_kullback_leibler_f16() local 135 pA = *pInA++; in arm_kullback_leibler_f16() 137 accum += pA * logf(pB / pA); in arm_kullback_leibler_f16()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ConvolutionFunctions/ |
D | arm_depthwise_separable_conv_HWC_q7.c | 155 const q7_t *pA = wt + row_shift; in arm_depthwise_separable_conv_HWC_q7() local 172 inA1 = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7() 173 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7() 174 opB = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7() 175 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7() 204 inA1 = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7() 205 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7() 206 opB = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7() 207 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7() 271 [ pA ] "+r"(pA) in arm_depthwise_separable_conv_HWC_q7() [all …]
|
D | arm_depthwise_separable_conv_HWC_q7_nonsquare.c | 165 const q7_t *pA = wt + row_shift; in arm_depthwise_separable_conv_HWC_q7_nonsquare() local 182 inA1 = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7_nonsquare() 183 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7_nonsquare() 184 opB = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7_nonsquare() 185 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7_nonsquare() 214 inA1 = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7_nonsquare() 215 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7_nonsquare() 216 opB = arm_nn_read_q7x4(pA); in arm_depthwise_separable_conv_HWC_q7_nonsquare() 217 pA += ch_im_in; in arm_depthwise_separable_conv_HWC_q7_nonsquare() 278 [ pA ] "+r"(pA) in arm_depthwise_separable_conv_HWC_q7_nonsquare() [all …]
|