Home
last modified time | relevance | path

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

12345678910>>...24

/external/mp4parser/isoparser/src/main/resources/
Disoparser-default.properties1 hint=com.coremedia.iso.boxes.TrackReferenceTypeBox(type)
2 cdsc=com.coremedia.iso.boxes.TrackReferenceTypeBox(type)
3 meta-ilst=com.coremedia.iso.boxes.apple.AppleItemListBox()
4 -----name=com.coremedia.iso.boxes.apple.AppleNameBox()
5 -----mean=com.coremedia.iso.boxes.apple.AppleMeanBox()
6 -----data=com.coremedia.iso.boxes.apple.AppleDataBox()
7 rmra=com.coremedia.iso.boxes.apple.AppleReferenceMovieBox()
8 rmda=com.coremedia.iso.boxes.apple.AppleReferenceMovieDescriptorBox()
9 rmdr=com.coremedia.iso.boxes.apple.AppleDataRateBox()
10 rdrf=com.coremedia.iso.boxes.apple.AppleDataReferenceBox()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Dnon_max_suppression_test.cc31 void InitializeCandidates(std::vector<float>* boxes, std::vector<float>* scores, in InitializeCandidates() argument
34 *boxes = { in InitializeCandidates()
43 *boxes = { in InitializeCandidates()
68 std::vector<float> boxes(1); in TEST() local
80 boxes.data(), /**num_boxes=**/ 0, scores.data(), max_output_size, in TEST()
88 std::vector<float> boxes(kNumBoxes * 4); in TEST() local
91 boxes[i * 4 + 0] = 0; in TEST()
92 boxes[i * 4 + 1] = 0; in TEST()
93 boxes[i * 4 + 2] = 1; in TEST()
94 boxes[i * 4 + 3] = 1; in TEST()
[all …]
/external/ComputeLibrary/src/core/CL/kernels/
DCLBoundingBoxTransformKernel.cpp44 Status validate_arguments(const ITensorInfo *boxes, const ITensorInfo *pred_boxes, const ITensorInf… in validate_arguments() argument
46 ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(boxes, pred_boxes, deltas); in validate_arguments()
47 ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED(boxes); in validate_arguments()
48 …ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN(boxes, DataType::QASYMM16, DataType::F32, DataType::F… in validate_arguments()
50 ARM_COMPUTE_RETURN_ERROR_ON(deltas->tensor_shape()[1] != boxes->tensor_shape()[1]); in validate_arguments()
52 ARM_COMPUTE_RETURN_ERROR_ON(boxes->tensor_shape()[0] != 4); in validate_arguments()
54 ARM_COMPUTE_RETURN_ERROR_ON(boxes->num_dimensions() > 2); in validate_arguments()
56 const bool is_qasymm16 = boxes->data_type() == DataType::QASYMM16; in validate_arguments()
59 const UniformQuantizationInfo boxes_qinfo = boxes->quantization_info().uniform(); in validate_arguments()
66 ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(boxes, deltas); in validate_arguments()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DSampleTableBox.java17 package com.coremedia.iso.boxes;
44 for (Box box : boxes) { in getSampleDescriptionBox()
53 for (Box box : boxes) { in getSampleSizeBox()
62 for (Box box : boxes) { in getSampleToChunkBox()
71 for (Box box : boxes) { in getChunkOffsetBox()
80 for (int i = 0; i < boxes.size(); i++) { in setChunkOffsetBox()
81 Box box = boxes.get(i); in setChunkOffsetBox()
83 boxes.set(i, b); in setChunkOffsetBox()
89 for (Box box : boxes) { in getTimeToSampleBox()
98 for (Box box : boxes) { in getSyncSampleBox()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
DFullContainerBox.java20 import com.coremedia.iso.boxes.Box;
21 import com.coremedia.iso.boxes.ContainerBox;
37 protected List<Box> boxes = new LinkedList<Box>(); field in FullContainerBox
41 public void setBoxes(List<Box> boxes) { in setBoxes() argument
42 this.boxes = new LinkedList<Box>(boxes); in setBoxes()
53 for (Box boxe : boxes) { //clazz.isInstance(boxe) / clazz == boxe.getClass()? in getBoxes()
69 for (Box boxe : boxes) { in getContentSize()
77 boxes.add(b); in addBox()
82 boxes.remove(b); in removeBox()
90 return boxes; in getBoxes()
[all …]
DAbstractContainerBox.java20 import com.coremedia.iso.boxes.Box;
21 import com.coremedia.iso.boxes.ContainerBox;
41 protected List<Box> boxes = new LinkedList<Box>(); field in AbstractContainerBox
47 for (Box boxe : boxes) { in getContentSize()
58 return Collections.unmodifiableList(boxes); in getBoxes()
61 public void setBoxes(List<Box> boxes) { in setBoxes() argument
62 this.boxes = new LinkedList<Box>(boxes); in setBoxes()
73 for (Box boxe : boxes) { in getBoxes()
95 boxes.add(b); in addBox()
100 boxes.remove(b); in removeBox()
[all …]
/external/ComputeLibrary/tests/validation/fixtures/
DBoundingBoxTransformFixture.h45 std::vector<float> generate_deltas(std::vector<float> &boxes, const TensorShape &image_shape, size_… in generate_deltas() argument
56 const float ex_width = boxes[4 * i + 2] - boxes[4 * i] + 1.f; in generate_deltas()
57 const float ex_height = boxes[4 * i + 3] - boxes[4 * i + 1] + 1.f; in generate_deltas()
58 const float ex_ctr_x = boxes[4 * i] + 0.5f * ex_width; in generate_deltas()
59 const float ex_ctr_y = boxes[4 * i + 1] + 0.5f * ex_height; in generate_deltas()
81 std::vector<float> boxes(num_boxes * 4); in generate_boxes()
90 boxes[4 * i] = dist_x1(gen); in generate_boxes()
91 boxes[4 * i + 1] = dist_y1(gen); in generate_boxes()
92 boxes[4 * i + 2] = boxes[4 * i] + dist_w(gen) - 1; in generate_boxes()
93 boxes[4 * i + 3] = boxes[4 * i + 1] + dist_h(gen) - 1; in generate_boxes()
[all …]
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp298 auto boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in UNIX_ONLY_TEST() local
299 canvas.drawRects(SK_ColorRED, boxes); in UNIX_ONLY_TEST()
300 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
302 boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in UNIX_ONLY_TEST()
303 canvas.drawRects(SK_ColorGREEN, boxes); in UNIX_ONLY_TEST()
304 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
306 boxes = paragraph->getRectsForPlaceholders(); in UNIX_ONLY_TEST()
307 canvas.drawRects(SK_ColorRED, boxes); in UNIX_ONLY_TEST()
309 boxes = paragraph->getRectsForRange(4, 17, rect_height_style, rect_width_style); in UNIX_ONLY_TEST()
310 canvas.drawRects(SK_ColorBLUE, boxes); in UNIX_ONLY_TEST()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_NonMaxSuppressionV3.pbtxt4 name: "boxes"
13 score corresponding to each box (each row of boxes).
20 boxes to be selected by non max suppression.
27 boxes overlap too much with respect to IOU.
34 boxes based on score.
41 indices from the boxes tensor, where `M <= max_output_size`.
44 summary: "Greedily selects a subset of bounding boxes in descending order of score,"
46 pruning away boxes that have high intersection-over-union (IOU) overlap
47 with previously selected boxes. Bounding boxes with score less than
48 `score_threshold` are removed. Bounding boxes are supplied as
[all …]
Dapi_def_NonMaxSuppressionV4.pbtxt4 name: "boxes"
13 score corresponding to each box (each row of boxes).
20 boxes to be selected by non max suppression.
27 boxes overlap too much with respect to IOU.
34 boxes based on score.
48 indices from the boxes tensor, where `M <= max_output_size`.
58 summary: "Greedily selects a subset of bounding boxes in descending order of score,"
60 pruning away boxes that have high intersection-over-union (IOU) overlap
61 with previously selected boxes. Bounding boxes with score less than
62 `score_threshold` are removed. Bounding boxes are supplied as
[all …]
Dapi_def_CombinedNonMaxSuppression.pbtxt4 name: "boxes"
7 same boxes are used for all classes otherwise, if `q` is equal to number of
8 classes, class-specific boxes are used.
15 representing a single score corresponding to each box (each row of boxes).
22 boxes to be selected by non max suppression per class
28 An int32 scalar representing the maximum number of boxes retained over all
37 boxes overlap too much with respect to IOU.
44 boxes based on score.
50 If false, the output nmsed boxes, scores and classes
52 output nmsed boxes, scores and classes are padded to be of length
[all …]
Dapi_def_NonMaxSuppression.pbtxt4 name: "boxes"
13 score corresponding to each box (each row of boxes).
20 boxes to be selected by non max suppression.
27 indices from the boxes tensor, where `M <= max_output_size`.
33 A float representing the threshold for deciding whether boxes
37 summary: "Greedily selects a subset of bounding boxes in descending order of score,"
39 pruning away boxes that have high intersection-over-union (IOU) overlap
40 with previously selected boxes. Bounding boxes are supplied as
47 system result in the same boxes being selected by the algorithm.
49 collection of bounding boxes representing the selected boxes. The bounding
[all …]
Dapi_def_NonMaxSuppressionV2.pbtxt4 name: "boxes"
13 score corresponding to each box (each row of boxes).
20 boxes to be selected by non max suppression.
27 boxes overlap too much with respect to IOU.
34 indices from the boxes tensor, where `M <= max_output_size`.
37 summary: "Greedily selects a subset of bounding boxes in descending order of score,"
39 pruning away boxes that have high intersection-over-union (IOU) overlap
40 with previously selected boxes. Bounding boxes are supplied as
47 system result in the same boxes being selected by the algorithm.
50 collection of bounding boxes representing the selected boxes. The bounding
[all …]
Dapi_def_NonMaxSuppressionV5.pbtxt4 name: "boxes"
13 score corresponding to each box (each row of boxes).
20 boxes to be selected by non max suppression.
27 boxes overlap too much with respect to IOU.
34 boxes based on score.
56 indices from the boxes tensor, where `M <= max_output_size`.
75 summary: "Greedily selects a subset of bounding boxes in descending order of score,"
77 pruning away boxes that have high intersection-over-union (IOU) overlap
78 with previously selected boxes. Bounding boxes with score less than
79 `score_threshold` are removed. Bounding boxes are supplied as
[all …]
Dapi_def_NonMaxSuppressionWithOverlaps.pbtxt14 score corresponding to each box (each row of boxes).
21 boxes to be selected by non max suppression.
28 boxes overlap too.
35 boxes based on score.
42 indices from the boxes tensor, where `M <= max_output_size`.
45 summary: "Greedily selects a subset of bounding boxes in descending order of score,"
47 pruning away boxes that have high overlaps
48 with previously selected boxes. Bounding boxes with score less than
54 collection of bounding boxes representing the selected boxes. The bounding
60 selected_boxes = tf.gather(boxes, selected_indices)
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
DSampleEntry.java17 package com.coremedia.iso.boxes.sampleentry;
23 import com.coremedia.iso.boxes.Box;
24 import com.coremedia.iso.boxes.ContainerBox;
48 protected List<Box> boxes = new LinkedList<Box>(); field in SampleEntry
68 public void setBoxes(List<Box> boxes) { in setBoxes() argument
69 this.boxes = new LinkedList<Box>(boxes); in setBoxes()
74 boxes.add(b); in addBox()
79 return boxes.remove(b); in removeBox()
83 return boxes; in getBoxes()
89 for (Box boxe : boxes) { //clazz.isInstance(boxe) / clazz == boxe.getClass()? in getBoxes()
[all …]
/external/ComputeLibrary/tests/validation/reference/
DBoundingBoxTransform.cpp40 SimpleTensor<T> bounding_box_transform(const SimpleTensor<T> &boxes, const SimpleTensor<TDeltas> &d… in bounding_box_transform() argument
42 const DataType boxes_data_type = boxes.data_type(); in bounding_box_transform()
67 …const T width = (boxes[start_box + 2] / scale_before) - (boxes[start_box] / scale_before)… in bounding_box_transform()
68 …const T height = (boxes[start_box + 3] / scale_before) - (boxes[start_box + 1] / scale_bef… in bounding_box_transform()
69 const T ctr_x = (boxes[start_box] / scale_before) + T(0.5f) * width; in bounding_box_transform()
70 const T ctr_y = (boxes[start_box + 1] / scale_before) + T(0.5f) * height; in bounding_box_transform()
101 template SimpleTensor<float> bounding_box_transform(const SimpleTensor<float> &boxes, const SimpleT…
102 template SimpleTensor<half> bounding_box_transform(const SimpleTensor<half> &boxes, const SimpleTen…
105 SimpleTensor<uint16_t> bounding_box_transform(const SimpleTensor<uint16_t> &boxes, const SimpleTens… in bounding_box_transform() argument
107 SimpleTensor<float> boxes_tmp = convert_from_asymmetric(boxes); in bounding_box_transform()
[all …]
DCropResize.cpp160 SimpleTensor<float> crop_and_resize(const SimpleTensor<T> &src, const SimpleTensor<float> &boxes, S… in crop_and_resize() argument
166 const TensorShape out_shape(src.shape()[0], crop_size.x, crop_size.y, boxes.shape()[1]); in crop_and_resize()
171 for(uint32_t i = 0; i < boxes.shape()[1]; ++i) in crop_and_resize()
173 …Coordinates start = Coordinates(std::floor((*reinterpret_cast<const float *>(boxes(Coordinates(1, … in crop_and_resize()
174 …std::floor((*reinterpret_cast<const float *>(boxes(Coordinates(0, i)))) * (src.shape()[2] - 1) + 0… in crop_and_resize()
175 …Coordinates end = Coordinates(std::floor((*reinterpret_cast<const float *>(boxes(Coordinates(3, i)… in crop_and_resize()
176 …std::floor((*reinterpret_cast<const float *>(boxes(Coordinates(2, i)))) * (src.shape()[2] - 1) + 0… in crop_and_resize()
184 …rop_and_resize(const SimpleTensor<float> &src, const SimpleTensor<float> &boxes, SimpleTensor<int3…
186 …_and_resize(const SimpleTensor<uint16_t> &src, const SimpleTensor<float> &boxes, SimpleTensor<int3…
188 …_and_resize(const SimpleTensor<uint32_t> &src, const SimpleTensor<float> &boxes, SimpleTensor<int3…
[all …]
/external/tensorflow/tensorflow/core/kernels/image/
Dnon_max_suppression_op.cc71 const Tensor& boxes, int* num_boxes) { in ParseAndCheckBoxSizes() argument
73 OP_REQUIRES(context, boxes.dims() == 2, in ParseAndCheckBoxSizes()
75 "boxes must be 2-D", boxes.shape().DebugString(), in ParseAndCheckBoxSizes()
76 " (Shape must be rank 2 but is rank ", boxes.dims(), ")")); in ParseAndCheckBoxSizes()
77 *num_boxes = boxes.dim_size(0); in ParseAndCheckBoxSizes()
78 OP_REQUIRES(context, boxes.dim_size(1) == 4, in ParseAndCheckBoxSizes()
81 boxes.dim_size(1), ")")); in ParseAndCheckBoxSizes()
96 const Tensor& boxes, in ParseAndCheckCombinedNMSBoxSizes() argument
100 OP_REQUIRES(context, boxes.dims() == 4, in ParseAndCheckCombinedNMSBoxSizes()
102 boxes.shape().DebugString())); in ParseAndCheckCombinedNMSBoxSizes()
[all …]
/external/ComputeLibrary/src/core/CL/cl_kernels/
Dbounding_box_transform_quantized.cl31 …* -# -DDATA_TYPE= Tensor data type. Supported data types: QASYMM16 for boxes and pred_boxes, QASYM…
35 * -# -DBOX_FIELDS= Number of fields that are used to represent a box in boxes
37 …* @param[in] boxes_ptr Pointer to the boxes tensor. Supported data…
38 …* @param[in] boxes_stride_x Stride of the boxes tensor in X dimension (…
40 …* @param[in] boxes_stride_y Stride of the boxes tensor in Y dimension (…
44 …m[in] boxes_offset_first_element_in_bytes The offset of the first element in the boxes tensor
45 …* @param[out] pred_boxes_ptr Pointer to the predicted boxes. Supported d…
46 …* @param[in] pred_boxes_stride_x Stride of the predicted boxes in X dimensio…
48 …* @param[in] pred_boxes_stride_y Stride of the predicted boxes in Y dimensio…
50 …* @param[in] pred_boxes_stride_z Stride of the predicted boxes in Z dimensio…
[all …]
Dbounding_box_transform.cl35 * -# -DBOX_FIELDS= Number of fields that are used to represent a box in boxes
37 …* @param[in] boxes_ptr Pointer to the boxes tensor. Supported data…
38 …* @param[in] boxes_stride_x Stride of the boxes tensor in X dimension (…
40 …* @param[in] boxes_stride_y Stride of the boxes tensor in Y dimension (…
44 …m[in] boxes_offset_first_element_in_bytes The offset of the first element in the boxes tensor
45 …* @param[out] pred_boxes_ptr Pointer to the predicted boxes. Supported d…
46 …* @param[in] pred_boxes_stride_x Stride of the predicted boxes in X dimensio…
48 …* @param[in] pred_boxes_stride_y Stride of the predicted boxes in Y dimensio…
50 …* @param[in] pred_boxes_stride_z Stride of the predicted boxes in Z dimensio…
52 …n] pred_boxes_offset_first_element_in_bytes The offset of the first element in the predicted boxes
[all …]
/external/eigen/unsupported/Eigen/src/BVH/
DKdBVH.h98 boxes.clear();
114 boxes.reserve(n - 1);
129 inline Index getRootIndex() const { return (int)boxes.size() - 1; }
144 int numBoxes = static_cast<int>(boxes.size());
167 return boxes[index];
188boxes.push_back(objBoxes[objCenters[from].second].merged(objBoxes[objCenters[from + 1].second]));
197 int idx1 = (int)boxes.size() - 1;
198 boxes.push_back(boxes[idx1].merged(objBoxes[objCenters[mid].second]));
207 int idx1 = (int)boxes.size() - 1;
209 int idx2 = (int)boxes.size() - 1;
[all …]
/external/ComputeLibrary/src/core/NEON/kernels/
DNEBoundingBoxTransformKernel.cpp41 Status validate_arguments(const ITensorInfo *boxes, const ITensorInfo *pred_boxes, const ITensorInf… in validate_arguments() argument
43 ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(boxes, pred_boxes, deltas); in validate_arguments()
44 ARM_COMPUTE_RETURN_ERROR_ON_CPU_F16_UNSUPPORTED(boxes); in validate_arguments()
45 …ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN(boxes, DataType::QASYMM16, DataType::F32, DataType::F… in validate_arguments()
47 ARM_COMPUTE_RETURN_ERROR_ON(deltas->tensor_shape()[1] != boxes->tensor_shape()[1]); in validate_arguments()
49 ARM_COMPUTE_RETURN_ERROR_ON(boxes->tensor_shape()[0] != 4); in validate_arguments()
51 ARM_COMPUTE_RETURN_ERROR_ON(boxes->num_dimensions() > 2); in validate_arguments()
54 if(boxes->data_type() == DataType::QASYMM16) in validate_arguments()
63 ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(boxes, deltas); in validate_arguments()
88 void NEBoundingBoxTransformKernel::configure(const ITensor *boxes, ITensor *pred_boxes, const ITens… in configure() argument
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dimage_ops_test.py786 boxes = array_ops.placeholder(boxes_np.dtype, shape=boxes_np.shape)
794 boxes=boxes,
801 boxes: boxes_np,
824 boxes = array_ops.placeholder(boxes_np.dtype, shape=boxes_np.shape)
832 boxes=boxes,
839 boxes: boxes_np,
866 boxes = array_ops.placeholder(boxes_np.dtype, shape=boxes_np.shape)
874 boxes=boxes,
881 boxes: boxes_np,
909 boxes = array_ops.placeholder(boxes_np.dtype, shape=boxes_np.shape)
[all …]
/external/ComputeLibrary/src/runtime/CL/functions/
DCLBoundingBoxTransform.cpp31 void CLBoundingBoxTransform::configure(const ICLTensor *boxes, ICLTensor *pred_boxes, const ICLTens… in configure() argument
33 configure(CLKernelLibrary::get().get_compile_context(), boxes, pred_boxes, deltas, info); in configure()
36 …form::configure(const CLCompileContext &compile_context, const ICLTensor *boxes, ICLTensor *pred_b… in configure() argument
40 k->configure(compile_context, boxes, pred_boxes, deltas, info); in configure()
44 Status CLBoundingBoxTransform::validate(const ITensorInfo *boxes, const ITensorInfo *pred_boxes, co… in validate() argument
46 return CLBoundingBoxTransformKernel::validate(boxes, pred_boxes, deltas, info); in validate()

12345678910>>...24