Home
last modified time | relevance | path

Searched full:indices (Results 1 – 25 of 1210) sorted by relevance

12345678910>>...49

/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dhierarchical_clustering_index.h104 * indices = indices in the dataset
105 * indices_length = length of indices vector
146 * indices = indices in the dataset
197 * indices = indices in the dataset
283 * indices = indices in the dataset
359 : dataset(inputData), params(index_params), root(NULL), indices(NULL), distance(d) in dataset()
389 indices = new int*[trees_]; in dataset()
393 indices[i] = NULL; in dataset()
413 if (indices!=NULL) { in ~HierarchicalClusteringIndex()
414 delete[] indices; in ~HierarchicalClusteringIndex()
[all …]
H A Dkmeans_index.h103 * indices = indices in the dataset
104 * indices_length = length of indices vector
107 …void chooseCentersRandom(int k, int* indices, int indices_length, int* centers, int& centers_lengt… in chooseCentersRandom() argument
123 centers[index] = indices[rnd]; in chooseCentersRandom()
145 * indices = indices in the dataset
148 …void chooseCentersGonzales(int k, int* indices, int indices_length, int* centers, int& centers_len… in chooseCentersGonzales() argument
155 centers[0] = indices[rnd]; in chooseCentersGonzales()
163 … DistanceType dist = distance_(dataset_[centers[0]],dataset_[indices[j]],dataset_.cols); in chooseCentersGonzales()
165 … DistanceType tmp_dist = distance_(dataset_[centers[i]],dataset_[indices[j]],dataset_.cols); in chooseCentersGonzales()
176 centers[index] = indices[best_index]; in chooseCentersGonzales()
[all …]
H A Dresult_set.h87 int* indices; variable
100 indices = indices_; in init()
124 if ( (dists[i-1]>dist) || ((dist==dists[i-1])&&(indices[i-1]>index)) ) in addPoint()
131 indices[i] = indices[i-1]; in addPoint()
138 indices[i] = index; in addPoint()
154 int* indices; variable
167 indices = indices_; in init()
191 if ( (dists[i-1]<=dist) && ((dist!=dists[i-1])||(indices[i-1]<=index)) ) in addPoint()
196 // Check for duplicate indices in addPoint()
199 if (indices[j] == index) { in addPoint()
[all …]
H A Dnn_index.h63 * \param[out] indices The indices of the nearest neighbors found
68 …virtual void knnSearch(const Matrix<ElementType>& queries, Matrix<int>& indices, Matrix<DistanceTy… in knnSearch() argument
71 assert(indices.rows >= queries.rows); in knnSearch()
73 assert(int(indices.cols) >= knn); in knnSearch()
79 resultSet.init(indices[i], dists[i]); in knnSearch()
87 if (get_param(params,"sorted",true)) resultSet.sortAndCopy(indices[i], dists[i], knn); in knnSearch()
88 else resultSet.copy(indices[i], dists[i], knn); in knnSearch()
96 * \param[out] indices The indinces of the neighbors found within the given radius
102 …virtual int radiusSearch(const Matrix<ElementType>& query, Matrix<int>& indices, Matrix<DistanceTy… in radiusSearch() argument
109 assert(indices.cols == dists.cols); in radiusSearch()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/
H A Dflann.hpp209 … @param indices Vector that will contain the indices of the K-nearest neighbors found. It must have
216 void knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices,
218 …void knnSearch(const Mat& queries, Mat& indices, Mat& dists, int knn, const ::cvflann::SearchParam…
220 int radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices,
222 int radiusSearch(const Mat& query, Mat& indices, Mat& dists,
271 …nce>::knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<Dist… in knnSearch() argument
274 ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); in knnSearch()
284 void GenericIndex<Distance>::knnSearch(const Mat& queries, Mat& indices, Mat& dists, int knn, const… in knnSearch() argument
290 CV_Assert(indices.type() == CV_32S); in knnSearch()
291 CV_Assert(indices.isContinuous()); in knnSearch()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmpcie.h170 * - Array of all H2D WR Indices
171 * - Array of all H2D RD Indices
172 * - Array of all D2H WR Indices
173 * - Array of all D2H RD Indices
210 * Macros for managing arrays of RD WR indices:
218 /** Offset of a RD or WR index in H2D or D2H indices array */
222 /** Fetch the address of RD or WR index in H2D or D2H indices array */
227 /** H2D DMA Indices array size: given max flow rings */
231 /** D2H DMA Indices array size */
263 /* 32bit ptr to arrays of WR or RD indices for all rings in dongle memory */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmpcie.h205 * - Array of all H2D WR Indices
206 * - Array of all H2D RD Indices
207 * - Array of all D2H WR Indices
208 * - Array of all D2H RD Indices
245 * Macros for managing arrays of RD WR indices:
253 /** Offset of a RD or WR index in H2D or D2H indices array */
257 /** Fetch the address of RD or WR index in H2D or D2H indices array */
262 /** H2D DMA Indices array size: given max flow rings */
266 /** D2H DMA Indices array size */
302 /* 32bit ptr to arrays of WR or RD indices for all rings in dongle memory */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmpcie.h205 * - Array of all H2D WR Indices
206 * - Array of all H2D RD Indices
207 * - Array of all D2H WR Indices
208 * - Array of all D2H RD Indices
245 * Macros for managing arrays of RD WR indices:
253 /** Offset of a RD or WR index in H2D or D2H indices array */
257 /** Fetch the address of RD or WR index in H2D or D2H indices array */
262 /** H2D DMA Indices array size: given max flow rings */
266 /** D2H DMA Indices array size */
302 /* 32bit ptr to arrays of WR or RD indices for all rings in dongle memory */
[all …]
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_ioctl.c20 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices() argument
30 indices[i++] = dev->ifindex; in get_bridge_ifindices()
159 int num, *indices; in old_dev_ioctl() local
169 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in old_dev_ioctl()
170 if (indices == NULL) in old_dev_ioctl()
173 get_port_ifindices(br, indices, num); in old_dev_ioctl()
174 if (copy_to_user((void __user *)args[1], indices, num*sizeof(int))) in old_dev_ioctl()
176 kfree(indices); in old_dev_ioctl()
312 int *indices; in old_deviceless() local
317 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless()
[all …]
/OK3568_Linux_fs/kernel/net/sched/
H A Dsch_dsmark.c30 * x:indices-1 indices use entry [indices-1]
32 * x:y y+1 use entry [y & (indices-1)]
34 * 0xffff 0x10000 use entry [indices-1]
50 u16 indices; member
59 return index <= p->indices && index > 0; in dsmark_valid_index()
177 for (i = 0; i < p->indices; i++) { in dsmark_walk()
303 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue()
346 u16 indices; in dsmark_init() local
366 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init()
368 if (hweight32(indices) != 1) in dsmark_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmpcie.h216 * - Array of all H2D WR Indices
217 * - Array of all H2D RD Indices
218 * - Array of all D2H WR Indices
219 * - Array of all D2H RD Indices
256 * Macros for managing arrays of RD WR indices:
264 /** Offset of a RD or WR index in H2D or D2H indices array */
268 /** Fetch the address of RD or WR index in H2D or D2H indices array */
273 /** H2D DMA Indices array size: given max flow rings */
277 /** D2H DMA Indices array size */
308 /* 32bit ptr to arrays of WR or RD indices for all rings in dongle memory */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmpcie.h216 * - Array of all H2D WR Indices
217 * - Array of all H2D RD Indices
218 * - Array of all D2H WR Indices
219 * - Array of all D2H RD Indices
256 * Macros for managing arrays of RD WR indices:
264 /** Offset of a RD or WR index in H2D or D2H indices array */
268 /** Fetch the address of RD or WR index in H2D or D2H indices array */
273 /** H2D DMA Indices array size: given max flow rings */
277 /** D2H DMA Indices array size */
308 /* 32bit ptr to arrays of WR or RD indices for all rings in dongle memory */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmpcie.h216 * - Array of all H2D WR Indices
217 * - Array of all H2D RD Indices
218 * - Array of all D2H WR Indices
219 * - Array of all D2H RD Indices
256 * Macros for managing arrays of RD WR indices:
264 /** Offset of a RD or WR index in H2D or D2H indices array */
268 /** Fetch the address of RD or WR index in H2D or D2H indices array */
273 /** H2D DMA Indices array size: given max flow rings */
277 /** D2H DMA Indices array size */
308 /* 32bit ptr to arrays of WR or RD indices for all rings in dongle memory */
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86cmap.c155 int *indices; in xf86HandleColormaps() local
167 if (!(indices = xallocarray(maxColors, sizeof(int)))) { in xf86HandleColormaps()
174 free(indices); in xf86HandleColormaps()
197 pScreenPriv->PreAllocIndices = indices; in xf86HandleColormaps()
364 int *indices = pScreenPriv->PreAllocIndices; in CMapStoreColors() local
393 if (indices[i] == index) in CMapStoreColors()
396 indices[num++] = index; in CMapStoreColors()
403 if (indices[i] == index) in CMapStoreColors()
406 indices[num++] = index; in CMapStoreColors()
413 if (indices[i] == index) in CMapStoreColors()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_bus.h168 /* DMA Indices array buffers for: H2D WR and RD, and D2H WR and RD */
169 H2D_DMA_INDX_WR_BUF, /* update H2D WR dma indices buf base addr to dongle */
170 H2D_DMA_INDX_RD_BUF, /* update H2D RD dma indices buf base addr to dongle */
171 D2H_DMA_INDX_WR_BUF, /* update D2H WR dma indices buf base addr to dongle */
172 D2H_DMA_INDX_RD_BUF, /* update D2H RD dma indices buf base addr to dongle */
174 /* DHD sets/gets WR or RD index, in host's H2D and D2H DMA indices buffer */
175 H2D_DMA_INDX_WR_UPD, /* update H2D WR index in H2D WR dma indices buf */
176 H2D_DMA_INDX_RD_UPD, /* update H2D RD index in H2D RD dma indices buf */
177 D2H_DMA_INDX_WR_UPD, /* update D2H WR index in D2H WR dma indices buf */
178 D2H_DMA_INDX_RD_UPD, /* update D2H RD index in D2H RD dma indices buf */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c38 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_dcb_sriov()
49 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_dcb_sriov()
65 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov()
69 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
77 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
157 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb()
205 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
206 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov()
229 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
230 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_bus.h157 /* DMA Indices array buffers for: H2D WR and RD, and D2H WR and RD */
158 H2D_DMA_INDX_WR_BUF, /* update H2D WR dma indices buf base addr to dongle */
159 H2D_DMA_INDX_RD_BUF, /* update H2D RD dma indices buf base addr to dongle */
160 D2H_DMA_INDX_WR_BUF, /* update D2H WR dma indices buf base addr to dongle */
161 D2H_DMA_INDX_RD_BUF, /* update D2H RD dma indices buf base addr to dongle */
163 /* DHD sets/gets WR or RD index, in host's H2D and D2H DMA indices buffer */
164 H2D_DMA_INDX_WR_UPD, /* update H2D WR index in H2D WR dma indices buf */
165 H2D_DMA_INDX_RD_UPD, /* update H2D RD index in H2D RD dma indices buf */
166 D2H_DMA_INDX_WR_UPD, /* update D2H WR index in D2H WR dma indices buf */
167 D2H_DMA_INDX_RD_UPD, /* update D2H RD index in D2H RD dma indices buf */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_bus.h157 /* DMA Indices array buffers for: H2D WR and RD, and D2H WR and RD */
158 H2D_DMA_INDX_WR_BUF, /* update H2D WR dma indices buf base addr to dongle */
159 H2D_DMA_INDX_RD_BUF, /* update H2D RD dma indices buf base addr to dongle */
160 D2H_DMA_INDX_WR_BUF, /* update D2H WR dma indices buf base addr to dongle */
161 D2H_DMA_INDX_RD_BUF, /* update D2H RD dma indices buf base addr to dongle */
163 /* DHD sets/gets WR or RD index, in host's H2D and D2H DMA indices buffer */
164 H2D_DMA_INDX_WR_UPD, /* update H2D WR index in H2D WR dma indices buf */
165 H2D_DMA_INDX_RD_UPD, /* update H2D RD index in H2D RD dma indices buf */
166 D2H_DMA_INDX_WR_UPD, /* update D2H WR index in D2H WR dma indices buf */
167 D2H_DMA_INDX_RD_UPD, /* update D2H RD index in D2H RD dma indices buf */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_bus.h157 /* DMA Indices array buffers for: H2D WR and RD, and D2H WR and RD */
158 H2D_DMA_INDX_WR_BUF, /* update H2D WR dma indices buf base addr to dongle */
159 H2D_DMA_INDX_RD_BUF, /* update H2D RD dma indices buf base addr to dongle */
160 D2H_DMA_INDX_WR_BUF, /* update D2H WR dma indices buf base addr to dongle */
161 D2H_DMA_INDX_RD_BUF, /* update D2H RD dma indices buf base addr to dongle */
163 /* DHD sets/gets WR or RD index, in host's H2D and D2H DMA indices buffer */
164 H2D_DMA_INDX_WR_UPD, /* update H2D WR index in H2D WR dma indices buf */
165 H2D_DMA_INDX_RD_UPD, /* update H2D RD index in H2D RD dma indices buf */
166 D2H_DMA_INDX_WR_UPD, /* update D2H WR index in D2H WR dma indices buf */
167 D2H_DMA_INDX_RD_UPD, /* update D2H RD index in D2H RD dma indices buf */
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/lpc10/
H A Dinvert.c27 /* Just added a few comments about which array indices of the arguments */
48 /* Indices (I,J) read, where ORDER .GE. I .GE. J .GE. 1.*/
49 /* All other indices untouched. */
51 /* Indices 1 through ORDER read. */
54 /* Indices 1 through ORDER written, and then possibly read.
58 /* Same indices written as read from PHI. */
59 /* Many indices may be read and written again after */
60 /* initially being copied from PHI, but all indices */
H A Dplacea.c44 /* Just added a few comments about which array indices of the arguments */
59 /* Indices (2,AF-2), (1,AF-1), (2,AF-1), (1,AF), and (2,AF) read.*/
60 /* All other indices untouched. */
64 /* Indices (1,AF) and (2,AF) read. */
65 /* All other indices untouched. */
71 /* Indices (1,AF) and (2,AF) written, and then read. */
72 /* All other indices untouched. */
79 /* Indices (1,AF) and (2,AF) written. */
80 /* All other indices untouched. */
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Dhillshade_bucket.cpp40 indexBuffer = context.createIndexBuffer(std::move(indices)); in upload()
50 indices.clear(); in clear()
64 // We want to render the full tile, and keeping the segments/vertices/indices empty means in setMask()
87 segments.emplace_back(vertices.vertexSize(), indices.indexSize()); in setMask()
105 indices.emplace_back(offset, offset + 1, offset + 2); in setMask()
106 indices.emplace_back(offset + 1, offset + 2, offset + 3); in setMask()
H A Draster_bucket.cpp29 indexBuffer = context.createIndexBuffer(std::move(indices)); in upload()
39 indices.clear(); in clear()
59 // We want to render the full tile, and keeping the segments/vertices/indices empty means in setMask()
82 segments.emplace_back(vertices.vertexSize(), indices.indexSize()); in setMask()
100 indices.emplace_back(offset, offset + 1, offset + 2); in setMask()
101 indices.emplace_back(offset + 1, offset + 2, offset + 3); in setMask()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_bus.h162 /* DMA Indices array buffers for: H2D WR and RD, and D2H WR and RD */
163 H2D_DMA_INDX_WR_BUF, /* update H2D WR dma indices buf base addr to dongle */
164 H2D_DMA_INDX_RD_BUF, /* update H2D RD dma indices buf base addr to dongle */
165 D2H_DMA_INDX_WR_BUF, /* update D2H WR dma indices buf base addr to dongle */
166 D2H_DMA_INDX_RD_BUF, /* update D2H RD dma indices buf base addr to dongle */
168 /* DHD sets/gets WR or RD index, in host's H2D and D2H DMA indices buffer */
169 H2D_DMA_INDX_WR_UPD, /* update H2D WR index in H2D WR dma indices buf */
170 H2D_DMA_INDX_RD_UPD, /* update H2D RD index in H2D RD dma indices buf */
171 D2H_DMA_INDX_WR_UPD, /* update D2H WR index in D2H WR dma indices buf */
172 D2H_DMA_INDX_RD_UPD, /* update D2H RD index in D2H RD dma indices buf */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_bus.h164 /* DMA Indices array buffers for: H2D WR and RD, and D2H WR and RD */
165 H2D_DMA_INDX_WR_BUF, /* update H2D WR dma indices buf base addr to dongle */
166 H2D_DMA_INDX_RD_BUF, /* update H2D RD dma indices buf base addr to dongle */
167 D2H_DMA_INDX_WR_BUF, /* update D2H WR dma indices buf base addr to dongle */
168 D2H_DMA_INDX_RD_BUF, /* update D2H RD dma indices buf base addr to dongle */
170 /* DHD sets/gets WR or RD index, in host's H2D and D2H DMA indices buffer */
171 H2D_DMA_INDX_WR_UPD, /* update H2D WR index in H2D WR dma indices buf */
172 H2D_DMA_INDX_RD_UPD, /* update H2D RD index in H2D RD dma indices buf */
173 D2H_DMA_INDX_WR_UPD, /* update D2H WR index in D2H WR dma indices buf */
174 D2H_DMA_INDX_RD_UPD, /* update D2H RD index in D2H RD dma indices buf */
[all …]

12345678910>>...49