Guest User

Complicated access pattern?

a guest
Aug 10th, 2011
71
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (i = 0;i < count;i++)
  2.                     {
  3.                         paint[i].sample[0] += (samples[0] * vol[0]) >> 16;
  4.                         paint[i].sample[1] += (samples[0] * vol[1]) >> 16;
  5.                         paint[i].sample[2] += (samples[0] * vol[2]) >> 16;
  6.                         paint[i].sample[3] += (samples[0] * vol[3]) >> 16;
  7.                         paint[i].sample[4] += (samples[0] * vol[4]) >> 16;
  8.                         paint[i].sample[5] += (samples[0] * vol[5]) >> 16;
  9.                         paint[i].sample[6] += (samples[0] * vol[6]) >> 16;
  10.                         paint[i].sample[7] += (samples[0] * vol[7]) >> 16;
  11.                         samples += 1;
  12.                     }
RAW Paste Data