Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 3 of 3) 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()
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()
241 base[x + (xres * y)] = (base[x1 + xres * y1] + base[x2 + xres * y1] + base[x2 + xres * y2] + in subdivide()
247 subdivide(base, xres, yres, wx, wy, x, y1, x2, y); in subdivide()
248 subdivide(base, xres, yres, wx, wy, x, y, x2, y2); in subdivide()
H A Dimap.cpp77 int x1, x2, y1, y2; in ImageMap() local
94 x2 = x1 + 1; in ImageMap()
100 ptr2 = image->data + ((image->xres * y1) + x2) * 3; in ImageMap()
107 ptr2 = image->data + ((image->xres * y2) + x2) * 3; in ImageMap()
/oneTBB/examples/parallel_for/game_of_life/
H A DUpdate_state.cpp62 unsigned x2 = X[ind + 2].m128i_u32[0] & 1; in shift_left2D() local
65 X[ind + 1].m128i_u32[3] |= x2 << 31; in shift_left2D()
88 unsigned x2 = dst[301 / 32u] & (1 << (301 % 32u)); in shift_right2D() local
89 x2 >>= (301 % 32u); in shift_right2D()
93 X[ind].m128i_u32[0] |= x2; in shift_right2D()