Home
last modified time | relevance | path

Searched refs:boxes (Results 1 – 25 of 120) sorted by relevance

12345

/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_compositerects.c55 pixman_box16_t stack_boxes[64], *boxes = stack_boxes; in _pixman_region_init_clipped_rectangles() local
60 boxes = xallocarray(num_rects, sizeof(pixman_box16_t)); in _pixman_region_init_clipped_rectangles()
61 if (boxes == NULL) in _pixman_region_init_clipped_rectangles()
66 boxes[j].x1 = rects[i].x + tx; in _pixman_region_init_clipped_rectangles()
67 if (boxes[j].x1 < extents->x1) in _pixman_region_init_clipped_rectangles()
68 boxes[j].x1 = extents->x1; in _pixman_region_init_clipped_rectangles()
70 boxes[j].y1 = rects[i].y + ty; in _pixman_region_init_clipped_rectangles()
71 if (boxes[j].y1 < extents->y1) in _pixman_region_init_clipped_rectangles()
72 boxes[j].y1 = extents->y1; in _pixman_region_init_clipped_rectangles()
74 boxes[j].x2 = bound(rects[i].x + tx, rects[i].width); in _pixman_region_init_clipped_rectangles()
[all …]
H A Dglamor_transfer.c52 BoxPtr boxes = in_boxes; in glamor_upload_boxes() local
60 int x1 = MAX(boxes->x1 + dx_dst, box->x1); in glamor_upload_boxes()
61 int x2 = MIN(boxes->x2 + dx_dst, box->x2); in glamor_upload_boxes()
62 int y1 = MAX(boxes->y1 + dy_dst, box->y1); in glamor_upload_boxes()
63 int y2 = MIN(boxes->y2 + dy_dst, box->y2); in glamor_upload_boxes()
68 boxes++; in glamor_upload_boxes()
151 BoxPtr boxes = in_boxes; in glamor_download_boxes() local
161 int x1 = MAX(boxes->x1 + dx_src, box->x1); in glamor_download_boxes()
162 int x2 = MIN(boxes->x2 + dx_src, box->x2); in glamor_download_boxes()
163 int y1 = MAX(boxes->y1 + dy_src, box->y1); in glamor_download_boxes()
[all …]
/OK3568_Linux_fs/external/rknn-toolkit2/examples/onnx/yolov5/
H A Dtest.py72 def filter_boxes(boxes, box_confidences, box_class_probs): argument
85 boxes = boxes.reshape(-1, 4)
90 boxes = boxes[_box_pos]
98 boxes = boxes[_class_pos]
102 return boxes, classes, scores
105 def nms_boxes(boxes, scores): argument
115 x = boxes[:, 0]
116 y = boxes[:, 1]
117 w = boxes[:, 2] - boxes[:, 0]
118 h = boxes[:, 3] - boxes[:, 1]
[all …]
/OK3568_Linux_fs/external/rknn-toolkit2/examples/darknet/yolov3_416x416/
H A Dyolov3_utils.py51 def filter_boxes(boxes, box_confidences, box_class_probs): argument
69 boxes = boxes[pos]
73 return boxes, classes, scores
75 def nms_boxes(boxes, scores): argument
85 x = boxes[:, 0]
86 y = boxes[:, 1]
87 w = boxes[:, 2]
88 h = boxes[:, 3]
122 boxes, classes, scores = [], [], []
126 boxes.append(b)
[all …]
H A Dtest.py89 boxes, classes, scores = yolov3_post_process(input_data) variable
92 if boxes is not None:
93 draw(image, boxes, scores, classes)
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/java/com/rockchip/gpadc/demo/yolo/
H A DInferenceWrapper.java85 mDetectResults.boxes = new float[4 * OBJ_NUMB_MAX_SIZE]; in postProcess()
95 mDetectResults.ids, mDetectResults.scores, mDetectResults.boxes); in postProcess()
108 rect.left = mDetectResults.boxes[i*4+0]; in postProcess()
109 rect.top = mDetectResults.boxes[i*4+1]; in postProcess()
110 rect.right = mDetectResults.boxes[i*4+2]; in postProcess()
111 rect.bottom = mDetectResults.boxes[i*4+3]; in postProcess()
133 int[] ids, float[] scores, float[] boxes); in native_post_process() argument
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/within/
H A Dmulti_point.hpp189 box_pair_vector boxes(count2); in apply() local
192 geometry::envelope(linear_or_areal, boxes[i].first, envelope_strategy); in apply()
193 geometry::detail::expand_by_epsilon(boxes[i].first); in apply()
194 boxes[i].second = i; in apply()
198 index::rtree<box_pair_type, index::rstar<4> > rtree(boxes.begin(), boxes.end()); in apply()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/savage/
H A Dsavage_state.c806 const struct drm_clip_rect *boxes) in savage_dispatch_clear() argument
835 x = boxes[i].x1, y = boxes[i].y1; in savage_dispatch_clear()
836 w = boxes[i].x2 - boxes[i].x1; in savage_dispatch_clear()
837 h = boxes[i].y2 - boxes[i].y1; in savage_dispatch_clear()
875 unsigned int nbox, const struct drm_clip_rect *boxes) in savage_dispatch_swap() argument
893 DMA_WRITE(BCI_X_Y(boxes[i].x1, boxes[i].y1)); in savage_dispatch_swap()
894 DMA_WRITE(BCI_X_Y(boxes[i].x1, boxes[i].y1)); in savage_dispatch_swap()
895 DMA_WRITE(BCI_W_H(boxes[i].x2 - boxes[i].x1, in savage_dispatch_swap()
896 boxes[i].y2 - boxes[i].y1)); in savage_dispatch_swap()
910 const struct drm_clip_rect *boxes) in savage_dispatch_draw() argument
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcollision_index.cpp78 CollisionBox& box = feature.boxes.front(); in placeFeature()
145 for (size_t i = 0; i < feature.boxes.size(); i++) { in placeLineFeature()
146 CollisionBox& circle = feature.boxes[i]; in placeLineFeature()
163 const CollisionBox& previousCircle = feature.boxes[i - 1]; in placeLineFeature()
174 const bool atLeastOneMoreCircle = (i + 1) < feature.boxes.size(); in placeLineFeature()
176 const CollisionBox& nextCircle = feature.boxes[i + 1]; in placeLineFeature()
224 for (auto& circle : feature.boxes) { in insertFeature()
236 assert(feature.boxes.size() == 1); in insertFeature()
237 auto& box = feature.boxes[0]; in insertFeature()
H A Dcollision_feature.cpp38 boxes.emplace_back(anchor.point, Point<float>{ 0, 0 }, x1, y1, x2, y2); in CollisionFeature()
136boxes.emplace_back(boxAnchor, boxAnchor - convertPoint<float>(anchorPoint), -boxSize / 2, -boxSize… in bboxifyLabel()
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/mc/files/
H A D0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch13 src/filemanager/boxes.c | 2 ++
71 diff --git a/src/filemanager/boxes.c b/src/filemanager/boxes.c
73 --- a/src/filemanager/boxes.c
74 +++ b/src/filemanager/boxes.c
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/relate/
H A Dmulti_point_geometry.hpp353 std::vector<box_pair_type> const& boxes, in apply() argument
363 >::apply(multi_point, boxes, visitor, in apply()
389 std::vector<box_pair_type> const& boxes, in apply()
394 index::rtree<box_pair_type, index::rstar<4> > rt(boxes.begin(), boxes.end()); in apply()
468 std::vector<box_pair_type> boxes(count2); in apply() local
471 geometry::envelope(range::at(multi_geometry, i), boxes[i].first, envelope_strategy); in apply()
472 geometry::detail::expand_by_epsilon(boxes[i].first); in apply()
473 boxes[i].second = i; in apply()
487 ::apply(multi_point, multi_geometry, boxes, tc, result, strategy); in apply()
492 ::apply(multi_point, multi_geometry, boxes, tc, result, strategy); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/envelope/
H A Drange.hpp150 std::vector<Box> boxes; in apply() local
159 boxes.push_back(helper_box); in apply()
168 if (! boxes.empty()) in apply()
170 envelope_range_of_boxes::apply(boxes, mbr, strategy); in apply()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/r128/
H A Dr128_state.c47 struct drm_clip_rect *boxes, int count) in r128_emit_clip_rects() argument
57 OUT_RING(boxes[0].x1); in r128_emit_clip_rects()
58 OUT_RING(boxes[0].x2 - 1); in r128_emit_clip_rects()
59 OUT_RING(boxes[0].y1); in r128_emit_clip_rects()
60 OUT_RING(boxes[0].y2 - 1); in r128_emit_clip_rects()
66 OUT_RING(boxes[1].x1); in r128_emit_clip_rects()
67 OUT_RING(boxes[1].x2 - 1); in r128_emit_clip_rects()
68 OUT_RING(boxes[1].y1); in r128_emit_clip_rects()
69 OUT_RING(boxes[1].y2 - 1); in r128_emit_clip_rects()
75 OUT_RING(boxes[2].x1); in r128_emit_clip_rects()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/events/intel/
H A Duncore.c113 return dieid < uncore_max_dies() ? pmu->boxes[dieid] : NULL; in uncore_pmu_to_box()
888 kfree(pmu->boxes[die]); in uncore_free_boxes()
889 kfree(pmu->boxes); in uncore_free_boxes()
934 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init()
935 if (!pmus[i].boxes) in uncore_type_init()
974 kfree(pmus[i].boxes); in uncore_type_init()
1060 if (WARN_ON_ONCE(pmu->boxes[die] != NULL)) in uncore_pci_pmu_register()
1079 pmu->boxes[die] = box; in uncore_pci_pmu_register()
1086 pmu->boxes[die] = NULL; in uncore_pci_pmu_register()
1137 pci_set_drvdata(pdev, pmu->boxes[die]); in uncore_pci_probe()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/
H A Dyolo_image.cc355 int *ids, float *scores, float *boxes) { in yolo_post_process() argument
375 memset(boxes, 0, sizeof(float) * OBJ_NUMB_MAX_SIZE * BOX_LEN); in yolo_post_process()
381 *(boxes+4*i+0) = detect_result_group.results[i].box.left; in yolo_post_process()
382 *(boxes+4*i+1) = detect_result_group.results[i].box.top; in yolo_post_process()
383 *(boxes+4*i+2) = detect_result_group.results[i].box.right; in yolo_post_process()
384 *(boxes+4*i+3) = detect_result_group.results[i].box.bottom; in yolo_post_process()
H A Dpost_process.cc144 … std::vector<float> &boxes, std::vector<float> &objProbs, std::vector<int> &classId, in process() argument
188 boxes.push_back(box_x); in process()
189 boxes.push_back(box_y); in process()
190 boxes.push_back(box_w); in process()
191 boxes.push_back(box_h); in process()
H A Dnative-lib.cc82 jfloatArray boxes) { in Java_com_rockchip_gpadc_demo_yolo_InferenceWrapper_native_1post_1process() argument
93 jfloat* const y2 = env->GetFloatArrayElements(boxes, &outputCopy); in Java_com_rockchip_gpadc_demo_yolo_InferenceWrapper_native_1post_1process()
103 env->ReleaseFloatArrayElements(boxes, y2, 0); in Java_com_rockchip_gpadc_demo_yolo_InferenceWrapper_native_1post_1process()
/OK3568_Linux_fs/buildroot/package/dialog/
H A DConfig.in7 dialog - display dialog boxes from shell scripts
10 different types of dialog boxes from shell scripts. This
/OK3568_Linux_fs/yocto/poky/documentation/
H A Dstandards.md81 ### Text boxes
83 Text boxes are rectangle boxes, with rounded corners, and contain centered text
86 See `template.svg` for example boxes with different colors, which are ready
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/src/
H A Dpostprocess.cc190 …std::vector<float>& boxes, std::vector<float>& objProbs, std::vector<int>& classId, float threshol… in process() argument
228 boxes.push_back(box_x); in process()
229 boxes.push_back(box_y); in process()
230 boxes.push_back(box_w); in process()
231 boxes.push_back(box_h); in process()
/OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/
H A Dpostprocess.cc208 … std::vector<float> &boxes, std::vector<float> &objProbs, std::vector<int> &classId, in process() argument
250 boxes.push_back(box_x); in process()
251 boxes.push_back(box_y); in process()
252 boxes.push_back(box_w); in process()
253 boxes.push_back(box_h); in process()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/disjoint/
H A Dmultipoint_geometry.hpp382 std::vector<box_pair_type> boxes(count2); in apply() local
385 geometry::envelope(range::at(multi_geometry, i), boxes[i].first, envelope_strategy); in apply()
386 geometry::detail::expand_by_epsilon(boxes[i].first); in apply()
387 boxes[i].second = i; in apply()
395 >::apply(multi_point, boxes, visitor, in apply()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/dialog/
H A Ddialog_1.3-20210509.bb1 SUMMARY = "display dialog boxes from shell scripts"
3 or display messages using dialog boxes from a shell \
/OK3568_Linux_fs/external/xserver/mi/
H A Dmibitblt.c90 BoxPtr boxes; in miCopyArea() local
138 boxes = RegionRects(prgnSrcClip); in miCopyArea()
169 y = boxes[i].y1; /* band has this y coordinate */ in miCopyArea()
170 while ((j < numRects) && (boxes[j].y1 == y)) in miCopyArea()
183 y = boxes[i].y1; /* band has this y coordinate */ in miCopyArea()
184 while ((j >= 0) && (boxes[j].y1 == y)) in miCopyArea()
201 prect = &boxes[ordering[i]]; in miCopyArea()

12345