Searched defs:box (Results 1 - 25 of 181) sorted by relevance

12345678

/external/clang/test/CodeGenCXX/
H A Dvirtual-destructor-synthesis.cpp3 struct box { struct
4 virtual ~box();
7 struct pile_box : public box {
8 pile_box(box *);
11 pile_box::pile_box(box *pp)
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_tile.h46 u_clip_tile(uint x, uint y, uint *w, uint *h, const struct pipe_box *box) argument
48 if (x >= box->width)
50 if (y >= box->height)
52 if (x + *w > box->width)
53 *w = box->width - x;
54 if (y + *h > box->height)
55 *h = box->height - y;
H A Du_staging.c57 const struct pipe_box *box,
67 tx->base.box = *box;
75 util_staging_resource_template(pt, box->width, box->height, box->depth, &staging_resource_template);
89 sbox.x = box->x;
90 sbox.y = box->y;
91 sbox.z = box->z;
92 sbox.width = box
53 util_staging_transfer_init(struct pipe_context *pipe, struct pipe_resource *pt, unsigned level, unsigned usage, const struct pipe_box *box, boolean direct, struct util_staging_transfer *tx) argument
[all...]
H A Du_resource.c31 const struct pipe_box *box)
34 return ur->vtbl->get_transfer(context, resource, level, usage, box);
53 const struct pipe_box *box)
56 ur->vtbl->transfer_flush_region(pipe, transfer, box);
70 const struct pipe_box *box,
80 box,
27 u_get_transfer_vtbl(struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
51 u_transfer_flush_region_vtbl( struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
66 u_transfer_inline_write_vtbl( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument
H A Du_transfer.c14 const struct pipe_box *box,
28 if (box->x == 0 && box->width == resource->width0) {
38 box );
47 assert(box->height == 1);
48 assert(box->depth == 1);
50 memcpy(map, data, box->width);
56 for (i = 0; i < box->depth; i++) {
61 box->width,
62 box
10 u_default_transfer_inline_write( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument
89 u_default_transfer_flush_region( struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
97 u_default_get_transfer(struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
[all...]
H A Du_upload_mgr.c78 struct pipe_box *box = &upload->transfer->box; local
79 if (upload->offset > box->x) {
82 box->x, upload->offset - box->x);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
H A DPath.java36 public static String createPath(Box box) { argument
37 return createPath(box, "");
40 private static String createPath(Box box, String path) { argument
41 if (box instanceof IsoFile) {
44 List<?> boxesOfBoxType = box.getParent().getBoxes(box.getClass());
45 int index = boxesOfBoxType.indexOf(box);
46 path = String.format("/%s[%d]", box.getType(), index) + path;
48 return createPath(box.getParent(), path);
52 public static Box getPath(Box box, Strin argument
58 getPaths(Box box, String path) argument
111 isContained(Box box, String path) argument
[all...]
/external/opencv3/samples/cpp/
H A Dfitellipse.cpp80 RotatedRect box = fitEllipse(pointsf); local
82 if( MAX(box.size.width, box.size.height) > MIN(box.size.width, box.size.height)*30 )
86 ellipse(cimage, box, Scalar(0,0,255), 1, LINE_AA);
87 ellipse(cimage, box.center, box.size*0.5f, box.angle, 0, 360, Scalar(0,255,255), 1, LINE_AA);
89 box
[all...]
H A Dminarea.cpp11 cout << "This program demonstrates finding the minimum enclosing box, triangle or circle of a set\n"
42 // Find the minimum area enclosing bounding box
43 RotatedRect box = minAreaRect(Mat(points)); local
54 box.points(vtx);
62 // Draw the bounding box
/external/skia/src/animator/
H A DSkDrawTextBox.cpp72 SkTextBox box; local
73 box.setMode((SkTextBox::Mode) mode);
74 box.setSpacingAlign((SkTextBox::SpacingAlign) spacingAlign);
75 box.setBox(fRect);
76 box.setSpacing(fSpacingMul, fSpacingAdd);
78 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint);
/external/skia/src/svg/parser/
H A DSkSVGSVG.cpp46 SkRect box = SkRect::MakeLTRB(viewBox[0] / width, viewBox[1] / height, local
48 if (box.fLeft == 0 && box.fTop == 0 &&
49 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
52 if (box.fLeft != 0) {
54 x.appendScalar(box.fLeft);
57 if (box.fTop != 0) {
59 y.appendScalar(box.fTop);
62 if (box
[all...]
/external/autotest/tko/
H A Ddisplay.py14 #### additional keys for shaded color of a box
44 ### color keys for box shading have names that end with 'pct'
90 class box: class in inherits:
173 ## average_grade defines a shade of the box
244 return box(None, None)
262 return box(None, None)
266 precounted_box = box(html, shade, False, link, tooltip,
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/
H A DBoxShapeBuilder.java28 /** Helper class with static methods to build box shapes using {@link MeshPartBuilder}.
32 /** Build a box with the shape of the specified {@link BoundingBox}.
33 * @param box */
34 public static void build (MeshPartBuilder builder, BoundingBox box) { argument
35 builder.box(box.getCorner000(tmpV0), box.getCorner010(tmpV1), box.getCorner100(tmpV2), box.getCorner110(tmpV3),
36 box
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_buffer.c68 const struct pipe_box *box)
79 transfer->box = *box;
100 return buffer->data + transfer->box.x;
109 const struct pipe_box *box,
116 memcpy(buffer->data + box->x,
118 box->width);
64 i915_get_transfer(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
105 i915_buffer_transfer_inline_write( struct pipe_context *rm_ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_transfer.c59 tex, transfer->level, &transfer->box);
69 u_box_origin_2d(transfer->box.width, transfer->box.height, &src_box);
72 transfer->box.x, transfer->box.y, transfer->box.z,
84 const struct pipe_box *box)
107 trans->transfer.box = *box;
122 base.width0 = box
80 r300_texture_get_transfer(struct pipe_context *ctx, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box) argument
[all...]
H A Dr300_screen_buffer.c72 const struct pipe_box *box)
81 transfer->box = *box;
111 return (uint8_t *) rbuf->malloced_buffer + transfer->box.x;
125 return map + transfer->box.x;
68 r300_buffer_get_transfer(struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_buffer.c70 const struct pipe_box *box)
85 transfer->box = *box;
220 map += transfer->box.x;
230 const struct pipe_box *box)
235 unsigned offset = transfer->box.x + box->x;
236 unsigned length = box->width;
66 svga_buffer_get_transfer(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
228 svga_buffer_transfer_flush_region( struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DFreeBox.java36 * A free box. Just a placeholder to enable editing without rewriting the whole file.
97 // It's quite expensive to map a file into the memory. Just do it when the box is larger than a MB.
107 public void addAndReplace(Box box) { argument
108 data.position(l2i(box.getSize()));
110 replacers.add(box);
/external/opencv3/3rdparty/openexr/Imath/
H A DImathSphere.h71 // so that the s tightly encloses box b.
90 void circumscribe(const Box<Vec3<T> > &box);
109 void Sphere3<T>::circumscribe(const Box<Vec3<T> > &box) argument
111 center = T(0.5) * (box.min + box.max);
112 radius = (box.max - center).length();
/external/clang/test/SemaCXX/
H A Dwarn-unused-value.cpp13 Box* box = new Box; local
14 box->i; // expected-warning {{expression result unused}}
15 box->j; // expected-warning {{expression result unused}}
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/
H A DOBBViewportTransform.java27 * Orientated bounding box viewport transform
39 protected final OBB box = new OBB(); field in class:OBBViewportTransform
44 box.R.setIdentity();
48 box.center.set(vpt.box.center);
49 box.extents.set(vpt.box.extents);
50 box.R.set(vpt.box.R);
55 box
[all...]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
H A DbtGImpactShape.cpp55 // Calc box inertia
94 // Calc box inertia
129 // Calc box inertia
177 btAABB box; local
178 box.m_min = aabbMin;
179 box.m_max = aabbMax;
182 m_box_set.boxQuery(box,collided);
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_mlaa.c65 struct pipe_box box; local
67 u_box_2d(0, 0, sizeof(constants), 1, &box);
69 &box, constants, sizeof(constants),
214 struct pipe_box box; local
253 u_box_2d(0, 0, 165, 165, &box);
256 PIPE_TRANSFER_WRITE, &box,
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_buffer.c44 const struct pipe_box *box)
49 assert(box->x + box->width <= resource->width0);
54 transfer->transfer.box = *box;
138 transfer->box.x % 4 == 0 && transfer->box.width % 4 == 0) {
149 PIPE_USAGE_STAGING, transfer->box.width);
159 return (uint8_t*)data + transfer->box.x;
168 struct pipe_box box; local
40 r600_get_transfer(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_buffer.c53 const struct pipe_box *box)
61 transfer->box = *box;
83 return (uint8_t*)data + transfer->box.x;
94 const struct pipe_box *box)
49 r600_get_transfer(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
92 r600_buffer_transfer_flush_region(struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument

Completed in 962 milliseconds

12345678