Home
last modified time | relevance | path

Searched refs:corners (Results 1 – 25 of 107) sorted by relevance

12345

/external/libaom/libaom/third_party/fastfeat/
Dnonmax.c8 xy* nonmax_suppression(const xy* corners, const int* scores, int num_corners, int* ret_num_nonmax) in nonmax_suppression() argument
34 last_row = corners[num_corners-1].y; in nonmax_suppression()
43 if(corners[i].y != prev_row) in nonmax_suppression()
45 row_start[corners[i].y] = i; in nonmax_suppression()
46 prev_row = corners[i].y; in nonmax_suppression()
55 xy pos = corners[i]; in nonmax_suppression()
59 if(corners[i-1].x == pos.x-1 && corners[i-1].y == pos.y && Compare(scores[i-1], score)) in nonmax_suppression()
64 if(corners[i+1].x == pos.x+1 && corners[i+1].y == pos.y && Compare(scores[i+1], score)) in nonmax_suppression()
73 if(corners[point_above].y < pos.y - 1) in nonmax_suppression()
78 for(; corners[point_above].y < pos.y && corners[point_above].x < pos.x - 1; point_above++) in nonmax_suppression()
[all …]
Dfast.c8 xy* corners; in fast9_detect_nonmax() local
13 corners = fast9_detect(im, xsize, ysize, stride, b, &num_corners); in fast9_detect_nonmax()
14 scores = fast9_score(im, stride, corners, num_corners, b); in fast9_detect_nonmax()
15 nonmax = nonmax_suppression(corners, scores, num_corners, ret_num_corners); in fast9_detect_nonmax()
17 free(corners); in fast9_detect_nonmax()
Dfast.h12 int* fast9_score(const byte* i, int stride, xy* corners, int num_corners, int b);
16 xy* nonmax_suppression(const xy* corners, const int* scores, int num_corners, int* ret_num_nonmax);
DREADME.libvpx27 corners is returned as an array of xy structs, and an integer (numcorners)
28 with the number of corners returned. The data can be deallocated with free().
29 Nonmaximal suppression is performed on the corners. Note that the stride
/external/skqp/tools/lua/
Dclassify_rrect_clips.lua38 local corners = "corners"
42 corners = "adjacent_" .. corners
44 corners = "opposite_" .. corners
47 corners = "corner"
50 return "circles_with_" .. numSquare .. "_square_" .. corners
52 return "ovals_with_" .. numSquare .. "_square_" .. corners
/external/skia/tools/lua/
Dclassify_rrect_clips.lua38 local corners = "corners"
42 corners = "adjacent_" .. corners
44 corners = "opposite_" .. corners
47 corners = "corner"
50 return "circles_with_" .. numSquare .. "_square_" .. corners
52 return "ovals_with_" .. numSquare .. "_square_" .. corners
/external/deqp/modules/gles2/functional/
Des2fMultisampleTests.cpp678 Vec2 corners[4] = in iterate() local
696 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
697 corners[(1+quadNdx) % 4] + center, in iterate()
698 corners[(2+quadNdx) % 4] + center, in iterate()
703 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
704 corners[(2+quadNdx) % 4] + center, in iterate()
705 corners[(0+quadNdx) % 4] + center, in iterate()
710 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
711 corners[(2+quadNdx) % 4] + center, in iterate()
712 corners[(3+quadNdx) % 4] + center, in iterate()
[all …]
/external/deqp/modules/gles3/functional/
Des3fMultisampleTests.cpp840 Vec2 corners[4] = in iterate() local
858 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
859 corners[(1+quadNdx) % 4] + center, in iterate()
860 corners[(2+quadNdx) % 4] + center, in iterate()
865 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
866 corners[(2+quadNdx) % 4] + center, in iterate()
867 corners[(0+quadNdx) % 4] + center, in iterate()
872 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
873 corners[(2+quadNdx) % 4] + center, in iterate()
874 corners[(3+quadNdx) % 4] + center, in iterate()
[all …]
/external/skqp/gm/
Dbleed.cpp332 SkPoint corners[] = {{0, 0}, { 0, kBottom }, { kWidth, kBottom }, {kWidth, 0} }; in onDraw() local
333 matrices[matrices.count()-1].mapPoints(corners, 4); in onDraw()
334 SkScalar y = (corners[0].fY + corners[1].fY + corners[2].fY + corners[3].fY) / 4; in onDraw()
335 SkScalar x = SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw()
336 SkTMax(corners[2].fX, corners[3].fX)); in onDraw()
392 SkPoint corners[] = { { 0, 0 },{ 0, kBottom },{ kWidth, kBottom },{ kWidth, 0 } }; in onDraw() local
393 matrices[m].mapPoints(corners, 4); in onDraw()
394 SkScalar x = kBlockSize + SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw()
395 SkTMax(corners[2].fX, corners[3].fX)); in onDraw()
Dpatch.cpp39 SkPoint corners[4] = { bottom[0], bottom[3], top[0], top[3] }; in draw_control_points() local
53 canvas->drawPoints(SkCanvas::kPoints_PointMode, 4, corners, paint); in draw_control_points()
/external/skia/gm/
Dbleed.cpp332 SkPoint corners[] = {{0, 0}, { 0, kBottom }, { kWidth, kBottom }, {kWidth, 0} }; in onDraw() local
333 matrices[matrices.count()-1].mapPoints(corners, 4); in onDraw()
334 SkScalar y = (corners[0].fY + corners[1].fY + corners[2].fY + corners[3].fY) / 4; in onDraw()
335 SkScalar x = SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw()
336 SkTMax(corners[2].fX, corners[3].fX)); in onDraw()
392 SkPoint corners[] = { { 0, 0 },{ 0, kBottom },{ kWidth, kBottom },{ kWidth, 0 } }; in onDraw() local
393 matrices[m].mapPoints(corners, 4); in onDraw()
394 SkScalar x = kBlockSize + SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw()
395 SkTMax(corners[2].fX, corners[3].fX)); in onDraw()
Dpatch.cpp39 SkPoint corners[4] = { bottom[0], bottom[3], top[0], top[3] }; in draw_control_points() local
53 canvas->drawPoints(SkCanvas::kPoints_PointMode, 4, corners, paint); in draw_control_points()
/external/tensorflow/tensorflow/core/kernels/
Dnon_max_suppression_op_test.cc137 std::vector<float> corners(num_boxes * 4); in TEST_F() local
140 corners[i * 4 + 0] = 0; in TEST_F()
141 corners[i * 4 + 1] = 0; in TEST_F()
142 corners[i * 4 + 2] = 1; in TEST_F()
143 corners[i * 4 + 3] = 1; in TEST_F()
146 AddInputFromArray<float>(TensorShape({num_boxes, 4}), corners); in TEST_F()
296 std::vector<float> corners(num_boxes * 4); in TEST_F() local
299 corners[i * 4 + 0] = 0; in TEST_F()
300 corners[i * 4 + 1] = 0; in TEST_F()
301 corners[i * 4 + 2] = 1; in TEST_F()
[all …]
/external/eigen/test/
Dcorners.cpp16 template<typename MatrixType> void corners(const MatrixType& m) in corners() function
108 CALL_SUBTEST_1( corners(Matrix<float, 1, 1>()) ); in test_corners()
109 CALL_SUBTEST_2( corners(Matrix4d()) ); in test_corners()
110 CALL_SUBTEST_3( corners(Matrix<int,10,12>()) ); in test_corners()
111 CALL_SUBTEST_4( corners(MatrixXcf(5, 7)) ); in test_corners()
112 CALL_SUBTEST_5( corners(MatrixXf(21, 20)) ); in test_corners()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp321 } corners[] = in doesLineSegmentExitDiamond() local
330 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(corners); ++ndx) in doesLineSegmentExitDiamond()
332 const tcu::Vector<deInt64,2> p = diamondCenter + corners[ndx].dp; in doesLineSegmentExitDiamond()
341 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT) in doesLineSegmentExitDiamond()
345 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_FIRST_QUARTER && in doesLineSegmentExitDiamond()
350 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_SECOND_QUARTER && in doesLineSegmentExitDiamond()
356 if (lineInCornerAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
358 const bool startIsInside = corners[ndx].pointInclusive || p != line.m_v0; in doesLineSegmentExitDiamond()
359 const bool endIsOutside = !corners[ndx].pointInclusive || p != line.m_v1; in doesLineSegmentExitDiamond()
369 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION || in doesLineSegmentExitDiamond()
[all …]
/external/libxcam/modules/soft/
Dcv_capi_feature_match.cpp67 CvArr* image, std::vector<CvPoint2D32f> &corners) in add_detected_data() argument
75 corners.resize (found_num); in add_detected_data()
76 CvPoint2D32f* corner_points = &corners[0]; in add_detected_data()
82 …reMatch(idx:%d): detected corners:%d, reserved size:%d", _fm_idx, found_num, (int)corners.size ()); in add_detected_data()
84 if (found_num < (int)corners.size ()) in add_detected_data()
85 corners.resize (found_num); in add_detected_data()
/external/skia/docs/
DSkRRect_Reference.bmh80 The bounds and radii can be set so that SkRRect describes: a rectangle with sharp corners;
81 a Circle; an Oval; or a rectangle with one or more rounded corners.
83 SkRRect allows implementing CSS properties that describe rounded corners.
85 corners.
218 interior rectangle, four edges, and four corners.
593 #Line # sets Round_Rect bounds with zeroed corners ##
794 SkVector corners[] = {{15, 17}, {17, 19}, {19, 15}, {15, 15}};
795 rrect.setRectRadii({20, 20, 100, 100}, corners);
842 SkVector corners[] = {{25, 17}, {17, 19}, {19, 15}, {15, 15}};
843 rrect.setRectRadii({30, 10, 100, 60}, corners);
[all …]
DSkSurface_Reference.bmh901 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
902 Destination Rect corners are (0, 0) and (dst.width(), dst.height()).
960 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
961 Destination Rect corners are (0, 0) and (dstInfo.width(), dstInfo.height()).
995 readPixels copies one quarter of the Surface into each of the four corners.
1025 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
1026 Destination Rect corners are (0, 0) and (bitmap.width(), bitmap.height()).
1084 Source Rect corners are (0, 0) and (src.width(), src.height()).
1085 Destination Rect corners are (dstX, dstY) and
1122 Source Rect corners are (0, 0) and (src.width(), src.height()).
[all …]
/external/skqp/docs/
DSkRRect_Reference.bmh80 The bounds and radii can be set so that SkRRect describes: a rectangle with sharp corners;
81 a Circle; an Oval; or a rectangle with one or more rounded corners.
83 SkRRect allows implementing CSS properties that describe rounded corners.
85 corners.
218 interior rectangle, four edges, and four corners.
593 #Line # sets Round_Rect bounds with zeroed corners ##
794 SkVector corners[] = {{15, 17}, {17, 19}, {19, 15}, {15, 15}};
795 rrect.setRectRadii({20, 20, 100, 100}, corners);
842 SkVector corners[] = {{25, 17}, {17, 19}, {19, 15}, {15, 15}};
843 rrect.setRectRadii({30, 10, 100, 60}, corners);
[all …]
DSkSurface_Reference.bmh884 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
885 Destination Rect corners are (0, 0) and (dst.width(), dst.height()).
943 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
944 Destination Rect corners are (0, 0) and (dstInfo.width(), dstInfo.height()).
978 readPixels copies one quarter of the Surface into each of the four corners.
1008 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
1009 Destination Rect corners are (0, 0) and (bitmap.width(), bitmap.height()).
1067 Source Rect corners are (0, 0) and (src.width(), src.height()).
1068 Destination Rect corners are (dstX, dstY) and
1105 Source Rect corners are (0, 0) and (src.width(), src.height()).
[all …]
DSkCanvas_Reference.bmh662 Source Rect corners are (srcX, srcY) and (imageInfo().width(), imageInfo().height()).
663 Destination Rect corners are (0, 0) and (dstInfo.width(), dstInfo.height()).
702 readPixels copies one quarter of the canvas into each of the four corners.
754 Source Rect corners are (srcX, srcY) and (imageInfo().width(), imageInfo().height()).
755 Destination Rect corners are (0, 0) and (pixmap.width(), pixmap.height()).
817 Source Rect corners are (srcX, srcY) and (imageInfo().width(), imageInfo().height()).
818 Destination Rect corners are (0, 0) and (bitmap.width(), bitmap.height()).
879 Source Rect corners are (0, 0) and (info.width(), info.height()).
880 Destination Rect corners are (x, y) and
936 Source Rect corners are (0, 0) and (bitmap.width(), bitmap.height()).
[all …]
/external/skia/samplecode/
DSampleDegenerateQuads.cpp58 static SkScalar get_area_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_area_coverage()
61 shape.addPoly(corners, 4, true); in get_area_coverage()
88 SkPoint e0 = corners[i]; in get_area_coverage()
89 SkPoint e1 = corners[(i + 1) % 4]; in get_area_coverage()
111 static SkScalar get_edge_dist_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_edge_dist_coverage()
120 SkScalar d = signed_distance(corners[i], outsetLines[j * 2], outsetLines[j * 2 + 1]); in get_edge_dist_coverage()
/external/libxcam/modules/ocl/
Dcv_feature_match.cpp65 cv::InputArray image, cv::Ptr<cv::Feature2D> detector, std::vector<cv::Point2f> &corners) in add_detected_data() argument
69 corners.reserve (corners.size () + keypoints.size ()); in add_detected_data()
72 corners.push_back (kp.pt); in add_detected_data()
/external/deqp/external/vulkancts/mustpass/1.1.0/src/
Dwaivers.txt7 # The affected GPU's are unable to correctly filter CEM corners with F32 textures, this
11 # the corners of the cubemap.
/external/deqp/external/vulkancts/mustpass/1.1.1/src/
Dwaivers.txt7 # The affected GPU's are unable to correctly filter CEM corners with F32 textures, this
11 # the corners of the cubemap.

12345