Home
last modified time | relevance | path

Searched refs:kBlockMask (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/skia/src/effects/
DSkPerlinNoiseShader.cpp26 static const int kBlockMask = kBlockSize - 1; variable
345 noiseX.noisePositionIntegerValue &= kBlockMask; in noise2D()
346 noiseY.noisePositionIntegerValue &= kBlockMask; in noise2D()
347 noiseX.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
348 noiseY.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
353 int b00 = (i + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
354 int b10 = (j + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
355 int b01 = (i + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
356 int b11 = (j + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp26 static const int kBlockMask = kBlockSize - 1; variable
345 noiseX.noisePositionIntegerValue &= kBlockMask; in noise2D()
346 noiseY.noisePositionIntegerValue &= kBlockMask; in noise2D()
347 noiseX.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
348 noiseY.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
353 int b00 = (i + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
354 int b10 = (j + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
355 int b01 = (i + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
356 int b11 = (j + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
/external/chromium_org/third_party/brotli/src/brotli/enc/
Dhash.h147 const int minor_ix = num_[key] & kBlockMask; in Store()
300 int prev_ix = bucket[i & kBlockMask]; in FindLongestMatch()
395 static const uint32_t kBlockMask = (1 << kBlockBits) - 1; variable