Home
last modified time | relevance | path

Searched refs:pA (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/cmsis/CMSIS/DSP/Include/dsp/
Ddistance_functions.h70 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 …]
Ddistance_functions_f16.h63 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…
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_ldlt_f32.c120 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 …]
Darm_mat_ldlt_f64.c106 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()
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_merge_sort_f32.c33 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 …]
Darm_insertion_sort_f32.c64 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()
Darm_bubble_sort_f32.c69 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()
Darm_selection_sort_f32.c69 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()
Darm_heap_sort_f32.c90 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()
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/
Darm_rfft_fast_f16.c45 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 …]
Darm_rfft_fast_f32.c40 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 …]
Darm_rfft_fast_f64.c39 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 …]
/third_party/cmsis/CMSIS/DSP/Source/DistanceFunctions/
Darm_chebyshev_distance_f32.c55 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 …]
Darm_euclidean_distance_f32.c54 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()
Darm_cityblock_distance_f32.c53 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()
Darm_braycurtis_distance_f32.c54 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 …]
Darm_jensenshannon_distance_f32.c54 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 …]
Darm_minkowski_distance_f32.c76 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()
Darm_canberra_distance_f32.c60 float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_canberra_distance_f32() argument
70 a = vld1q(pA); in arm_canberra_distance_f32()
92 pA += 4; in arm_canberra_distance_f32()
101 a = vldrwq_z_f32(pA, p0); in arm_canberra_distance_f32()
134 float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_canberra_distance_f32() argument
148 a = vld1q_f32(pA); in arm_canberra_distance_f32()
171 pA += 4; in arm_canberra_distance_f32()
182 tmpA = *pA++; in arm_canberra_distance_f32()
197 float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_canberra_distance_f32() argument
203 tmpA = *pA++; in arm_canberra_distance_f32()
Darm_chebyshev_distance_f16.c67 float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) in arm_chebyshev_distance_f16() argument
77 vecA = vld1q(pA); in arm_chebyshev_distance_f16()
78 pA += 8; in arm_chebyshev_distance_f16()
98 vecA = vldrhq_z_f16(pA, p0); in arm_chebyshev_distance_f16()
114 float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) in arm_chebyshev_distance_f16() argument
118 tmpA = *pA++; in arm_chebyshev_distance_f16()
126 tmpA = *pA++; in arm_chebyshev_distance_f16()
Darm_correlation_distance_f32.c54 float32_t arm_correlation_distance_f32(float32_t *pA,float32_t *pB, uint32_t blockSize) in arm_correlation_distance_f32() argument
58 arm_mean_f32(pA, blockSize, &ma); in arm_correlation_distance_f32()
61 arm_offset_f32(pA, -ma, pA, blockSize); in arm_correlation_distance_f32()
64 arm_power_f32(pA, blockSize, &pwra); in arm_correlation_distance_f32()
67 arm_dot_prod_f32(pA,pB,blockSize,&dot); in arm_correlation_distance_f32()
Darm_correlation_distance_f16.c66 float16_t arm_correlation_distance_f16(float16_t *pA,float16_t *pB, uint32_t blockSize) in arm_correlation_distance_f16() argument
70 arm_mean_f16(pA, blockSize, &ma); in arm_correlation_distance_f16()
73 arm_offset_f16(pA, -ma, pA, blockSize); in arm_correlation_distance_f16()
76 arm_power_f16(pA, blockSize, &pwra); in arm_correlation_distance_f16()
79 arm_dot_prod_f16(pA,pB,blockSize,&dot); in arm_correlation_distance_f16()
Darm_cityblock_distance_f16.c66 float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) in arm_cityblock_distance_f16() argument
75 a = vld1q(pA); in arm_cityblock_distance_f16()
81 pA += 8; in arm_cityblock_distance_f16()
94 a = vldrhq_z_f16(pA, p0); in arm_cityblock_distance_f16()
105 float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize) in arm_cityblock_distance_f16() argument
112 tmpA = *pA++; in arm_cityblock_distance_f16()
/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/
Darm_kullback_leibler_f32.c63 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()
Darm_kullback_leibler_f16.c77 _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()

1234