Lines Matching refs:noise
174 // Copy noise data
175 uint16_t noise[4][kBlockSize][2];
179 noise[channel][i][j] = fNoise[channel][i][j];
183 // Do permutations on noise data
187 fNoise[channel][i][j] = noise[channel][fLatticeSelector[i]][j];
196 // Compute gradients from permutated noise data
204 // Put the normalized gradient back into the noise data
260 * About the noise types : the difference between the first 2 is just minor tweaks to the
262 * noise is generated in the [1, -1] range, the output is brought back in the [0, 1] range by
264 * kFractalNoise_Type : noise * 0.5 + 0.5
265 * kTurbulence_Type : abs(noise)
337 // limitValue is the maximum perlin noise array index value allowed
338 // newValue is the current noise dimension (either width or height)
340 // If the noise value would bring us out of bounds of the current noise array while we are
341 // stiching noise tiles together, wrap the noise around the current dimension of the noise to
481 SkScalar noise = noise2D(channel, stitchData, noiseVector);
483 noise : SkScalarAbs(noise);
552 // This (1,1) translation is due to WebKit's 1 based coordinates for the noise
715 // Add noise function
753 // affecting the result of the noise by making sure that we only have multiples of 1/255.
801 // Compute the noise as a linear interpolation of 'a' and 'b'
955 // color space of the noise. Either way, this case (and the GLSL) need to convert to