Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 5 of 5) sorted by relevance

/oneTBB/examples/parallel_for/tachyon/src/
H A Dapigeom.cpp225 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()
235 adjust(base, xres, yres, wx, wy, x1, y1, x, y1, x2, y1); in subdivide()
236 adjust(base, xres, yres, wx, wy, x2, y1, x2, y, 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()
246 subdivide(base, xres, yres, wx, wy, x1, y1, x, y); in subdivide()
247 subdivide(base, xres, yres, wx, wy, x, y1, x2, y); in subdivide()
H A Dtrace.threads.cpp169 static bool schedule_thread_work(int &y1, int &y2) { in schedule_thread_work() argument
173 y1 = sched_nexty; in schedule_thread_work()
178 y1 = sched_nexty; in schedule_thread_work()
183 return (y1 <= 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 Dimap.cpp77 int x1, x2, y1, y2; in ImageMap() local
96 y1 = (int)y; in ImageMap()
97 y2 = y1 + 1; in ImageMap()
99 ptr = image->data + ((image->xres * y1) + x1) * 3; in ImageMap()
100 ptr2 = image->data + ((image->xres * y1) + x2) * 3; in ImageMap()
/oneTBB/examples/task_arena/fractal/
H A Dfractal.cpp107 void fractal::render_rect(int x0, int y0, int x1, int y1) const { in render_rect()
109 drawing_area area(off_x + x0, off_y + y0, x1 - x0, y1 - y0, dm); in render_rect()
110 for (int y = y0; y < y1; ++y) { in render_rect()
H A Dfractal.hpp66 void render_rect(int x0, int y0, int x1, int y1) const;