Searched refs:pt (Results 26 - 50 of 559) sorted by relevance

1234567891011>>

/external/skia/src/pathops/
H A DSkPathWriter.h18 void deferredLine(const SkPoint& pt);
19 void deferredMove(const SkPoint& pt);
20 void deferredMoveLine(const SkPoint& pt);
32 bool changedSlopes(const SkPoint& pt) const;
H A DSkPathWriter.cpp75 void SkPathWriter::deferredLine(const SkPoint& pt) { argument
76 if (pt == fDefer[1]) {
79 if (changedSlopes(pt)) {
83 fDefer[1] = pt;
86 void SkPathWriter::deferredMove(const SkPoint& pt) { argument
90 fDefer[0] = fDefer[1] = pt;
93 void SkPathWriter::deferredMoveLine(const SkPoint& pt) { argument
95 deferredMove(pt);
97 deferredLine(pt);
162 bool SkPathWriter::changedSlopes(const SkPoint& pt) cons
[all...]
/external/clang/test/PCH/
H A Dpragma-loop.cpp101 pragma_test pt; local
103 pt.run1(List, 100);
104 pt.run2(List, 100);
105 pt.run3(List, 100);
106 pt.run4(List, 100);
107 pt.run5(List, 100);
108 pt.run6(List, 100);
109 pt.run7<2, 4>(List, 100);
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_miptree.c189 const struct pipe_resource *pt = &mt->base.base; local
190 const unsigned blocksize = util_format_get_blocksize(pt->format);
192 unsigned nbx = util_format_get_nblocksx(pt->format, pt->width0);
193 unsigned nby = util_format_get_nblocksy(pt->format, pt->height0);
195 assert(pt->last_level == 0);
198 assert(!util_format_is_compressed(pt->format));
205 if (pt->array_size > 1) {
207 mt->total_size = mt->layer_stride * pt
214 struct pipe_resource *pt = &mt->base.base; local
276 struct pipe_resource *pt = &mt->base.base; local
330 const struct pipe_resource *pt = &mt->base.base; local
351 nvc0_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *templ) argument
[all...]
/external/opencv/cvaux/src/
H A Dcvcreatehandmask.cpp58 CvPoint pt; local
83 CV_READ_SEQ_ELEM( pt, reader );
85 i_min = CV_MIN2( i_min, pt.y );
86 i_max = CV_MAX2( i_max, pt.y );
87 j_min = CV_MIN2( j_min, pt.x );
88 j_max = CV_MAX2( j_max, pt.x );
90 *(image_mask + pt.y * step + pt.x) = 255;
H A Dcvsubdiv2.cpp131 CvSubdiv2DPoint *pt = cvSubdiv2DEdgeOrg( t ); local
133 if( !pt )
135 assert( fabs( pt->pt.x ) < 10000 && fabs( pt->pt.y ) < 10000 );
136 buf[i] = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt
142 CvSubdiv2DPoint *pt = cvSubdiv2DEdgeDst( cvSubdiv2DRotateEdge( edge, 1 )); local
[all...]
/external/tcpdump/
H A Dprint-mpls.c64 enum mpls_packet_type pt = PT_UNKNOWN; local
93 pt = PT_IPV4;
97 pt = PT_IPV6;
139 pt = PT_IPV4;
158 pt = PT_IPV6;
164 pt = PT_OSI;
176 if (pt == PT_UNKNOWN) {
182 switch (pt) {
/external/skia/tests/
H A DPathOpsCubicConicIntersectionTest.cpp50 for (int pt = 0; pt < roots; ++pt) {
51 double tt1 = i[0][pt];
53 double tt2 = i[1][pt];
57 __FUNCTION__, index, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY);
H A DPathOpsCubicQuadIntersectionTest.cpp74 for (int pt = 0; pt < roots; ++pt) {
75 double tt1 = i[0][pt];
77 double tt2 = i[1][pt];
81 __FUNCTION__, iIndex, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY);
/external/libvpx/libvpx/vp8/encoder/
H A Dtokenize.c111 int pt; /* near block/prev token context index */ local
126 VP8_COMBINEENTROPYCONTEXTS(pt, *a, *l);
132 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt];
135 ++x->coef_counts [1] [0] [pt] [DCT_EOB_TOKEN];
147 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt];
149 ++x->coef_counts [1] [0] [pt] [token];
150 pt = vp8_prev_token_class[token];
164 t->context_tree = cpi->common.fc.coef_probs [1] [band] [pt];
166 t->skip_eob_node = ((pt == 0));
168 ++x->coef_counts [1] [band] [pt] [toke
202 int pt; /* near block/prev token context index */ local
430 int type, band, pt, t; local
503 int pt; /* near block/prev token context index */ local
528 int pt; /* near block/prev token context index */ local
553 int pt; /* near block/prev token context index */ local
[all...]
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/
H A DDrawing_2.cpp194 Point pt[2][3]; local
195 pt[0][0].x = rng.uniform(x_1, x_2);
196 pt[0][0].y = rng.uniform(y_1, y_2);
197 pt[0][1].x = rng.uniform(x_1, x_2);
198 pt[0][1].y = rng.uniform(y_1, y_2);
199 pt[0][2].x = rng.uniform(x_1, x_2);
200 pt[0][2].y = rng.uniform(y_1, y_2);
201 pt[1][0].x = rng.uniform(x_1, x_2);
202 pt[1][0].y = rng.uniform(y_1, y_2);
203 pt[
229 Point pt[2][3]; local
[all...]
/external/eigen/unsupported/test/
H A Dsplines.cpp128 Vector3d pt = spline(u(i)); local
129 VERIFY( (pt - pts.col(i)).norm() < 1e-14 );
156 Vector3d pt = spline(u(i)); local
157 VERIFY( (pt - pts.col(i)).norm() < 1e-14 );
196 Vector2d pt = spline(u(i)); local
197 VERIFY( (pt - pts.col(i)).norm() < 1e-14 );
218 PointType pt = spline( chord_lengths(i) ); local
220 VERIFY( (pt - ref).matrix().norm() < 1e-14 );
230 PointType pt = spline( chord_lengths(i) ); local
232 VERIFY( (pt
[all...]
/external/fonttools/Lib/fontTools/pens/
H A DbasePen.py48 def moveTo(self, pt):
49 """Begin a new sub path, set the current point to 'pt'. You must
54 def lineTo(self, pt):
55 """Draw a straight line from the current point to 'pt'."""
122 def moveTo(self, pt):
125 def lineTo(self, pt):
158 def _moveTo(self, pt):
161 def _lineTo(self, pt):
218 def moveTo(self, pt):
219 self._moveTo(pt)
[all...]
H A DtransformPen.py28 def moveTo(self, pt):
29 self._outPen.moveTo(self._transformPoint(pt))
31 def lineTo(self, pt):
32 self._outPen.lineTo(self._transformPoint(pt))
47 for pt in points:
48 new.append(transformPoint(pt))
/external/fonttools/Tools/fontTools/pens/
H A DbasePen.py48 def moveTo(self, pt):
49 """Begin a new sub path, set the current point to 'pt'. You must
54 def lineTo(self, pt):
55 """Draw a straight line from the current point to 'pt'."""
122 def moveTo(self, pt):
125 def lineTo(self, pt):
158 def _moveTo(self, pt):
161 def _lineTo(self, pt):
218 def moveTo(self, pt):
219 self._moveTo(pt)
[all...]
H A DtransformPen.py28 def moveTo(self, pt):
29 self._outPen.moveTo(self._transformPoint(pt))
31 def lineTo(self, pt):
32 self._outPen.lineTo(self._transformPoint(pt))
47 for pt in points:
48 new.append(transformPoint(pt))
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_miptree.c37 layer_offset(struct pipe_resource *pt, unsigned level, unsigned layer) argument
39 struct nv30_miptree *mt = nv30_miptree(pt);
42 if (pt->target == PIPE_TEXTURE_CUBE)
50 struct pipe_resource *pt,
53 struct nv30_miptree *mt = nv30_miptree(pt);
65 nv30_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) argument
67 struct nv30_miptree *mt = nv30_miptree(pt);
88 define_rect(struct pipe_resource *pt, unsigned level, unsigned z, argument
92 struct nv30_miptree *mt = nv30_miptree(pt);
95 rect->w = u_minify(pt
49 nv30_miptree_get_handle(struct pipe_screen *pscreen, struct pipe_resource *pt, struct winsys_handle *handle) argument
162 nv30_miptree_transfer_new(struct pipe_context *pipe, struct pipe_resource *pt, unsigned level, unsigned usage, const struct pipe_box *box) argument
275 struct pipe_resource *pt = &mt->base.base; local
396 nv30_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *tmpl) argument
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_texture.c65 struct pipe_resource pt, *newtex; local
82 memset(&pt, 0, sizeof(pt));
83 pt.target = target;
84 pt.format = format;
85 pt.last_level = last_level;
86 pt.width0 = width0;
87 pt.height0 = height0;
88 pt.depth0 = depth0;
89 pt
173 st_texture_match_image(const struct pipe_resource *pt, const struct gl_texture_image *image) argument
421 struct pipe_resource *pt; local
[all...]
/external/opencv3/samples/cpp/
H A Dinpaint.cpp37 Point pt(x,y);
39 prevPt = pt;
40 line( inpaintMask, prevPt, pt, Scalar::all(255), 5, 8, 0 );
41 line( img, prevPt, pt, Scalar::all(255), 5, 8, 0 );
42 prevPt = pt;
/external/opencv/cv/src/
H A Dcvgeometry.cpp87 cvBoxPoints( CvBox2D box, CvPoint2D32f pt[4] )
97 if( !pt )
100 pt[0].x = box.center.x - a*box.size.height - b*box.size.width;
101 pt[0].y = box.center.y + b*box.size.height - a*box.size.width;
102 pt[1].x = box.center.x + a*box.size.height - b*box.size.width;
103 pt[1].y = box.center.y - b*box.size.height - a*box.size.width;
104 pt[2].x = 2*box.center.x - pt[0].x;
105 pt[2].y = 2*box.center.y - pt[
165 cvPointPolygonTest( const CvArr* _contour, CvPoint2D32f pt, int measure_dist ) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_sampler_view.c56 struct pipe_resource *pt,
61 struct svga_texture *tex = svga_texture(pt);
64 SVGA3dSurfaceFormat format = svga_translate_format(ss, pt->format, PIPE_BIND_SAMPLER_VIEW);
67 assert(pt);
70 assert(max_lod <= pt->last_level);
80 if (min_lod == 0 && max_lod >= pt->last_level)
99 pt, min_lod, max_lod, pt->last_level);
112 sv->texture = pt;
121 pt, min_lo
55 svga_get_tex_sampler_view(struct pipe_context *pipe, struct pipe_resource *pt, unsigned min_lod, unsigned max_lod) argument
[all...]
/external/opencv3/modules/imgproc/src/
H A Dsubdivision2d.cpp72 int vidx = qedges[edge >> 2].pt[edge & 3];
76 *orgpt = vtx[vidx].pt;
84 int vidx = qedges[edge >> 2].pt[(edge + 2) & 3];
88 *dstpt = vtx[vidx].pt;
99 return vtx[vertex].pt;
125 pt[0] = pt[1] = pt[2] = pt[3] = 0;
136 pt[
218 isRightOf(Point2f pt, int edge) const argument
254 newPoint(Point2f pt, bool isvirtual, int firstEdge) argument
276 locate(Point2f pt, int& _edge, int& _vertex) argument
398 isPtInCircle3( Point2f pt, Point2f a, Point2f b, Point2f c) argument
410 insert(Point2f pt) argument
638 isRightOf2( const Point2f& pt, const Point2f& org, const Point2f& diff ) argument
645 findNearest(Point2f pt, Point2f* nearestPt) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_tile.h65 struct pipe_transfer *pt,
71 struct pipe_transfer *pt,
78 struct pipe_transfer *pt,
84 struct pipe_transfer *pt,
91 struct pipe_transfer *pt,
97 struct pipe_transfer *pt,
105 struct pipe_transfer *pt,
111 struct pipe_transfer *pt,
135 struct pipe_transfer *pt,
142 struct pipe_transfer *pt,
[all...]
H A Du_tile.c49 struct pipe_transfer *pt,
56 dst_stride = util_format_get_stride(pt->resource->format, w);
58 if (u_clip_tile(x, y, &w, &h, &pt->box))
61 src = pipe->transfer_map(pipe, pt);
66 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y);
68 pipe->transfer_unmap(pipe, pt);
77 struct pipe_transfer *pt,
82 enum pipe_format format = pt->resource->format;
87 if (u_clip_tile(x, y, &w, &h, &pt
48 pipe_get_tile_raw(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, void *dst, int dst_stride) argument
76 pipe_put_tile_raw(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, const void *src, int src_stride) argument
445 pipe_get_tile_rgba(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, float *p) argument
455 pipe_get_tile_rgba_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, float *p) argument
486 pipe_put_tile_rgba(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, const float *p) argument
496 pipe_put_tile_rgba_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, const float *p) argument
547 pipe_put_tile_i_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, const int *p) argument
575 pipe_put_tile_ui_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, const unsigned int *p) argument
606 pipe_get_tile_z(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, uint *z) argument
735 pipe_put_tile_z(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, const uint *zSrc) argument
870 pipe_get_tile_ui_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, unsigned int *p) argument
901 pipe_get_tile_i_format(struct pipe_context *pipe, struct pipe_transfer *pt, uint x, uint y, uint w, uint h, enum pipe_format format, int *p) argument
[all...]
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_miptree.c113 nv50_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) argument
115 struct nv50_miptree *mt = nv50_miptree(pt);
127 struct pipe_resource *pt,
130 struct nv50_miptree *mt = nv50_miptree(pt);
188 struct pipe_resource *pt = &mt->base.base; local
189 const unsigned blocksize = util_format_get_blocksize(pt->format);
191 if (util_format_is_depth_or_stencil(pt->format))
194 if ((pt->last_level > 0) || (pt->depth0 > 1) || (pt
126 nv50_miptree_get_handle(struct pipe_screen *pscreen, struct pipe_resource *pt, struct winsys_handle *whandle) argument
209 struct pipe_resource *pt = &mt->base.base; local
259 struct pipe_resource *pt = &mt->base.base; local
349 const struct pipe_resource *pt = &mt->base.base; local
404 nv50_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *templ) argument
[all...]

Completed in 815 milliseconds

1234567891011>>