OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fNoise
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/skia/src/effects/
SkPerlinNoiseShader.cpp
98
uint16_t
fNoise
[4][kBlockSize][2];
138
fNoise
[channel][i][0] = (random() % (2 * kBlockSize));
139
fNoise
[channel][i][1] = (random() % (2 * kBlockSize));
158
noise[channel][i][j] =
fNoise
[channel][i][j];
166
fNoise
[channel][i][j] = noise[channel][fLatticeSelector[i]][j];
179
SkScalarMul(SkIntToScalar(
fNoise
[channel][i][0] - kBlockSize),
181
SkScalarMul(SkIntToScalar(
fNoise
[channel][i][1] - kBlockSize),
185
fNoise
[channel][i][0] = SkScalarRoundToInt(SkScalarMul(
187
fNoise
[channel][i][1] = SkScalarRoundToInt(SkScalarMul(
258
memcpy(bitmapPixels,
fNoise
[0][0], sizeof(uint16_t) * kBlockSize * 4 * 2)
[
all
...]
/external/skia/src/effects/
SkPerlinNoiseShader.cpp
98
uint16_t
fNoise
[4][kBlockSize][2];
138
fNoise
[channel][i][0] = (random() % (2 * kBlockSize));
139
fNoise
[channel][i][1] = (random() % (2 * kBlockSize));
158
noise[channel][i][j] =
fNoise
[channel][i][j];
166
fNoise
[channel][i][j] = noise[channel][fLatticeSelector[i]][j];
179
SkScalarMul(SkIntToScalar(
fNoise
[channel][i][0] - kBlockSize),
181
SkScalarMul(SkIntToScalar(
fNoise
[channel][i][1] - kBlockSize),
185
fNoise
[channel][i][0] = SkScalarRoundToInt(SkScalarMul(
187
fNoise
[channel][i][1] = SkScalarRoundToInt(SkScalarMul(
258
memcpy(bitmapPixels,
fNoise
[0][0], sizeof(uint16_t) * kBlockSize * 4 * 2)
[
all
...]
Completed in 30 milliseconds