Home
last modified time | relevance | path

Searched refs:box (Results 1 – 25 of 516) sorted by relevance

12345678910>>...21

/external/mesa3d/src/gallium/auxiliary/util/
Du_box.h9 struct pipe_box *box ) in u_box_1d() argument
11 box->x = x; in u_box_1d()
12 box->y = 0; in u_box_1d()
13 box->z = 0; in u_box_1d()
14 box->width = w; in u_box_1d()
15 box->height = 1; in u_box_1d()
16 box->depth = 1; in u_box_1d()
24 struct pipe_box *box ) in u_box_2d() argument
26 box->x = x; in u_box_2d()
27 box->y = y; in u_box_2d()
[all …]
Du_staging.c57 const struct pipe_box *box, in util_staging_transfer_init() argument
67 tx->base.box = *box; in util_staging_transfer_init()
75 …util_staging_resource_template(pt, box->width, box->height, box->depth, &staging_resource_template… in util_staging_transfer_init()
89 sbox.x = box->x; in util_staging_transfer_init()
90 sbox.y = box->y; in util_staging_transfer_init()
91 sbox.z = box->z; in util_staging_transfer_init()
92 sbox.width = box->width; in util_staging_transfer_init()
93 sbox.height = box->height; in util_staging_transfer_init()
95 for(zi = 0; zi < box->depth; ++zi) { in util_staging_transfer_init()
119 sbox.width = tx->base.box.width; in util_staging_transfer_destroy()
[all …]
Du_transfer.c14 const struct pipe_box *box, in u_default_transfer_inline_write() argument
28 if (box->x == 0 && box->width == resource->width0) { in u_default_transfer_inline_write()
38 box ); in u_default_transfer_inline_write()
47 assert(box->height == 1); in u_default_transfer_inline_write()
48 assert(box->depth == 1); in u_default_transfer_inline_write()
50 memcpy(map, data, box->width); in u_default_transfer_inline_write()
56 for (i = 0; i < box->depth; i++) { in u_default_transfer_inline_write()
61 box->width, in u_default_transfer_inline_write()
62 box->height, in u_default_transfer_inline_write()
91 const struct pipe_box *box) in u_default_transfer_flush_region() argument
[all …]
/external/opencv3/3rdparty/libjasper/
Djp2_cod.c108 void jp2_box_dump(jp2_box_t *box, FILE *out);
110 static int jp2_jp_getdata(jp2_box_t *box, jas_stream_t *in);
111 static int jp2_jp_putdata(jp2_box_t *box, jas_stream_t *out);
112 static int jp2_ftyp_getdata(jp2_box_t *box, jas_stream_t *in);
113 static int jp2_ftyp_putdata(jp2_box_t *box, jas_stream_t *out);
114 static int jp2_ihdr_getdata(jp2_box_t *box, jas_stream_t *in);
115 static int jp2_ihdr_putdata(jp2_box_t *box, jas_stream_t *out);
116 static void jp2_bpcc_destroy(jp2_box_t *box);
117 static int jp2_bpcc_getdata(jp2_box_t *box, jas_stream_t *in);
118 static int jp2_bpcc_putdata(jp2_box_t *box, jas_stream_t *out);
[all …]
Djp2_enc.c96 jp2_box_t *box; in jp2_write_header() local
116 box = 0; in jp2_write_header()
132 if (!(box = jp2_box_create(JP2_BOX_JP))) { in jp2_write_header()
135 box->data.jp.magic = JP2_JP_MAGIC; in jp2_write_header()
136 if (jp2_box_put(box, out)) { in jp2_write_header()
139 jp2_box_destroy(box); in jp2_write_header()
140 box = 0; in jp2_write_header()
144 if (!(box = jp2_box_create(JP2_BOX_FTYP))) { in jp2_write_header()
147 ftyp = &box->data.ftyp; in jp2_write_header()
152 if (jp2_box_put(box, out)) { in jp2_write_header()
[all …]
Djp2_dec.c98 jp2_box_t *box; in jp2_decode() local
120 box = 0; in jp2_decode()
128 if (!(box = jp2_box_get(in))) { in jp2_decode()
132 if (box->type != JP2_BOX_JP) { in jp2_decode()
136 if (box->data.jp.magic != JP2_JP_MAGIC) { in jp2_decode()
140 jp2_box_destroy(box); in jp2_decode()
141 box = 0; in jp2_decode()
144 if (!(box = jp2_box_get(in))) { in jp2_decode()
147 if (box->type != JP2_BOX_FTYP) { in jp2_decode()
151 jp2_box_destroy(box); in jp2_decode()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DSampleTableBox.java44 for (Box box : boxes) { in getSampleDescriptionBox()
45 if (box instanceof SampleDescriptionBox) { in getSampleDescriptionBox()
46 return (SampleDescriptionBox) box; in getSampleDescriptionBox()
53 for (Box box : boxes) { in getSampleSizeBox()
54 if (box instanceof SampleSizeBox) { in getSampleSizeBox()
55 return (SampleSizeBox) box; in getSampleSizeBox()
62 for (Box box : boxes) { in getSampleToChunkBox()
63 if (box instanceof SampleToChunkBox) { in getSampleToChunkBox()
64 return (SampleToChunkBox) box; in getSampleToChunkBox()
71 for (Box box : boxes) { in getChunkOffsetBox()
[all …]
DMediaBox.java34 for (Box box : boxes) { in getMediaInformationBox()
35 if (box instanceof MediaInformationBox) { in getMediaInformationBox()
36 return (MediaInformationBox) box; in getMediaInformationBox()
43 for (Box box : boxes) { in getMediaHeaderBox()
44 if (box instanceof MediaHeaderBox) { in getMediaHeaderBox()
45 return (MediaHeaderBox) box; in getMediaHeaderBox()
52 for (Box box : boxes) { in getHandlerBox()
53 if (box instanceof HandlerBox) { in getHandlerBox()
54 return (HandlerBox) box; in getHandlerBox()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DPath.java36 public static String createPath(Box box) { in createPath() argument
37 return createPath(box, ""); in createPath()
40 private static String createPath(Box box, String path) { in createPath() argument
41 if (box instanceof IsoFile) { in createPath()
44 List<?> boxesOfBoxType = box.getParent().getBoxes(box.getClass()); in createPath()
45 int index = boxesOfBoxType.indexOf(box); in createPath()
46 path = String.format("/%s[%d]", box.getType(), index) + path; in createPath()
48 return createPath(box.getParent(), path); in createPath()
52 public static Box getPath(Box box, String path) { in getPath() argument
53 List<Box> all = getPaths(box, path); in getPath()
[all …]
/external/toybox/kconfig/lxdialog/
Dtextbox.c38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
41 print_page(box, boxh, boxw); in refresh_text_box()
57 WINDOW *dialog, *box; in dialog_textbox() local
97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
98 wattrset(box, dlg.dialog.atr); in dialog_textbox()
99 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
101 keypad(box, TRUE); in dialog_textbox()
122 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox()
123 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
132 delwin(box); in dialog_textbox()
[all …]
/external/eigen/test/
Dgeo_alignedbox.cpp109 BoxType box( m, M ); in specificTest1() local
112 VERIFY_IS_APPROX(sides, box.sizes() ); in specificTest1()
113 VERIFY_IS_APPROX(sides[1], box.sizes()[1] ); in specificTest1()
114 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest1()
115 VERIFY_IS_APPROX(sides[0], box.sizes().minCoeff() ); in specificTest1()
117 VERIFY_IS_APPROX( 14.0f, box.volume() ); in specificTest1()
118 VERIFY_IS_APPROX( 53.0f, box.diagonal().squaredNorm() ); in specificTest1()
119 VERIFY_IS_APPROX( std::sqrt( 53.0f ), box.diagonal().norm() ); in specificTest1()
121 VERIFY_IS_APPROX( m, box.corner( BoxType::BottomLeft ) ); in specificTest1()
122 VERIFY_IS_APPROX( M, box.corner( BoxType::TopRight ) ); in specificTest1()
[all …]
/external/opencv3/3rdparty/openexr/Imath/
DImathBox.h103 void extendBy (const Box<T> &box);
113 bool intersects (const Box<T> &box) const;
216 Box<T>::extendBy(const Box<T> &box) in extendBy() argument
220 if (box.min[i] < min[i]) in extendBy()
221 min[i] = box.min[i]; in extendBy()
223 if (box.max[i] > max[i]) in extendBy()
224 max[i] = box.max[i]; in extendBy()
245 Box<T>::intersects(const Box<T> &box) const in intersects() argument
249 if (box.max[i] < min[i] || box.min[i] > max[i]) in intersects()
374 void extendBy (const Box<Vec2<T> > &box);
[all …]
DImathBoxAlgo.h88 clip (const T &p, const Box<T> &box) in clip() argument
97 for (int i = 0; i < int (box.min.dimensions()); i++) in clip()
99 if (p[i] < box.min[i]) in clip()
100 q[i] = box.min[i]; in clip()
101 else if (p[i] > box.max[i]) in clip()
102 q[i] = box.max[i]; in clip()
113 closestPointInBox (const T &p, const Box<T> &box) in closestPointInBox() argument
115 return clip (p, box); in closestPointInBox()
121 closestPointOnBox (const Vec3<T> &p, const Box< Vec3<T> > &box) in closestPointOnBox() argument
130 if (box.isEmpty()) in closestPointOnBox()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dbitmaptools.cc100 if (!box.Read()) { in Read()
105 if (box.bottom * row_stride > total_size || in Read()
106 box.right * pixel_stride > row_size) { in Read()
118 total_size = (box.bottom - box.top) * row_stride; in Read()
119 row_size = (box.right - box.left) * pixel_stride; in Read()
120 data = pixels + box.top * row_stride + box.left * pixel_stride; in Read()
125 int out_size = row_size * box.height(); in WriteCroppedPixels()
140 Box box; member
206 Box box; in BoundingBox() local
207 box.left = bmp.total_size; in BoundingBox()
[all …]
/external/skia/src/svg/parser/
DSkSVGSVG.cpp46 SkRect box = SkRect::MakeLTRB(viewBox[0] / width, viewBox[1] / height, in translate() local
48 if (box.fLeft == 0 && box.fTop == 0 && in translate()
49 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1) in translate()
52 if (box.fLeft != 0) { in translate()
54 x.appendScalar(box.fLeft); in translate()
57 if (box.fTop != 0) { in translate()
59 y.appendScalar(box.fTop); in translate()
62 if (box.fRight != SK_Scalar1) { in translate()
64 x.appendScalar(box.fRight); in translate()
67 if (box.fBottom != SK_Scalar1) { in translate()
[all …]
/external/chromium-trace/catapult/third_party/coverage/coverage/htmlfiles/
Djquery.isonscreen.js10 isOnScreen: function(box, container) { argument
12 for(var i in box){box[i] = parseFloat(box[i])};
24 if( box.left+box.width-container.left > 0 &&
25 box.left < container.width+container.left &&
26 box.top+box.height-container.top > 0 &&
27 box.top < container.height+container.top
/external/opencv3/samples/cpp/
Dfitellipse.cpp80 RotatedRect box = fitEllipse(pointsf); in processImage() local
82 if( MAX(box.size.width, box.size.height) > MIN(box.size.width, box.size.height)*30 ) in processImage()
86 ellipse(cimage, box, Scalar(0,0,255), 1, LINE_AA); in processImage()
87 … ellipse(cimage, box.center, box.size*0.5f, box.angle, 0, 360, Scalar(0,255,255), 1, LINE_AA); in processImage()
89 box.points(vtx); in processImage()
Dselect3dobj.cpp128 const vector<Point3f>& box, int nobjpt, bool runExtraSegmentation) in extract3DBox() argument
136 objpt.push_back(box[0]); in extract3DBox()
138 objpt.push_back(box[1]); in extract3DBox()
141 objpt.push_back(box[2]); in extract3DBox()
146 objpt.push_back(Point3f(objpt[i].x, objpt[i].y, box[3].z)); in extract3DBox()
200 vector<Point3f>& box) in select3DBox() argument
212 box.resize(4); in select3DBox()
242 float dx = box[1].x - box[0].x, dy = box[1].y - box[0].y; in select3DBox()
244 tempobj[0] = Point3f(dy*len + box[nearestIdx].x, in select3DBox()
245 -dx*len + box[nearestIdx].y, 0.f); in select3DBox()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c60 SVGA3dCopyBox box; in svga_transfer_dma_band() local
63 box.x = st->base.box.x; in svga_transfer_dma_band()
64 box.y = y; in svga_transfer_dma_band()
65 box.z = st->base.box.z; in svga_transfer_dma_band()
66 box.w = st->base.box.width; in svga_transfer_dma_band()
67 box.h = h; in svga_transfer_dma_band()
68 box.d = 1; in svga_transfer_dma_band()
69 box.srcx = 0; in svga_transfer_dma_band()
70 box.srcy = srcy; in svga_transfer_dma_band()
71 box.srcz = 0; in svga_transfer_dma_band()
[all …]
Dsvga_pipe_blit.c87 &box, in svga_surface_copy()
96 &box, in svga_surface_copy()
101 box->x = dstx; in svga_surface_copy()
102 box->y = dsty; in svga_surface_copy()
103 box->z = 0; in svga_surface_copy()
104 box->w = width; in svga_surface_copy()
105 box->h = height; in svga_surface_copy()
106 box->d = 1; in svga_surface_copy()
107 box->srcx = src_box->x; in svga_surface_copy()
108 box->srcy = src_box->y; in svga_surface_copy()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DIsoFile.java85 Box box = boxParser.parseBox(byteChannel, this); in parse() local
86 if (box != null) { in parse()
88 boxes.add(box); in parse()
149 for (Box box : boxes) { in getSize()
150 size += box.getSize(); in getSize()
169 for (Box box : boxes) { in getMovieBox()
170 if (box instanceof MovieBox) { in getMovieBox()
171 return (MovieBox) box; in getMovieBox()
178 for (Box box : boxes) { in getBox()
182 box.getBox(os); in getBox()
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.primitive_bounding_box.txt28 - Set bounding box with gl_BoundingBoxEXT and PrimitiveBoundingBoxEXT
32 - Render pattern and hint the final depth range with bounding box
35 - Blit should not be affected by the bounding box
37 - Clears should not be affected by the bounding box
53 bounding box and render a test pattern. Rendering results within the
54 bounding box are then verified.
56 "global_state.*" cases set the bounding box of the whole test pattern
58 cases set the bounding box of the whole test pattern using
60 set the bounding box for each (tessellation input) primitive separately.
62 "*_bbox_equal" cases set the bounding box to tightly cover the primitive
[all …]
/external/opencv3/modules/video/test/
Dtest_camshift.cpp213 CvBox2D box; member in CV_CamShiftTest
265 cvCamShift( img, init_rect, criteria, &comp, &box ); in run_func()
276 if( cvIsNaN(box.size.width) || cvIsInf(box.size.width) || box.size.width <= 0 || in validate_test_results()
277 cvIsNaN(box.size.height) || cvIsInf(box.size.height) || box.size.height <= 0 || in validate_test_results()
278 cvIsNaN(box.center.x) || cvIsInf(box.center.x) || in validate_test_results()
279 cvIsNaN(box.center.y) || cvIsInf(box.center.y) || in validate_test_results()
280 cvIsNaN(box.angle) || cvIsInf(box.angle) || box.angle < -180 || box.angle > 180 || in validate_test_results()
288 box.angle = (float)(180 - box.angle); in validate_test_results()
290 if( fabs(box.size.width - box0.size.width) > box0.size.width*0.2 || in validate_test_results()
291 fabs(box.size.height - box0.size.height) > box0.size.height*0.3 ) in validate_test_results()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/core-icon-button/
Dcore-icon-button.css12 box-sizing: border-box;
13 -moz-box-sizing: border-box;
31 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
35 box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.1);
40 box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.12);
45 box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.12);
50 box-shadow: 0 0 0 1px rgba(200, 200, 200, 0.1);
55 box-shadow: 0 1px 0 0 rgba(200, 200, 200, 0.12), 0 0 0 1px rgba(200, 200, 200, 0.1);
60 box-shadow: inset 0 1px 0 0 rgba(200, 200, 200, 0.05), 0 0 0 1px rgba(200, 200, 200, 0.12);
65 box-shadow: inset 0 1px 0 0 rgba(200, 200, 200, 0.1), 0 0 0 1px rgba(200, 200, 200, 0.12);
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11.cpp100 pipe_box box; in d3d11_to_pipe_box() local
103 box.x = pBox->left; in d3d11_to_pipe_box()
104 box.y = pBox->top; in d3d11_to_pipe_box()
105 box.z = pBox->front; in d3d11_to_pipe_box()
106 box.width = pBox->right - pBox->left; in d3d11_to_pipe_box()
107 box.height = pBox->bottom - pBox->top; in d3d11_to_pipe_box()
108 box.depth = pBox->back - pBox->front; in d3d11_to_pipe_box()
112 box.x = box.y = box.z = 0; in d3d11_to_pipe_box()
113 box.width = u_minify(resource->width0, level); in d3d11_to_pipe_box()
114 box.height = u_minify(resource->height0, level); in d3d11_to_pipe_box()
[all …]

12345678910>>...21