Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tbb::parallel_for(0, width * height * 3, 3, [=](int i) {
- int colorIndex = target[i] + 256 * (target[i + 1] + 256 * target[i + 2]);
- target[i] = transformCubeR[colorIndex];
- target[i + 1] = transformCubeG[colorIndex];
- target[i + 2] = transformCubeB[colorIndex];
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement