Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 25 of 193) sorted by relevance

12345678

/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/dnn/
H A Dshape_utils.hpp119 static inline MatShape shape(const int* dims, const int n) in shape() function
121 MatShape shape; in shape() local
122 shape.assign(dims, dims + n); in shape()
123 return shape; in shape()
126 static inline MatShape shape(const Mat& mat) in shape() function
128 return shape(mat.size.p, mat.dims); in shape()
131 static inline MatShape shape(const MatSize& sz) in shape() function
133 return shape(sz.p, sz.dims()); in shape()
136 static inline MatShape shape(const UMat& mat) in shape() function
138 return shape(mat.size.p, mat.dims); in shape()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/cnpy/
H A Dcnpy.h32 : shape(_shape) in NpyArray()
38 for (size_t i = 0; i < shape.size(); i++) in NpyArray()
39 num_vals *= shape[i]; in NpyArray()
44 : shape(0) in NpyArray()
72 std::vector<size_t> shape; member
84 std::vector<char> create_npy_header(const std::vector<size_t>& shape);
85 void parse_npy_header(FILE* fp, size_t& word_size, std::vector<size_t>& shape, bool& f…
87 void parse_npy_header(unsigned char* buffer, size_t& word_size, std::vector<size_t>& shape, boo…
111 int npy_save(std::string fname, const T* data, const std::vector<size_t> shape, std::string mode = …
137 if (true_data_shape.size() != shape.size()) {
[all …]
H A Dcnpy.cpp91 void cnpy::parse_npy_header(unsigned char* buffer, size_t& word_size, std::vector<size_t>& shape, b… in parse_npy_header() argument
114 shape.clear(); in parse_npy_header()
118 shape.push_back(std::stoi(sm[0].str())); in parse_npy_header()
145 void cnpy::parse_npy_header(FILE* fp, size_t& word_size, std::vector<size_t>& shape, bool& fortran_… in parse_npy_header() argument
174 shape.clear(); in parse_npy_header()
178 shape.push_back(std::stoi(sm[0].str())); in parse_npy_header()
233 std::vector<size_t> shape; in load_the_npy_file() local
237 cnpy::parse_npy_header(fp, word_size, shape, fortran_order, typeName); in load_the_npy_file()
239 cnpy::NpyArray arr(shape, word_size, fortran_order, typeName); in load_the_npy_file()
274 std::vector<size_t> shape; in load_the_npz_array() local
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/cnpy/
H A Dcnpy.h32 : shape(_shape) in NpyArray()
38 for (size_t i = 0; i < shape.size(); i++) in NpyArray()
39 num_vals *= shape[i]; in NpyArray()
44 : shape(0) in NpyArray()
72 std::vector<size_t> shape; member
84 std::vector<char> create_npy_header(const std::vector<size_t>& shape);
85 void parse_npy_header(FILE* fp, size_t& word_size, std::vector<size_t>& shape, bool& f…
87 void parse_npy_header(unsigned char* buffer, size_t& word_size, std::vector<size_t>& shape, boo…
111 int npy_save(std::string fname, const T* data, const std::vector<size_t> shape, std::string mode = …
137 if (true_data_shape.size() != shape.size()) {
[all …]
H A Dcnpy.cpp91 void cnpy::parse_npy_header(unsigned char* buffer, size_t& word_size, std::vector<size_t>& shape, b… in parse_npy_header() argument
114 shape.clear(); in parse_npy_header()
118 shape.push_back(std::stoi(sm[0].str())); in parse_npy_header()
145 void cnpy::parse_npy_header(FILE* fp, size_t& word_size, std::vector<size_t>& shape, bool& fortran_… in parse_npy_header() argument
174 shape.clear(); in parse_npy_header()
178 shape.push_back(std::stoi(sm[0].str())); in parse_npy_header()
233 std::vector<size_t> shape; in load_the_npy_file() local
237 cnpy::parse_npy_header(fp, word_size, shape, fortran_order, typeName); in load_the_npy_file()
239 cnpy::NpyArray arr(shape, word_size, fortran_order, typeName); in load_the_npy_file()
274 std::vector<size_t> shape; in load_the_npz_array() local
[all …]
/OK3568_Linux_fs/u-boot/drivers/demo/
H A Ddemo-shape.c33 static const struct shape { in shape_hello() struct
43 struct shape shape; in shape_hello() local
57 shape = shapes[index]; in shape_hello()
62 inside = pos >= shape.start && pos < shape.end; in shape_hello()
74 shape.start += shape.dstart; in shape_hello()
75 shape.end += shape.dend; in shape_hello()
76 if (shape.start < 0) { in shape_hello()
77 shape.dstart = -shape.dstart; in shape_hello()
78 shape.dend = -shape.dend; in shape_hello()
79 shape.start += shape.dstart; in shape_hello()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/media/
H A Dimx6q-sabresd.dot3 …n00000001 [label="{{<port0> 0} | ipu1_csi0\n/dev/v4l-subdev0 | {<port1> 1 | <port2> 2}}", shape=Mr…
7 n00000005 [label="ipu1_csi0 capture\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
8 …n0000000b [label="{{<port0> 0 | <port1> 1} | ipu1_vdic\n/dev/v4l-subdev1 | {<port2> 2}}", shape=Mr…
10 …n0000000f [label="{{<port0> 0} | ipu1_ic_prp\n/dev/v4l-subdev2 | {<port1> 1 | <port2> 2}}", shape=…
13 …n00000013 [label="{{<port0> 0} | ipu1_ic_prpenc\n/dev/v4l-subdev3 | {<port1> 1}}", shape=Mrecord, …
15 n00000016 [label="ipu1_ic_prpenc capture\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
16 …n0000001c [label="{{<port0> 0} | ipu1_ic_prpvf\n/dev/v4l-subdev4 | {<port1> 1}}", shape=Mrecord, s…
18 n0000001f [label="ipu1_ic_prpvf capture\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
19 …n0000002f [label="{{<port0> 0} | ipu1_csi1\n/dev/v4l-subdev5 | {<port1> 1 | <port2> 2}}", shape=Mr…
23 n00000033 [label="ipu1_csi1 capture\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
[all …]
H A Dimx6q-sabreauto.dot3 …n00000001 [label="{{<port0> 0} | ipu1_csi0\n/dev/v4l-subdev0 | {<port1> 1 | <port2> 2}}", shape=Mr…
7 n00000005 [label="ipu1_csi0 capture\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
8 …n0000000b [label="{{<port0> 0 | <port1> 1} | ipu1_vdic\n/dev/v4l-subdev1 | {<port2> 2}}", shape=Mr…
10 …n0000000f [label="{{<port0> 0} | ipu1_ic_prp\n/dev/v4l-subdev2 | {<port1> 1 | <port2> 2}}", shape=…
13 …n00000013 [label="{{<port0> 0} | ipu1_ic_prpenc\n/dev/v4l-subdev3 | {<port1> 1}}", shape=Mrecord, …
15 n00000016 [label="ipu1_ic_prpenc capture\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
16 …n0000001c [label="{{<port0> 0} | ipu1_ic_prpvf\n/dev/v4l-subdev4 | {<port1> 1}}", shape=Mrecord, s…
18 n0000001f [label="ipu1_ic_prpvf capture\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
19 …n0000002f [label="{{<port0> 0} | ipu1_csi1\n/dev/v4l-subdev5 | {<port1> 1 | <port2> 2}}", shape=Mr…
23 n00000033 [label="ipu1_csi1 capture\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
[all …]
H A Dqcom_camss_8x96_graph.dot5 …n00000001 [label="{{<port0> 0} | msm_csiphy0\n/dev/v4l-subdev0 | {<port1> 1}}", shape=Mrecord, sty…
10 …n00000004 [label="{{<port0> 0} | msm_csiphy1\n/dev/v4l-subdev1 | {<port1> 1}}", shape=Mrecord, sty…
15 …n00000007 [label="{{<port0> 0} | msm_csiphy2\n/dev/v4l-subdev2 | {<port1> 1}}", shape=Mrecord, sty…
20 …n0000000a [label="{{<port0> 0} | msm_csid0\n/dev/v4l-subdev3 | {<port1> 1}}", shape=Mrecord, style…
25 …n0000000d [label="{{<port0> 0} | msm_csid1\n/dev/v4l-subdev4 | {<port1> 1}}", shape=Mrecord, style…
30 …n00000010 [label="{{<port0> 0} | msm_csid2\n/dev/v4l-subdev5 | {<port1> 1}}", shape=Mrecord, style…
35 …n00000013 [label="{{<port0> 0} | msm_csid3\n/dev/v4l-subdev6 | {<port1> 1}}", shape=Mrecord, style…
40 …n00000016 [label="{{<port0> 0} | msm_ispif0\n/dev/v4l-subdev7 | {<port1> 1}}", shape=Mrecord, styl…
49 …n00000019 [label="{{<port0> 0} | msm_ispif1\n/dev/v4l-subdev8 | {<port1> 1}}", shape=Mrecord, styl…
58 …n0000001c [label="{{<port0> 0} | msm_ispif2\n/dev/v4l-subdev9 | {<port1> 1}}", shape=Mrecord, styl…
[all …]
H A Dqcom_camss_graph.dot5 …n00000001 [label="{{<port0> 0} | msm_csiphy0\n/dev/v4l-subdev0 | {<port1> 1}}", shape=Mrecord, sty…
8 …n00000004 [label="{{<port0> 0} | msm_csiphy1\n/dev/v4l-subdev1 | {<port1> 1}}", shape=Mrecord, sty…
11 …n00000007 [label="{{<port0> 0} | msm_csid0\n/dev/v4l-subdev2 | {<port1> 1}}", shape=Mrecord, style…
14 …n0000000a [label="{{<port0> 0} | msm_csid1\n/dev/v4l-subdev3 | {<port1> 1}}", shape=Mrecord, style…
17 …n0000000d [label="{{<port0> 0} | msm_ispif0\n/dev/v4l-subdev4 | {<port1> 1}}", shape=Mrecord, styl…
22 …n00000010 [label="{{<port0> 0} | msm_ispif1\n/dev/v4l-subdev5 | {<port1> 1}}", shape=Mrecord, styl…
27 …n00000013 [label="{{<port0> 0} | msm_vfe0_rdi0\n/dev/v4l-subdev6 | {<port1> 1}}", shape=Mrecord, s…
29 n00000016 [label="msm_vfe0_video0\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
30 …n0000001c [label="{{<port0> 0} | msm_vfe0_rdi1\n/dev/v4l-subdev7 | {<port1> 1}}", shape=Mrecord, s…
32 n0000001f [label="msm_vfe0_video1\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
[all …]
H A Dvimc.dot5 …n00000001 [label="{{} | Sensor A\n/dev/v4l-subdev0 | {<port0> 0}}", shape=Mrecord, style=filled, f…
8 …n00000003 [label="{{} | Sensor B\n/dev/v4l-subdev1 | {<port0> 0}}", shape=Mrecord, style=filled, f…
11 …n00000005 [label="{{<port0> 0} | Debayer A\n/dev/v4l-subdev2 | {<port1> 1}}", shape=Mrecord, style…
13 …n00000008 [label="{{<port0> 0} | Debayer B\n/dev/v4l-subdev3 | {<port1> 1}}", shape=Mrecord, style…
15 n0000000b [label="Raw Capture 0\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
16 n0000000f [label="Raw Capture 1\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
17 n00000013 [label="RGB/YUV Input\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
19 …n00000017 [label="{{<port0> 0} | Scaler\n/dev/v4l-subdev4 | {<port1> 1}}", shape=Mrecord, style=fi…
21 n0000001a [label="RGB/YUV Capture\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
H A Drkisp1.dot3 … | <port1> 1} | rkisp1_isp\n/dev/v4l-subdev0 | {<port2> 2 | <port3> 3}}", shape=Mrecord, style=fil…
7 …n00000006 [label="{{<port0> 0} | rkisp1_resizer_mainpath\n/dev/v4l-subdev1 | {<port1> 1}}", shape=…
9 …n00000009 [label="{{<port0> 0} | rkisp1_resizer_selfpath\n/dev/v4l-subdev2 | {<port1> 1}}", shape=…
11 n0000000c [label="rkisp1_mainpath\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
12 n00000010 [label="rkisp1_selfpath\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
13 n00000014 [label="rkisp1_stats\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
14 n00000018 [label="rkisp1_params\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
16 …n0000001c [label="{{} | imx219 4-0010\n/dev/v4l-subdev3 | {<port0> 0}}", shape=Mrecord, style=fill…
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeoshape.cpp336 QDebug operator<<(QDebug dbg, const QGeoShape &shape) in operator <<() argument
340 switch (shape.type()) { in operator <<()
364 QDataStream &operator<<(QDataStream &stream, const QGeoShape &shape) in operator <<() argument
366 stream << quint32(shape.type()); in operator <<()
367 switch (shape.type()) { in operator <<()
371 QGeoRectangle r = shape; in operator <<()
376 QGeoCircle c = shape; in operator <<()
381 QGeoPath p = shape; in operator <<()
388 QGeoPolygon p = shape; in operator <<()
399 QDataStream &operator>>(QDataStream &stream, QGeoShape &shape) in operator >>() argument
[all …]
H A Dqgeoareamonitorinfo.cpp95 shape = other.shape; in QGeoAreaMonitorInfoPrivate()
104 QGeoShape shape; member in QGeoAreaMonitorInfoPrivate
155 d->shape == other.d->shape && in operator ==()
206 return (!d->name.isEmpty() && !d->shape.isEmpty()); in isValid()
216 return d->shape; in area()
226 d->shape = newShape; in setArea()
345 QGeoShape shape; in operator >>() local
346 ds >> shape; in operator >>()
347 monitor.setArea(shape); in operator >>()
/OK3568_Linux_fs/kernel/Documentation/gpu/dp-mst/
H A Dtopology-figure-1.dot38 driver [label="DRM driver";style=filled;shape=box;fillcolor=lightblue];
40 payload1 [label="Payload #1";style=filled;shape=box;fillcolor=lightblue];
41 payload2 [label="Payload #2";style=filled;shape=box;fillcolor=lightblue];
43 mstb1 [label="MSTB #1";style=filled;fillcolor=palegreen;shape=oval];
44 mstb2 [label="MSTB #2";style=filled;fillcolor=palegreen;shape=oval];
45 mstb3 [label="MSTB #3";style=filled;fillcolor=palegreen;shape=oval];
46 mstb4 [label="MSTB #4";style=filled;fillcolor=palegreen;shape=oval];
48 port1 [label="Port #1";shape=oval];
49 port2 [label="Port #2";shape=oval];
50 port3 [label="Port #3";shape=oval];
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/docs/
H A Dpolicy_operation_diagram.dot25 node [ shape = box ];
28 low_queue [ shape=record label = "LowP | {<ql>ctx_lo | ... | <qm>ctx_i | ... | <qr>ctx_hi}" ];
29 queues_middle_sep [ label="" shape=plaintext width=0 height=0 ];
31 rt_queue [ shape=record label = "RT | {<ql>ctx_lo | ... | <qm>ctx_j | ... | <qr>ctx_hi}" ];
36 call_enqueue [ shape=plaintext label="enqueue_ctx()" ];
41 call_dequeue [ shape=plaintext label="dequeue_head_ctx()\n+ runpool_add_ctx()" ];
42 call_ctxfinish [ shape=plaintext label="runpool_remove_ctx()" ];
44 call_ctxdone [ shape=plaintext label="don't requeue;\n/* ctx has no more jobs */" ];
59 call_jdequeue [ shape=plaintext label="dequeue_job()" ];
60 sstop_dotfixup [ shape=plaintext label="" width=0 height=0 ];
[all …]
/OK3568_Linux_fs/external/xserver/xkb/
H A DXKBGAlloc.c207 XkbFreeGeomOutlines(XkbShapePtr shape, int first, int count, Bool freeAll) in XkbFreeGeomOutlines() argument
210 &shape->num_outlines, &shape->sz_outlines, in XkbFreeGeomOutlines()
211 (char **) &shape->outlines, in XkbFreeGeomOutlines()
222 XkbShapePtr shape = (XkbShapePtr) shape_in; in _XkbClearShape() local
224 if (shape->outlines) in _XkbClearShape()
225 XkbFreeGeomOutlines(shape, 0, shape->num_outlines, TRUE); in _XkbClearShape()
635 XkbAddGeomOutline(XkbShapePtr shape, int sz_points) in XkbAddGeomOutline() argument
639 if ((!shape) || (sz_points < 0)) in XkbAddGeomOutline()
641 if ((shape->num_outlines >= shape->sz_outlines) && in XkbAddGeomOutline()
642 (_XkbAllocOutlines(shape, 1) != Success)) { in XkbAddGeomOutline()
[all …]
H A Dxkbout.c560 XkbShapePtr shape, in WriteXKBOutline() argument
573 if (shape != NULL) { in WriteXKBOutline()
577 if (shape) { in WriteXKBOutline()
578 if (outline == shape->approx) in WriteXKBOutline()
580 else if (outline == shape->primary) in WriteXKBOutline()
603 XkbShapePtr shape; in WriteXKBDoodad() local
618 if (doodad->shape.angle != 0) { in WriteXKBDoodad()
620 XkbGeomFPText(doodad->shape.angle, XkbXKBFile)); in WriteXKBDoodad()
622 if (doodad->shape.color_ndx != 0) { in WriteXKBDoodad()
624 XkbShapeDoodadColor(geom, &doodad->shape)->spec); in WriteXKBDoodad()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/positioning/
H A Dlocationsingleton.cpp119 QGeoShape LocationSingleton::shape() const in shape() function in LocationSingleton
319 QGeoCircle LocationSingleton::shapeToCircle(const QGeoShape &shape) const in shapeToCircle()
321 return QGeoCircle(shape); in shapeToCircle()
332 QGeoRectangle LocationSingleton::shapeToRectangle(const QGeoShape &shape) const in shapeToRectangle()
334 return QGeoRectangle(shape); in shapeToRectangle()
345 QGeoPath LocationSingleton::shapeToPath(const QGeoShape &shape) const in shapeToPath()
347 return QGeoPath(shape); in shapeToPath()
358 QGeoPolygon LocationSingleton::shapeToPolygon(const QGeoShape &shape) const in shapeToPolygon()
360 return QGeoPolygon(shape); in shapeToPolygon()
H A Dlocationsingleton.h77 Q_INVOKABLE QGeoShape shape() const;
96 Q_INVOKABLE QGeoCircle shapeToCircle(const QGeoShape &shape) const;
97 Q_INVOKABLE QGeoRectangle shapeToRectangle(const QGeoShape &shape) const;
98 Q_INVOKABLE QGeoPath shapeToPath(const QGeoShape &shape) const;
99 Q_INVOKABLE QGeoPolygon shapeToPolygon(const QGeoShape &shape) const;
/OK3568_Linux_fs/external/rknn-toolkit2/examples/onnx/yolov5/
H A Dtest.py47 grid_h, grid_w = map(int, input.shape[0:2])
87 box_class_probs = box_class_probs.reshape(-1, box_class_probs.shape[-1])
213 shape = im.shape[:2] # current shape [height, width]
218 r = min(new_shape[0] / shape[0], new_shape[1] / shape[1])
222 new_unpad = int(round(shape[1] * r)), int(round(shape[0] * r))
228 if shape[::-1] != new_unpad: # resize
298 input0_data = input0_data.reshape([3, -1]+list(input0_data.shape[-2:]))
299 input1_data = input1_data.reshape([3, -1]+list(input1_data.shape[-2:]))
300 input2_data = input2_data.reshape([3, -1]+list(input2_data.shape[-2:]))
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dpipeline.dot6 …scaler [label="{<scaler_0> 0} | Host\nScaler | {<scaler_1> 1} ", shape=Mrecord, style=filled, fill…
7 …frontend [label="{<frontend_0> 0} | Host\nFrontend | {<frontend_1> 1}", shape=Mrecord, style=fille…
8 sensor [label="Sensor | {<sensor_0> 0}", shape=Mrecord, style=filled, fillcolor=aquamarine]
9 io [label="{<io_0> 0} | V4L I/O", shape=Mrecord, style=filled, fillcolor=aquamarine]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/labs/
H A Dqmappolygonobject.cpp142 void QMapPolygonObjectPrivateDefault::setGeoShape(const QGeoShape &shape) in setGeoShape() argument
144 if (shape == m_path) in setGeoShape()
147 const QGeoPolygon poly(shape); in setGeoShape()
171 void QMapPolygonObjectPrivate::setGeoShape(const QGeoShape &shape) in setGeoShape() argument
173 if (shape == geoShape()) in setGeoShape()
176 const QGeoPolygon poly(shape); in setGeoShape()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/core/
H A Dtileblit.c97 cursor.shape = FB_TILE_CURSOR_NONE; in tile_cursor()
100 cursor.shape = FB_TILE_CURSOR_UNDERLINE; in tile_cursor()
103 cursor.shape = FB_TILE_CURSOR_LOWER_THIRD; in tile_cursor()
106 cursor.shape = FB_TILE_CURSOR_LOWER_HALF; in tile_cursor()
109 cursor.shape = FB_TILE_CURSOR_TWO_THIRDS; in tile_cursor()
113 cursor.shape = FB_TILE_CURSOR_BLOCK; in tile_cursor()
/OK3568_Linux_fs/external/rknn-toolkit2/examples/darknet/yolov3_416x416/
H A Dyolov3_utils.py25 grid_h, grid_w = map(int, input.shape[0:2])
170 x *= image.shape[1]
171 y *= image.shape[0]
172 w *= image.shape[1]
173 h *= image.shape[0]
176 right = min(image.shape[1], np.floor(x + w + 0.5).astype(int))
177 bottom = min(image.shape[0], np.floor(y + h + 0.5).astype(int))

12345678