Searched refs:y2 (Results 1 – 3 of 3) sorted by relevance
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | apigeom.cpp | 225 subdivide(apiflt *base, int xres, int yres, apiflt wx, apiflt wy, int x1, int y1, int x2, int y2) { in subdivide() argument 228 if (((x2 - x1) < 2) && ((y2 - y1) < 2)) { in subdivide() 233 y = (y1 + y2) / 2; in subdivide() 236 adjust(base, xres, yres, wx, wy, x2, y1, x2, y, x2, y2); in subdivide() 237 adjust(base, xres, yres, wx, wy, x1, y2, x, y2, x2, y2); in subdivide() 238 adjust(base, xres, yres, wx, wy, x1, y1, x1, y, x1, y2); in subdivide() 241 base[x + (xres * y)] = (base[x1 + xres * y1] + base[x2 + xres * y1] + base[x2 + xres * y2] + in subdivide() 242 base[x1 + xres * y2]) / in subdivide() 248 subdivide(base, xres, yres, wx, wy, x, y, x2, y2); in subdivide() 249 subdivide(base, xres, yres, wx, wy, x1, y, x, y2); in subdivide()
|
| H A D | trace.threads.cpp | 169 static bool schedule_thread_work(int &y1, int &y2) { in schedule_thread_work() argument 175 y2 = MIN(sched_nexty, stopy); in schedule_thread_work() 180 y2 = MIN(sched_nexty, stopy); in schedule_thread_work() 194 int y1, y2; in parallel_thread() local 195 while (schedule_thread_work(y1, y2)) { in parallel_thread() 196 for (int y = y1; y < y2; y++) { in parallel_thread()
|
| H A D | imap.cpp | 77 int x1, x2, y1, y2; in ImageMap() local 97 y2 = y1 + 1; in ImageMap() 106 ptr = image->data + ((image->xres * y2) + x1) * 3; in ImageMap() 107 ptr2 = image->data + ((image->xres * y2) + x2) * 3; in ImageMap()
|