Lines Matching refs:kBlockMask
25 static const int kBlockMask = kBlockSize - 1;
383 noiseX.noisePositionIntegerValue &= kBlockMask;
384 noiseY.noisePositionIntegerValue &= kBlockMask;
389 paintingData.fLatticeSelector[(noiseX.noisePositionIntegerValue + 1) & kBlockMask] +
396 u = paintingData.fGradient[channel][latticeIndex & kBlockMask].dot(fractionValue);
398 v = paintingData.fGradient[channel][nextLatticeIndex & kBlockMask].dot(fractionValue);
401 v = paintingData.fGradient[channel][(nextLatticeIndex + 1) & kBlockMask].dot(fractionValue);
403 u = paintingData.fGradient[channel][(latticeIndex + 1) & kBlockMask].dot(fractionValue);