Searched refs:kBlockMask (Results 1 – 1 of 1) sorted by relevance
35 static const int kBlockMask = kBlockSize - 1; variable437 noiseX.noisePositionIntegerValue &= kBlockMask; in noise2D()438 noiseY.noisePositionIntegerValue &= kBlockMask; in noise2D()439 noiseX.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()440 noiseY.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()443 int b00 = (i + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()444 int b10 = (j + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()445 int b01 = (i + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()446 int b11 = (j + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()