/external/opencv/cv/src/ |
D | cvrotcalipers.cpp | 113 CvPoint2D32f pt0 = points[0]; in icvRotatingCalipers() local 115 left_x = right_x = pt0.x; in icvRotatingCalipers() 116 top_y = bottom_y = pt0.y; in icvRotatingCalipers() 122 if( pt0.x < left_x ) in icvRotatingCalipers() 123 left_x = pt0.x, left = i; in icvRotatingCalipers() 125 if( pt0.x > right_x ) in icvRotatingCalipers() 126 right_x = pt0.x, right = i; in icvRotatingCalipers() 128 if( pt0.y > top_y ) in icvRotatingCalipers() 129 top_y = pt0.y, top = i; in icvRotatingCalipers() 131 if( pt0.y < bottom_y ) in icvRotatingCalipers() [all …]
|
D | cvapprox.cpp | 162 CvPoint pt0; in icvApproximateChainTC89() local 166 pt0 = array[i].pt; in icvApproximateChainTC89() 190 dk_num = (pt0.x - array[i1].pt.x) * dy - (pt0.y - array[i1].pt.y) * dx; in icvApproximateChainTC89() 217 dx1 = array[i1].pt.x - pt0.x; in icvApproximateChainTC89() 218 dy1 = array[i1].pt.y - pt0.y; in icvApproximateChainTC89() 219 dx2 = array[i2].pt.x - pt0.x; in icvApproximateChainTC89() 220 dy2 = array[i2].pt.y - pt0.y; in icvApproximateChainTC89()
|
D | cvshapedescr.cpp | 134 icvFindCircle( CvPoint2D32f pt0, CvPoint2D32f pt1, in icvFindCircle() argument 137 double x1 = (pt0.x + pt1.x) * 0.5; in icvFindCircle() 138 double dy1 = pt0.x - pt1.x; in icvFindCircle() 141 double y1 = (pt0.y + pt1.y) * 0.5; in icvFindCircle() 142 double dx1 = pt1.y - pt0.y; in icvFindCircle() 153 *radius = (float) icvDistanceL2_32f( *center, pt0 ); in icvFindCircle()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 145 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 147 pt0[0] = srcX; in add_vertex_data1() 148 pt0[1] = srcY; in add_vertex_data1() 157 map_point(src_matrix, pt0[0], pt0[1], &pt0[0], &pt0[1]); in add_vertex_data1() 163 s0 = pt0[0] / src->width0; in add_vertex_data1() 167 t0 = pt0[1] / src->height0; in add_vertex_data1()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 145 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 147 pt0[0] = srcX; in add_vertex_data1() 148 pt0[1] = srcY; in add_vertex_data1() 157 map_point(src_matrix, pt0[0], pt0[1], &pt0[0], &pt0[1]); in add_vertex_data1() 163 s0 = pt0[0] / src->width0; in add_vertex_data1() 167 t0 = pt0[1] / src->height0; in add_vertex_data1()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 192 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 194 pt0[0] = srcX; in add_vertex_data1() 195 pt0[1] = srcY; in add_vertex_data1() 204 map_point((float *)src_matrix, pt0[0], pt0[1], &pt0[0], &pt0[1]); in add_vertex_data1() 210 s0 = pt0[0] / src->width0; in add_vertex_data1() 214 t0 = pt0[1] / src->height0; in add_vertex_data1()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 192 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 194 pt0[0] = srcX; in add_vertex_data1() 195 pt0[1] = srcY; in add_vertex_data1() 204 map_point((float *)src_matrix, pt0[0], pt0[1], &pt0[0], &pt0[1]); in add_vertex_data1() 210 s0 = pt0[0] / src->width0; in add_vertex_data1() 214 t0 = pt0[1] / src->height0; in add_vertex_data1()
|
/external/chromium_org/third_party/skia/experimental/StrokePathRenderer/ |
D | GrStrokePathRenderer.cpp | 165 const SkPoint* pt0 = &(lastPt[offset]); in onDrawPath() local 180 const SkPoint pt2 = *pt0+v0, pt3 = *pt1+v1; in onDrawPath() 181 if (intersection(*pt0, pt2, *pt1, pt3, miterPt[0]) != in onDrawPath() 183 SkPoint miterPt0 = miterPt[0] - *pt0; in onDrawPath() 201 miterPt[0] = *pt0+v0; in onDrawPath()
|
/external/skia/experimental/StrokePathRenderer/ |
D | GrStrokePathRenderer.cpp | 165 const SkPoint* pt0 = &(lastPt[offset]); in onDrawPath() local 180 const SkPoint pt2 = *pt0+v0, pt3 = *pt1+v1; in onDrawPath() 181 if (intersection(*pt0, pt2, *pt1, pt3, miterPt[0]) != in onDrawPath() 183 SkPoint miterPt0 = miterPt[0] - *pt0; in onDrawPath() 201 miterPt[0] = *pt0+v0; in onDrawPath()
|
/external/opencv/cxcore/src/ |
D | cxdrawing.cpp | 1041 CvPoint pt0, pt1; in icvFillConvexPoly() local 1042 pt0.x = p0.x >> XY_SHIFT; in icvFillConvexPoly() 1043 pt0.y = p0.y >> XY_SHIFT; in icvFillConvexPoly() 1046 icvLine( img, pt0, pt1, color, line_type ); in icvFillConvexPoly() 1166 CvPoint pt0, pt1, t0, t1; in icvCollectPolyEdges() local 1168 CV_READ_EDGE( pt0, pt1, reader ); in icvCollectPolyEdges() 1172 pt0.x = (pt0.x + offset.x) << (XY_SHIFT - shift); in icvCollectPolyEdges() 1173 pt0.y = (pt0.y + delta) >> shift; in icvCollectPolyEdges() 1182 x.i = pt0.x; y.i = pt0.y; in icvCollectPolyEdges() 1183 pt0.x = cvRound((x.f + offset.x) * XY_ONE); in icvCollectPolyEdges() [all …]
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 528 static int quad_proc(const FT_Vector* pt0, const FT_Vector* pt1, in quad_proc() argument 531 path->quadTo(SkFDot6ToScalar(pt0->x), -SkFDot6ToScalar(pt0->y), in quad_proc() 536 static int cubic_proc(const FT_Vector* pt0, const FT_Vector* pt1, in cubic_proc() argument 539 path->cubicTo(SkFDot6ToScalar(pt0->x), -SkFDot6ToScalar(pt0->y), in cubic_proc()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 528 static int quad_proc(const FT_Vector* pt0, const FT_Vector* pt1, in quad_proc() argument 531 path->quadTo(SkFDot6ToScalar(pt0->x), -SkFDot6ToScalar(pt0->y), in quad_proc() 536 static int cubic_proc(const FT_Vector* pt0, const FT_Vector* pt1, in cubic_proc() argument 539 path->cubicTo(SkFDot6ToScalar(pt0->x), -SkFDot6ToScalar(pt0->y), in cubic_proc()
|
/external/skia/samplecode/ |
D | SampleHairline.cpp | 39 SkPoint pt0 = { 799.33374f, 1.2360189f }; in test_chromium_9005() local 44 canvas.drawLine(pt0.fX, pt0.fY, pt1.fX, pt1.fY, paint); in test_chromium_9005()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleHairline.cpp | 39 SkPoint pt0 = { 799.33374f, 1.2360189f }; in test_chromium_9005() local 44 canvas.drawLine(pt0.fX, pt0.fY, pt1.fX, pt1.fY, paint); in test_chromium_9005()
|
/external/skia/src/pathops/ |
D | SkOpContour.cpp | 14 SkPoint pt0 = ts.pt(0).asSkPoint(); in addCoincident() local 16 if (pt0 == pt1) { in addCoincident() 31 coincidence.fPts[swap][0] = pt0; in addCoincident() 35 coincidence.fPts[!swap][0] = nearStart ? ts.pt2(0).asSkPoint() : pt0; in addCoincident() 164 SkPoint pt0 = ts.pt(ptIndex).asSkPoint(); in addPartialCoincident() local 166 if (SkDPoint::ApproximatelyEqual(pt0, pt1)) { in addPartialCoincident() 181 coincidence.fPts[0][0] = coincidence.fPts[1][0] = pt0; in addPartialCoincident()
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
D | cf2ft.c | 158 params->pt0.x, in cf2_builder_lineTo() 159 params->pt0.y ); in cf2_builder_lineTo() 188 params->pt0.x, in cf2_builder_cubeTo() 189 params->pt0.y ); in cf2_builder_cubeTo()
|
D | cf2glue.h | 104 FT_Vector pt0; member
|
/external/freetype/src/cff/ |
D | cf2ft.c | 160 params->pt0.x, in cf2_builder_lineTo() 161 params->pt0.y ); in cf2_builder_lineTo() 190 params->pt0.x, in cf2_builder_cubeTo() 191 params->pt0.y ); in cf2_builder_cubeTo()
|
D | cf2glue.h | 104 FT_Vector pt0; member
|
D | cf2hints.c | 1280 params.pt0 = glyphpath->currentDS; in cf2_glyphpath_pushPrevElem() 1308 if ( params.pt0.x != params.pt1.x || params.pt0.y != params.pt1.y ) in cf2_glyphpath_pushPrevElem() 1374 params.pt0 = glyphpath->currentDS; in cf2_glyphpath_pushPrevElem() 1401 params.pt0 = glyphpath->currentDS; in cf2_glyphpath_pushMove()
|
/external/chromium_org/third_party/freetype/src/cff/ |
D | cf2ft.c | 158 params->pt0.x, in cf2_builder_lineTo() 159 params->pt0.y ); in cf2_builder_lineTo() 188 params->pt0.x, in cf2_builder_cubeTo() 189 params->pt0.y ); in cf2_builder_cubeTo()
|
D | cf2glue.h | 104 FT_Vector pt0; member
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkOpContour.cpp | 14 SkPoint pt0 = ts.pt(0).asSkPoint(); in addCoincident() local 16 if (pt0 == pt1) { in addCoincident() 31 coincidence.fPts[swap][0] = pt0; in addCoincident() 35 coincidence.fPts[!swap][0] = nearStart ? ts.pt2(0).asSkPoint() : pt0; in addCoincident() 172 SkPoint pt0 = ts.pt(ptIndex).asSkPoint(); in addPartialCoincident() local 174 if (SkDPoint::ApproximatelyEqual(pt0, pt1)) { in addPartialCoincident() 189 coincidence.fPts[0][0] = coincidence.fPts[1][0] = pt0; in addPartialCoincident()
|
/external/skia/src/core/ |
D | SkScan_Hairline.cpp | 43 void SkScan::HairLineRgn(const SkPoint& pt0, const SkPoint& pt1, in HairLineRgn() argument 48 SkPoint pts[2] = { pt0, pt1 }; in HairLineRgn()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkScan_Hairline.cpp | 43 void SkScan::HairLineRgn(const SkPoint& pt0, const SkPoint& pt1, in HairLineRgn() argument 48 SkPoint pts[2] = { pt0, pt1 }; in HairLineRgn()
|