| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | apitrigeom.cpp | 172 rt_vector(max.x, max.y, min.z), in rt_tri_box() 178 rt_vector(max.x, max.y, max.z), in rt_tri_box() 182 rt_vector(max.x, min.y, max.z), in rt_tri_box() 183 rt_vector(max.x, max.y, max.z)); in rt_tri_box() 188 rt_vector(min.x, max.y, max.z), in rt_tri_box() 198 rt_vector(max.x, min.y, max.z), in rt_tri_box() 199 rt_vector(max.x, max.y, max.z)); in rt_tri_box() 202 rt_vector(max.x, max.y, max.z), in rt_tri_box() 212 rt_vector(max.x, min.y, max.z), in rt_tri_box() 218 rt_vector(max.x, max.y, max.z), in rt_tri_box() [all …]
|
| H A D | bndbox.cpp | 65 bndbox *newbndbox(vector min, vector max) { in newbndbox() argument 71 b->max = max; in newbndbox() 84 *max = b->max; in bndbox_bbox() 106 if ((ry->s.x > bx->max.x) && (ry->e.x > bx->max.x)) in bndbox_intersect() 111 if ((ry->s.y > bx->max.y) && (ry->e.y > bx->max.y)) in bndbox_intersect() 116 if ((ry->s.z > bx->max.z) && (ry->e.z > bx->max.z)) in bndbox_intersect() 126 if ((ry->o.x < bx->min.x) || (ry->o.x > bx->max.x)) in bndbox_intersect() 131 tx2 = (bx->max.x - ry->o.x) / ry->d.x; in bndbox_intersect() 148 if ((ry->o.y < bx->min.y) || (ry->o.y > bx->max.y)) in bndbox_intersect() 153 ty2 = (bx->max.y - ry->o.y) / ry->d.y; in bndbox_intersect() [all …]
|
| H A D | box.cpp | 58 int box_bbox(void *obj, vector *min, vector *max) { in box_bbox() argument 62 *max = b->max; in box_bbox() 72 box *newbox(void *tex, vector min, vector max) { in newbox() argument 80 b->max = max; in newbox() 93 if ((ry->o.x < bx->min.x) || (ry->o.x > bx->max.x)) in box_intersect() 98 tx2 = (bx->max.x - ry->o.x) / ry->d.x; in box_intersect() 120 ty2 = (bx->max.y - ry->o.y) / ry->d.y; in box_intersect() 142 tz2 = (bx->max.z - ry->o.z) / ry->d.z; in box_intersect() 166 c.x = (bx->max.x + bx->min.x) / 2.0; in box_normal() 167 c.y = (bx->max.y + bx->min.y) / 2.0; in box_normal() [all …]
|
| H A D | objbound.cpp | 60 vector min, max; in globalbound() local 78 max.x = FHUGE; in globalbound() 79 max.y = FHUGE; in globalbound() 80 max.z = FHUGE; in globalbound() 82 cur->methods->bbox((void *)cur, &min, &max); in globalbound() 88 gmax->x = MYMAX(gmax->x, max.x); in globalbound() 89 gmax->y = MYMAX(gmax->y, max.y); in globalbound() 90 gmax->z = MYMAX(gmax->z, max.z); in globalbound() 96 static int objinside(object *obj, vector *min, vector *max) { in objinside() argument 104 (max->y >= omax.y) && (max->z >= omax.z)) { in objinside() [all …]
|
| H A D | grid.cpp | 90 g->max = max; in newgrid() 109 *max = g->max; in grid_bbox() 140 vector min, max; in globalbound() local 158 max.x = FHUGE; in globalbound() 159 max.y = FHUGE; in globalbound() 160 max.z = FHUGE; in globalbound() 205 max.x = FHUGE; in cellbound() 206 max.y = FHUGE; in cellbound() 207 max.z = FHUGE; in cellbound() 211 (max.y <= cellmax.y) && (min.z >= cellmin.z) && (max.z <= cellmax.z)) { in cellbound() [all …]
|
| H A D | vol.cpp | 64 int scalarvol_bbox(void *obj, vector *min, vector *max) { in scalarvol_bbox() argument 68 *max = b->max; in scalarvol_bbox() 75 vector max, in newscalarvol() argument 124 bx = newbox(tx, min, max); in newscalarvol() 183 if ((ry->o.x < bx->min.x) || (ry->o.x > bx->max.x)) in scalar_volume_texture() 188 tx2 = (bx->max.x - ry->o.x) / ry->d.x; in scalar_volume_texture() 210 ty2 = (bx->max.y - ry->o.y) / ry->d.y; in scalar_volume_texture() 232 tz2 = (bx->max.z - ry->o.z) / ry->d.z; in scalar_volume_texture() 254 bln.x = fabs(bx->min.x - bx->max.x); in scalar_volume_texture() 255 bln.y = fabs(bx->min.y - bx->max.y); in scalar_volume_texture() [all …]
|
| H A D | extvol.cpp | 65 int extvol_bbox(void *obj, vector *min, vector *max) { in extvol_bbox() argument 69 *max = b->max; in extvol_bbox() 81 vector max, in newextvol() argument 95 xvol->max = max; in newextvol() 175 if ((ry->o.x < bx->min.x) || (ry->o.x > bx->max.x)) in ext_volume_texture() 180 tx2 = (bx->max.x - ry->o.x) / ry->d.x; in ext_volume_texture() 202 ty2 = (bx->max.y - ry->o.y) / ry->d.y; in ext_volume_texture() 224 tz2 = (bx->max.z - ry->o.z) / ry->d.z; in ext_volume_texture() 247 bln.x = fabs(bx->min.x - bx->max.x); in ext_volume_texture() 248 bln.y = fabs(bx->min.y - bx->max.y); in ext_volume_texture() [all …]
|
| H A D | bndbox.hpp | 58 vector max; member 62 bndbox *newbndbox(vector min, vector max); 66 static int bndbox_bbox(void *obj, vector *min, vector *max);
|
| H A D | sphere.cpp | 79 static int sphere_bbox(void *obj, vector *min, vector *max) { in sphere_bbox() argument 85 max->x = s->ctr.x + s->rad; in sphere_bbox() 86 max->y = s->ctr.y + s->rad; in sphere_bbox() 87 max->z = s->ctr.z + s->rad; in sphere_bbox()
|
| H A D | ring.cpp | 81 static int ring_bbox(void *obj, vector *min, vector *max) { in ring_bbox() argument 87 max->x = r->ctr.x + r->outrad; in ring_bbox() 88 max->y = r->ctr.y + r->outrad; in ring_bbox() 89 max->z = r->ctr.z + r->outrad; in ring_bbox()
|
| H A D | cylinder.cpp | 86 static int cylinder_bbox(void *obj, vector *min, vector *max) { in cylinder_bbox() argument 175 static int fcylinder_bbox(void *obj, vector *min, vector *max) { in fcylinder_bbox() argument 193 max->x = MYMAX(mintmp.x, maxtmp.x); in fcylinder_bbox() 194 max->y = MYMAX(mintmp.y, maxtmp.y); in fcylinder_bbox() 195 max->z = MYMAX(mintmp.z, maxtmp.z); in fcylinder_bbox() 196 max->x += c->rad; in fcylinder_bbox() 197 max->y += c->rad; in fcylinder_bbox() 198 max->z += c->rad; in fcylinder_bbox()
|
| H A D | box.hpp | 58 vector max; member 61 box *newbox(void *tex, vector min, vector max);
|
| H A D | grid.hpp | 54 object *newgrid(int xsize, int ysize, int zsize, vector min, vector max); 72 vector max; /* the maximum coords for the box containing the grid */ member 98 static int grid_bbox(void *obj, vector *min, vector *max);
|
| H A D | extvol.hpp | 59 vector max; member 69 vector max,
|
| H A D | cylinder.hpp | 70 static int cylinder_bbox(void *obj, vector *min, vector *max); 71 static int fcylinder_bbox(void *obj, vector *min, vector *max);
|
| H A D | api.cpp | 332 vector max, in rt_scalarvol() argument 339 tex, (vector)min, (vector)max, xs, ys, zs, fname, (scalarvol *)invol)); in rt_scalarvol() 342 void rt_extvol(void *tex, vector min, vector max, int samples, flt (*evaluator)(flt, flt, flt)) { in rt_extvol() argument 343 add_object((object *)newextvol(tex, (vector)min, (vector)max, samples, evaluator)); in rt_extvol() 346 void rt_box(void *tex, vector min, vector max) { in rt_box() argument 347 add_object((object *)newbox(tex, (vector)min, (vector)max)); in rt_box()
|
| H A D | triangle.cpp | 139 static int tri_bbox(void *obj, vector *min, vector *max) { in tri_bbox() argument 150 max->x = MYMAX(t->v0.x, MYMAX(v1.x, v2.x)); in tri_bbox() 151 max->y = MYMAX(t->v0.y, MYMAX(v1.y, v2.y)); in tri_bbox() 152 max->z = MYMAX(t->v0.z, MYMAX(v1.z, v2.z)); in tri_bbox()
|
| H A D | vol.hpp | 55 vector max,
|
| H A D | objbound.hpp | 57 static int objinside(object *obj, vector *min, vector *max);
|
| /oneTBB/examples/getting_started/sub_string_finder/ |
| H A D | sub_string_finder_pretty.cpp | 39 std::size_t limit = str.size() - (std::max)(i, j); in operator ()() 69 std::vector<std::size_t> max(num_elem); in main() local 73 SubStringFinder(to_scan, max, pos)); in main() 77 if (j >= i && j < i + max[i]) in main() 85 if (j >= pos[i] && j < pos[i] + max[i]) in main()
|
| H A D | sub_string_finder.cpp | 42 std::size_t limit = str.size() - (std::max)(i, j); in operator ()() 78 std::vector<std::size_t> max(num_elem); in main() local 82 SubStringFinder(to_scan, max, pos)); in main() 86 std::cout << " " << max[i] << "(" << pos[i] << ")" in main()
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | README.md | 19 …put-file=value] [output-file=value] [max-slice-size=value] [silent] [-h] [n-of-threads [input-file… 25 * `max-slice-size` - the maximum number of characters in one slice.
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | tbb_allocator.h | 85 size_type max = ~(std::size_t(0)) / sizeof(value_type); in max_size() local 86 return (max > 0 ? max : 1); in max_size()
|
| /oneTBB/src/tbb/ |
| H A D | misc.h | 104 #if defined(min) || defined(max) 106 #undef max 123 T max ( const T& val1, const T& val2 ) { in max() function
|
| /oneTBB/examples/task_arena/fractal/ |
| H A D | README.md | 24 …-frames=value] [max-of-iterations=value] [grain-size=value] [use-auto-partitioner] [silent] [singl… 29 * `max-of-iterations` - the maximum number of the fractal iterations.
|