Searched refs:noiseValue (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFETurbulence.cpp209 inline void checkNoise(int& noiseValue, int limitValue, int newValue)
211 if (noiseValue >= limitValue)
212 noiseValue -= newValue;
213 if (noiseValue >= limitValue - 1)
214 noiseValue -= newValue - 1;
/external/chromium_org/third_party/skia/src/effects/
H A DSkPerlinNoiseShader.cpp33 // noiseValue is the color component's value (or color)
36 inline int checkNoise(int noiseValue, int limitValue, int newValue) { argument
40 if (noiseValue >= limitValue) {
41 noiseValue -= newValue;
43 return noiseValue;
/external/skia/src/effects/
H A DSkPerlinNoiseShader.cpp32 // noiseValue is the color component's value (or color)
35 inline int checkNoise(int noiseValue, int limitValue, int newValue) { argument
39 if (noiseValue >= limitValue) {
40 noiseValue -= newValue;
42 return noiseValue;

Completed in 94 milliseconds