Home
last modified time | relevance | path

Searched refs:blockSize (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/
Darm_var_f32.c68 uint32_t blockSize, in arm_var_f32() argument
78 if (blockSize <= 1U) { in arm_var_f32()
83 arm_mean_f32(pSrc, blockSize, &fMean); in arm_var_f32()
86 blkCnt = blockSize >> 2U; in arm_var_f32()
106 blkCnt = blockSize & 0x3; in arm_var_f32()
117 *pResult = sum / (float32_t) (blockSize - 1); in arm_var_f32()
123 uint32_t blockSize, in arm_var_f32() argument
137 arm_mean_f32(pSrc,blockSize,&mean); in arm_var_f32()
140 blkCnt = blockSize >> 2U; in arm_var_f32()
162 blkCnt = blockSize % 0x4U; in arm_var_f32()
[all …]
Darm_var_q31.c63 uint32_t blockSize, in arm_var_q31() argument
73 if (blockSize <= 1U) { in arm_var_q31()
80 blkCnt = blockSize >> 2U; in arm_var_q31()
101 blkCnt = blockSize & 0x3; in arm_var_q31()
119 meanOfSquares = sumOfSquares / (q63_t) (blockSize - 1U); in arm_var_q31()
122 squareOfMean = sum * sum / (q63_t) (blockSize * (blockSize - 1U)); in arm_var_q31()
130 uint32_t blockSize, in arm_var_q31() argument
139 if (blockSize <= 1U) in arm_var_q31()
148 blkCnt = blockSize >> 2U; in arm_var_q31()
178 blkCnt = blockSize % 0x4U; in arm_var_q31()
[all …]
Darm_var_q15.c60 uint32_t blockSize, in arm_var_q15() argument
70 if (blockSize <= 1U) { in arm_var_q15()
76 blkCnt = blockSize >> 3; in arm_var_q15()
92 blkCnt = blockSize & 7; in arm_var_q15()
114 meanOfSquares = arm_div_q63_to_q31(sumOfSquares, (blockSize - 1U)); in arm_var_q15()
117 squareOfMean = arm_div_q63_to_q31((q63_t)sum * sum, (q31_t)(blockSize * (blockSize - 1U))); in arm_var_q15()
125 uint32_t blockSize, in arm_var_q15() argument
138 if (blockSize <= 1U) in arm_var_q15()
147 blkCnt = blockSize >> 2U; in arm_var_q15()
189 blkCnt = blockSize % 0x4U; in arm_var_q15()
[all …]
Darm_mean_f32.c66 uint32_t blockSize, in arm_mean_f32() argument
75 blkCnt = blockSize >> 2U; in arm_mean_f32()
88 blkCnt = blockSize & 0x3; in arm_mean_f32()
99 *pResult = sum / (float32_t) blockSize; in arm_mean_f32()
107 uint32_t blockSize, in arm_mean_f32() argument
118 blkCnt = blockSize >> 2U; in arm_mean_f32()
138 blkCnt = blockSize & 3; in arm_mean_f32()
151 *pResult = sum / (float32_t) blockSize; in arm_mean_f32()
156 uint32_t blockSize, in arm_mean_f32() argument
165 blkCnt = blockSize >> 2U; in arm_mean_f32()
[all …]
Darm_rms_f32.c64 uint32_t blockSize, in arm_rms_f32() argument
69 arm_power_f32(pSrc, blockSize, &pow); in arm_rms_f32()
72 arm_sqrt_f32(pow / (float32_t) blockSize, pResult); in arm_rms_f32()
78 uint32_t blockSize, in arm_rms_f32() argument
89 blkCnt = blockSize >> 2U; in arm_rms_f32()
110 blkCnt = blockSize % 0x4U; in arm_rms_f32()
124 arm_sqrt_f32(sum / (float32_t) blockSize, pResult); in arm_rms_f32()
129 uint32_t blockSize, in arm_rms_f32() argument
139 blkCnt = blockSize >> 2U; in arm_rms_f32()
163 blkCnt = blockSize % 0x4U; in arm_rms_f32()
[all …]
Darm_max_f32.c63 uint32_t blockSize, in arm_max_f32() argument
71 uint32_t idx = blockSize; in arm_max_f32()
83 blkCnt = blockSize >> 2U; in arm_max_f32()
111 indexVec = vpselq(curExtremIdxVec, vdupq_n_u32(blockSize), p0); in arm_max_f32()
118 blkCnt = blockSize & 0x3; in arm_max_f32()
130 idx = blockSize - blkCnt; in arm_max_f32()
148 uint32_t blockSize, in arm_max_f32() argument
178 if (blockSize <= 3) in arm_max_f32()
182 blkCnt = blockSize - 1; in arm_max_f32()
194 outIndex = blockSize - blkCnt; in arm_max_f32()
[all …]
Darm_logsumexp_f32.c67 float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) in arm_logsumexp_f32() argument
76 arm_max_no_idx_f32((float32_t *) in, blockSize, &maxVal); in arm_logsumexp_f32()
79 blkCnt = blockSize; in arm_logsumexp_f32()
84 blkCnt = blockSize >> 2; in arm_logsumexp_f32()
105 blkCnt = blockSize & 0x3; in arm_logsumexp_f32()
123 float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) in arm_logsumexp_f32() argument
139 blkCnt = blockSize; in arm_logsumexp_f32()
141 if (blockSize <= 3) in arm_logsumexp_f32()
161 blkCnt = (blockSize - 4) >> 2; in arm_logsumexp_f32()
178 blkCnt = (blockSize - 4) & 3; in arm_logsumexp_f32()
[all …]
Darm_min_f32.c66 uint32_t blockSize, in arm_min_f32() argument
75 uint32_t idx = blockSize; in arm_min_f32()
86 blkCnt = blockSize >> 2U; in arm_min_f32()
114 indexVec = vpselq(curExtremIdxVec, vdupq_n_u32(blockSize), p0); in arm_min_f32()
123 blkCnt = blockSize & 0x3; in arm_min_f32()
135 idx = blockSize - blkCnt; in arm_min_f32()
150 uint32_t blockSize, in arm_min_f32() argument
178 if (blockSize <= 3) in arm_min_f32()
182 blkCnt = blockSize - 1; in arm_min_f32()
194 outIndex = blockSize - blkCnt; in arm_min_f32()
[all …]
Darm_std_q31.c63 uint32_t blockSize, in arm_std_q31() argument
68 arm_var_q31(pSrc, blockSize, &var); in arm_std_q31()
74 uint32_t blockSize, in arm_std_q31() argument
83 if (blockSize <= 1U) in arm_std_q31()
92 blkCnt = blockSize >> 2U; in arm_std_q31()
122 blkCnt = blockSize % 0x4U; in arm_std_q31()
127 blkCnt = blockSize; in arm_std_q31()
147 meanOfSquares = (sumOfSquares / (q63_t)(blockSize - 1U)); in arm_std_q31()
150 squareOfMean = ( sum * sum / (q63_t)(blockSize * (blockSize - 1U))); in arm_std_q31()
Darm_mean_q31.c58 uint32_t blockSize, in arm_mean_q31() argument
67 blkCnt = blockSize >> 2U; in arm_mean_q31()
82 blkCnt = blockSize & 0x3; in arm_mean_q31()
91 *pResult = arm_div_q63_to_q31(sum, blockSize); in arm_mean_q31()
96 uint32_t blockSize, in arm_mean_q31() argument
105 blkCnt = blockSize >> 2U; in arm_mean_q31()
123 blkCnt = blockSize % 0x4U; in arm_mean_q31()
128 blkCnt = blockSize; in arm_mean_q31()
143 *pResult = (q31_t) (sum / blockSize); in arm_mean_q31()
Darm_mean_q7.c60 uint32_t blockSize, in arm_mean_q7() argument
68 blkCnt = blockSize >> 4; in arm_mean_q7()
81 blkCnt = blockSize & 0xF; in arm_mean_q7()
93 *pResult = (q7_t) (sum / (int32_t) blockSize); in arm_mean_q7()
98 uint32_t blockSize, in arm_mean_q7() argument
111 blkCnt = blockSize >> 2U; in arm_mean_q7()
127 blkCnt = blockSize % 0x4U; in arm_mean_q7()
132 blkCnt = blockSize; in arm_mean_q7()
147 *pResult = (q7_t) (sum / (int32_t) blockSize); in arm_mean_q7()
Darm_min_q7.c55 uint8_t blockSize, in arm_small_blk_min_q7() argument
63 uint32_t idx = blockSize; in arm_small_blk_min_q7()
72 blkCnt = blockSize >> 4; in arm_small_blk_min_q7()
100 indexVec = vpselq(curExtremIdxVec, vdupq_n_u8(blockSize), p0); in arm_small_blk_min_q7()
106 blkCnt = blockSize & 0xF; in arm_small_blk_min_q7()
117 idx = blockSize - blkCnt; in arm_small_blk_min_q7()
132 uint32_t blockSize, in arm_min_q7() argument
136 int32_t totalSize = blockSize; in arm_min_q7()
140 arm_small_blk_min_q7(pSrc, blockSize, pResult, pIndex); in arm_min_q7()
186 uint32_t blockSize, in arm_min_q7() argument
[all …]
Darm_max_q7.c54 uint8_t blockSize, in arm_small_blk_max_q7() argument
62 uint32_t idx = blockSize; in arm_small_blk_max_q7()
71 blkCnt = blockSize >> 4; in arm_small_blk_max_q7()
100 indexVec = vpselq(curExtremIdxVec, vdupq_n_u8(blockSize), p0); in arm_small_blk_max_q7()
109 blkCnt = blockSize & 0xF; in arm_small_blk_max_q7()
121 idx = blockSize - blkCnt; in arm_small_blk_max_q7()
136 uint32_t blockSize, in arm_max_q7() argument
140 int32_t totalSize = blockSize; in arm_max_q7()
144 arm_small_blk_max_q7(pSrc, blockSize, pResult, pIndex); in arm_max_q7()
190 uint32_t blockSize, in arm_max_q7() argument
[all …]
Darm_mean_q15.c59 uint32_t blockSize, in arm_mean_q15() argument
67 blkCnt = blockSize >> 3U; in arm_mean_q15()
81 blkCnt = blockSize & 0x7; in arm_mean_q15()
94 *pResult = (q15_t) (sum / (int32_t) blockSize); in arm_mean_q15()
99 uint32_t blockSize, in arm_mean_q15() argument
112 blkCnt = blockSize >> 2U; in arm_mean_q15()
130 blkCnt = blockSize % 0x4U; in arm_mean_q15()
135 blkCnt = blockSize; in arm_mean_q15()
150 *pResult = (q15_t) (sum / (int32_t) blockSize); in arm_mean_q15()
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_fir_sparse_f32.c115 uint32_t blockSize) in arm_fir_sparse_f32() argument
124 uint32_t delaySize = S->maxDelay + blockSize; /* state length */ in arm_fir_sparse_f32()
133 …rm_circularWrite_f32((int32_t *) py, delaySize, &S->stateIndex, 1, (int32_t *) pSrc, 1, blockSize); in arm_fir_sparse_f32()
136 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_f32()
149 (int32_t *) pb, (int32_t *) pb, blockSize, 1, blockSize); in arm_fir_sparse_f32()
161 blkCnt = blockSize >> 2U; in arm_fir_sparse_f32()
179 blkCnt = blockSize % 0x4U; in arm_fir_sparse_f32()
184 blkCnt = blockSize; in arm_fir_sparse_f32()
202 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_f32()
220 (int32_t *) pb, (int32_t *) pb, blockSize, 1, blockSize); in arm_fir_sparse_f32()
[all …]
Darm_fir_sparse_q31.c62 uint32_t blockSize) in arm_fir_sparse_q31() argument
71 uint32_t delaySize = S->maxDelay + blockSize; /* state length */ in arm_fir_sparse_q31()
83 (int32_t *) pSrc, 1, blockSize); in arm_fir_sparse_q31()
86 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_q31()
99 (int32_t *) pb, (int32_t *) pb, blockSize, 1, blockSize); in arm_fir_sparse_q31()
111 blkCnt = blockSize >> 2U; in arm_fir_sparse_q31()
129 blkCnt = blockSize % 0x4U; in arm_fir_sparse_q31()
134 blkCnt = blockSize; in arm_fir_sparse_q31()
152 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_q31()
170 (int32_t *) pb, (int32_t *) pb, blockSize, 1, blockSize); in arm_fir_sparse_q31()
[all …]
Darm_fir_sparse_q15.c65 uint32_t blockSize) in arm_fir_sparse_q15() argument
74 uint32_t delaySize = S->maxDelay + blockSize; /* state length */ in arm_fir_sparse_q15()
87 arm_circularWrite_q15(py, (int32_t) delaySize, &S->stateIndex, 1,pSrc, 1, blockSize); in arm_fir_sparse_q15()
93 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_q15()
106 pb, pb, (int32_t) blockSize, 1, blockSize); in arm_fir_sparse_q15()
118 blkCnt = blockSize >> 2U; in arm_fir_sparse_q15()
133 blkCnt = blockSize % 0x4U; in arm_fir_sparse_q15()
138 blkCnt = blockSize; in arm_fir_sparse_q15()
156 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_q15()
174 pb, pb, (int32_t) blockSize, 1, blockSize); in arm_fir_sparse_q15()
[all …]
Darm_fir_sparse_q7.c65 uint32_t blockSize) in arm_fir_sparse_q7() argument
74 uint32_t delaySize = S->maxDelay + blockSize; /* state length */ in arm_fir_sparse_q7()
88 arm_circularWrite_q7(py, (int32_t) delaySize, &S->stateIndex, 1, pSrc, 1, blockSize); in arm_fir_sparse_q7()
94 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_q7()
107 pb, pb, (int32_t) blockSize, 1, blockSize); in arm_fir_sparse_q7()
119 blkCnt = blockSize >> 2U; in arm_fir_sparse_q7()
134 blkCnt = blockSize % 0x4U; in arm_fir_sparse_q7()
139 blkCnt = blockSize; in arm_fir_sparse_q7()
157 readIndex = (int32_t) (S->stateIndex - blockSize) - *pTapDelay++; in arm_fir_sparse_q7()
175 pb, pb, (int32_t) blockSize, 1, blockSize); in arm_fir_sparse_q7()
[all …]
/third_party/gptfdisk/
Ddiskio-windows.cc129 DWORD blockSize = 0, retBytes; in GetBlockSize() local
140 blockSize = geom.Geometry.BytesPerSector; in GetBlockSize()
142 blockSize = SECTOR_SIZE; in GetBlockSize()
146 return (blockSize); in GetBlockSize()
225 int blockSize = 512, i, numBlocks; in Read() local
236 blockSize = GetBlockSize(); in Read()
237 if (numBytes <= blockSize) { in Read()
239 tempSpace = new char [blockSize]; in Read()
241 numBlocks = numBytes / blockSize; in Read()
242 if ((numBytes % blockSize) != 0) in Read()
[all …]
Ddiskio-unix.cc152 int err = -1, blockSize = 0; in GetBlockSize() local
164 err = ioctl(fd, DKIOCGETBLOCKSIZE, &blockSize); in GetBlockSize()
169 blockSize = minfo.dki_lbsize; in GetBlockSize()
172 err = ioctl(fd, DIOCGSECTORSIZE, &blockSize); in GetBlockSize()
175 err = ioctl(fd, BLKSSZGET, &blockSize); in GetBlockSize()
179 blockSize = SECTOR_SIZE; in GetBlockSize()
192 return (blockSize); in GetBlockSize()
334 int blockSize, numBlocks, retval = 0; in Read() local
344 blockSize = GetBlockSize(); in Read()
345 if (numBytes <= blockSize) { in Read()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/DistanceFunctions/
Darm_correlation_distance_f32.c52 float32_t arm_correlation_distance_f32(float32_t *pA,float32_t *pB, uint32_t blockSize) in arm_correlation_distance_f32() argument
56 arm_mean_f32(pA, blockSize, &ma); in arm_correlation_distance_f32()
57 arm_mean_f32(pB, blockSize, &mb); in arm_correlation_distance_f32()
59 arm_offset_f32(pA, -ma, pA, blockSize); in arm_correlation_distance_f32()
60 arm_offset_f32(pB, -mb, pB, blockSize); in arm_correlation_distance_f32()
62 arm_power_f32(pA, blockSize, &pwra); in arm_correlation_distance_f32()
63 arm_power_f32(pB, blockSize, &pwrb); in arm_correlation_distance_f32()
65 arm_dot_prod_f32(pA,pB,blockSize,&dot); in arm_correlation_distance_f32()
67 dot = dot / blockSize; in arm_correlation_distance_f32()
68 pwra = pwra / blockSize; in arm_correlation_distance_f32()
[all …]
Darm_chebyshev_distance_f32.c53 float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_chebyshev_distance_f32() argument
61 blkCnt = blockSize >> 2; in arm_chebyshev_distance_f32()
80 blkCnt = blockSize & 3; in arm_chebyshev_distance_f32()
104 float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize) in arm_chebyshev_distance_f32() argument
111 if (blockSize <= 3) in arm_chebyshev_distance_f32()
117 blockSize--; in arm_chebyshev_distance_f32()
119 while(blockSize > 0) in arm_chebyshev_distance_f32()
128 blockSize --; in arm_chebyshev_distance_f32()
141 blockSize -= 4; in arm_chebyshev_distance_f32()
146 blkCnt = blockSize >> 2; in arm_chebyshev_distance_f32()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_fill_f32.c63 uint32_t blockSize) in arm_fill_f32() argument
66 blkCnt = blockSize >> 2U; in arm_fill_f32()
81 blkCnt = blockSize & 3; in arm_fill_f32()
100 uint32_t blockSize) in arm_fill_f32() argument
107 blkCnt = blockSize >> 2U; in arm_fill_f32()
124 blkCnt = blockSize & 3; in arm_fill_f32()
140 uint32_t blockSize) in arm_fill_f32() argument
147 blkCnt = blockSize >> 2U; in arm_fill_f32()
164 blkCnt = blockSize % 0x4U; in arm_fill_f32()
169 blkCnt = blockSize; in arm_fill_f32()
Darm_copy_f32.c64 uint32_t blockSize) in arm_copy_f32() argument
67 blkCnt = blockSize >> 2U; in arm_copy_f32()
82 blkCnt = blockSize & 3; in arm_copy_f32()
102 uint32_t blockSize) in arm_copy_f32() argument
108 blkCnt = blockSize >> 2U; in arm_copy_f32()
127 blkCnt = blockSize & 3; in arm_copy_f32()
143 uint32_t blockSize) in arm_copy_f32() argument
150 blkCnt = blockSize >> 2U; in arm_copy_f32()
167 blkCnt = blockSize % 0x4U; in arm_copy_f32()
172 blkCnt = blockSize; in arm_copy_f32()
Darm_q31_to_float.c61 uint32_t blockSize) in arm_q31_to_float() argument
68 blkCnt = blockSize >> 2; in arm_q31_to_float()
86 blkCnt = blockSize & 3; in arm_q31_to_float()
104 uint32_t blockSize) in arm_q31_to_float() argument
112 blkCnt = blockSize >> 2U; in arm_q31_to_float()
134 blkCnt = blockSize & 3; in arm_q31_to_float()
151 uint32_t blockSize) in arm_q31_to_float() argument
159 blkCnt = blockSize >> 2U; in arm_q31_to_float()
176 blkCnt = blockSize % 0x4U; in arm_q31_to_float()
181 blkCnt = blockSize; in arm_q31_to_float()

12345678910>>...12