/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_tile.c | 49 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/i915/ |
H A D | i915_surface.c | 216 struct pipe_resource *pt = &tex->b.b; local 220 assert(util_format_get_blockwidth(pt->format) == 1); 221 assert(util_format_get_blockheight(pt->format) == 1); 225 util_format_get_blocksize(pt->format), 244 struct pipe_resource *pt = &tex->b.b; local 249 assert(util_format_get_blockwidth(pt->format) == 1); 250 assert(util_format_get_blockheight(pt->format) == 1); 264 util_format_get_blocksize(pt->format), 280 struct pipe_resource *pt, 286 if (pt 279 i915_create_surface(struct pipe_context *ctx, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_miptree.c | 37 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/gallium/drivers/nv50/ |
H A D | nv50_miptree.c | 113 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...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_miptree.c | 189 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/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_texture.c | 57 struct pipe_resource *pt = &spr->base; local 59 unsigned width = pt->width0; 60 unsigned height = pt->height0; 61 unsigned depth = pt->depth0; 64 for (level = 0; level <= pt->last_level; level++) { 67 if (pt->target == PIPE_TEXTURE_CUBE) 69 else if (pt->target == PIPE_TEXTURE_3D) 72 slices = pt->array_size; 74 spr->stride[level] = util_format_get_stride(pt->format, width); 78 buffer_size += (util_format_get_nblocksy(pt 156 softpipe_resource_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) argument 210 softpipe_resource_get_handle(struct pipe_screen *screen, struct pipe_resource *pt, struct winsys_handle *whandle) argument 257 softpipe_create_surface(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument 365 struct pipe_transfer *pt = &spt->base; local [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_resource_texture.c | 217 struct pipe_resource *pt) 220 struct svga_texture *tex = (struct svga_texture *)pt; 216 svga_texture_destroy(struct pipe_screen *screen, struct pipe_resource *pt) argument
|
H A D | svga_surface.c | 185 struct pipe_resource *pt, 189 struct svga_texture *tex = svga_texture(pt); 207 if (pt->target == PIPE_TEXTURE_CUBE) { 217 pipe_resource_reference(&s->base.texture, pt); 220 s->base.width = u_minify(pt->width0, surf_tmpl->u.tex.level); 221 s->base.height = u_minify(pt->height0, surf_tmpl->u.tex.level); 254 if (pt->target == PIPE_TEXTURE_3D) 262 pt, surf_tmpl->u.tex.level, face, zslice, s); 272 pt, surf_tmpl->u.tex.level, face, zslice, s); 184 svga_create_surface(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
H A D | dri_drawable.c | 210 struct pipe_resource *pt; local 215 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; 217 if (pt) { 218 enum pipe_format internal_format = pt->format; 234 drawable->update_tex_buffer(drawable, ctx, pt); 238 0, internal_format, pt, FALSE);
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
H A D | dri_drawable.c | 210 struct pipe_resource *pt; local 215 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; 217 if (pt) { 218 enum pipe_format internal_format = pt->format; 234 drawable->update_tex_buffer(drawable, ctx, pt); 238 0, internal_format, pt, FALSE);
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
H A D | dri_drawable.c | 210 struct pipe_resource *pt; local 215 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; 217 if (pt) { 218 enum pipe_format internal_format = pt->format; 234 drawable->update_tex_buffer(drawable, ctx, pt); 238 0, internal_format, pt, FALSE);
|
/external/opencv/cv/src/ |
H A D | cvdominants.cpp | 45 CvPoint pt; member in struct:_PointInfo 106 CV_READ_CHAIN_POINT( ptInf[i].pt, reader ); 117 CV_READ_SEQ_ELEM( ptInf[i].pt, reader ); 158 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); 159 dy = (float) (ptInf[i].pt.y - ptInf[ind].pt.y); 182 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); 183 dy = (float) (ptInf[i].pt [all...] |
/external/opencv/cvaux/src/ |
H A D | cvcalibfilter.cpp | 554 CvPoint pt; local 555 pt.x = cvRound(pts[j].x); 556 pt.y = cvRound(pts[j].y); 566 cvLine( dst, prev_pt, pt, color, 1, CV_AA ); 569 cvLine( dst, cvPoint( pt.x - r, pt.y - r ), 570 cvPoint( pt.x + r, pt.y + r ), color, 1, CV_AA ); 572 cvLine( dst, cvPoint( pt.x - r, pt [all...] |
H A D | cvfindhandregion.cpp | 71 CvPoint *tmp_number = 0, *pt; local 163 pt = (CvPoint*)cvGetSeqElem( indexs, i ); 164 tmp_number[i_point] = *pt; 293 CvPoint *tmp_number = 0, *pt; local 401 pt = (CvPoint* )icvGetSeqElem ( indexs, i, 0); 403 if(pt->x > jmax) jmax = pt->x; 404 if(pt->x < jmin) jmin = pt->x; 406 tmp_number[i_point] = *pt; [all...] |
/external/pdfium/fpdfsdk/include/pdfwindow/ |
H A D | PWL_Utils.h | 91 CPWL_PathData(const CPWL_Point& pt, PWL_PATHDATA_TYPE tp) : point(pt), type(tp) {}
argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
H A D | SDL_macevents.c | 89 static void myGlobalToLocal(_THIS, Point *pt) argument 99 GlobalToLocal(pt); 153 Point pt; local 154 pt = last_where = event.where; 155 myGlobalToLocal(this, &pt); 156 SDL_PrivateMouseMotion(0, 0, pt.h, pt.v);
|
/external/skia/experimental/Intersection/ |
H A D | ConvexHull_Test.cpp | 247 int pt, bit; local 248 for (pt = 0; pt < cmp; ++pt) { 249 if (pts & 1 << order[pt]) { 259 if (cmpPts & 1 << cmpOrder[pt]) { 269 pts |= 1 << order[pt]; 270 cmpPts |= 1 << cmpOrder[pt]; 276 for (pt = 0; pt < cm [all...] |
H A D | CubeRoot.cpp | 79 unsigned int* pt = (unsigned int*) &t; local 81 pt[1]=px[1]/3+B1; 95 unsigned int* pt = (unsigned int*) &t; 97 pt[1]=px[1]/5+B1;
|
H A D | LineCubicIntersection.cpp | 110 _Point pt; local 111 xy_at_t(line, lineT, pt.x, pt.y); 112 intersections.insert(cubicT, lineT, pt); 130 _Point pt; local 132 xy_at_t(cubic, cubicT, pt.x, pt.y); 133 double lineT = (pt.x - left) / (right - left); 135 intersections.insert(cubicT, lineT, pt); 156 _Point pt; local [all...] |
H A D | LineQuadraticIntersection.cpp | 138 _Point pt; local 139 xy_at_t(line, lineT, pt.x, pt.y); 140 intersections.insert(quadT, lineT, pt); 161 _Point pt; local 163 xy_at_t(quad, quadT, pt.x, pt.y); 164 double lineT = (pt.x - left) / (right - left); 166 intersections.insert(quadT, lineT, pt); 190 _Point pt; local 295 horizontalIntersect(const Quadratic& quad, const _Point& pt) argument 310 verticalIntersect(const Quadratic& quad, const _Point& pt) argument [all...] |
H A D | QuadraticUtilities.cpp | 13 double nearestT(const Quadratic& quad, const _Point& pt) { argument 14 _Vector pos = quad[0] - pt; 26 double d0 = pt.distanceSquared(quad[0]); 27 double d2 = pt.distanceSquared(quad[2]); 33 double dist = pt.distanceSquared(onQuad); 45 bool point_in_hull(const Quadratic& quad, const _Point& pt) { argument 46 return pointInTriangle((const Triangle&) quad, pt);
|
/external/skia/gm/ |
H A D | convexpolyclip.cpp | 23 SkPoint pt = { wScalar / 2, hScalar / 2 }; local 45 pt, radius,
|
/external/skia/include/core/ |
H A D | SkWriter32.h | 125 void writePoint(const SkPoint& pt) { argument 126 *(SkPoint*)this->reserve(sizeof(pt)) = pt;
|
/external/skia/samplecode/ |
H A D | SampleBitmapRect.cpp | 68 static void bounce_pt(SkPoint* pt, SkVector* vec, const SkRect& limit) { argument 69 bounce(&pt->fX, &vec->fX, limit.fLeft, limit.fRight); 70 bounce(&pt->fY, &vec->fY, limit.fTop, limit.fBottom);
|
/external/skia/src/pathops/ |
H A D | SkDQuadLineIntersection.cpp | 151 SkDPoint pt; local 152 if (pinTs(&quadT, &lineT, &pt, kPointUninitialized)) { 153 fIntersections->insert(quadT, lineT, pt); 179 SkDPoint pt = fQuad.ptAtT(quadT); local 180 double lineT = (pt.fX - left) / (right - left); 181 if (pinTs(&quadT, &lineT, &pt, kPointInitialized)) { 182 fIntersections->insert(quadT, lineT, pt); 210 SkDPoint pt = fQuad.ptAtT(quadT); local 211 double lineT = (pt.fY - top) / (bottom - top); 212 if (pinTs(&quadT, &lineT, &pt, kPointInitialize 312 pinTs(double* quadT, double* lineT, SkDPoint* pt, PinTPoint ptSet) argument [all...] |