Home
last modified time | relevance | path

Searched refs:x1 (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()
232 x = (x1 + x2) / 2; in subdivide()
235 adjust(base, xres, yres, wx, wy, x1, y1, x, y1, x2, y1); 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()
246 subdivide(base, xres, yres, wx, wy, x1, y1, x, y); in subdivide()
249 subdivide(base, xres, yres, wx, wy, x1, y, x, y2); in subdivide()
H A Dimap.cpp77 int x1, x2, y1, y2; in ImageMap() local
93 x1 = (int)x; in ImageMap()
94 x2 = x1 + 1; in ImageMap()
99 ptr = image->data + ((image->xres * y1) + x1) * 3; in ImageMap()
106 ptr = image->data + ((image->xres * y2) + x1) * 3; in ImageMap()
/oneTBB/examples/parallel_for/game_of_life/
H A DUpdate_state.cpp57 unsigned x1 = X[ind + 1].m128i_u32[0] & 1; in shift_left2D() local
60 X[ind].m128i_u32[3] |= x1 << 31; in shift_left2D()
81 unsigned x1 = X[ind + 1].m128i_u32[3]; in shift_right2D() local
82 x1 >>= 31; in shift_right2D()
92 X[ind + 2].m128i_u32[0] |= x1; in shift_right2D()
/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() argument
109 drawing_area area(off_x + x0, off_y + y0, x1 - x0, y1 - y0, dm); in render_rect()
112 for (int x = x0; x < x1; ++x) { in render_rect()
H A Dfractal.hpp66 void render_rect(int x0, int y0, int x1, int y1) const;