Advertisement
Guest User

Untitled

a guest
Sep 10th, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. tbb::parallel_for(0, width * height * 3, 3, [=](int i) {
  2. int colorIndex = target[i] + 256 * (target[i + 1] + 256 * target[i + 2]);
  3. target[i] = transformCubeR[colorIndex];
  4. target[i + 1] = transformCubeG[colorIndex];
  5. target[i + 2] = transformCubeB[colorIndex];
  6. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement