OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:turbulenceFunctionResult
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FETurbulence.cpp
300
float
turbulenceFunctionResult
= 0;
305
turbulenceFunctionResult
+= noise2D(channel, paintingData, stitchData, noiseVector) / ratio;
307
turbulenceFunctionResult
+= fabsf(noise2D(channel, paintingData, stitchData, noiseVector)) / ratio;
321
// The value of
turbulenceFunctionResult
comes from ((
turbulenceFunctionResult
* 255) + 255) / 2 by fractalNoise
322
// and (
turbulenceFunctionResult
* 255) by turbulence.
324
turbulenceFunctionResult
=
turbulenceFunctionResult
* 0.5f + 0.5f;
326
turbulenceFunctionResult
= std::max(std::min(
turbulenceFunctionResult
, 1.f), 0.f)
[
all
...]
/external/chromium_org/third_party/skia/src/effects/
SkPerlinNoiseShader.cpp
382
SkScalar
turbulenceFunctionResult
= 0;
388
turbulenceFunctionResult
+= SkScalarDiv(
402
// The value of
turbulenceFunctionResult
comes from ((
turbulenceFunctionResult
) + 1) / 2
403
// by fractalNoise and (
turbulenceFunctionResult
) by turbulence.
405
turbulenceFunctionResult
=
406
SkScalarMul(
turbulenceFunctionResult
, SK_ScalarHalf) + SK_ScalarHalf;
410
turbulenceFunctionResult
= SkScalarMul(
turbulenceFunctionResult
,
415
return SkScalarPin(
turbulenceFunctionResult
, 0, SK_Scalar1)
[
all
...]
/external/skia/src/effects/
SkPerlinNoiseShader.cpp
382
SkScalar
turbulenceFunctionResult
= 0;
388
turbulenceFunctionResult
+= SkScalarDiv(
402
// The value of
turbulenceFunctionResult
comes from ((
turbulenceFunctionResult
) + 1) / 2
403
// by fractalNoise and (
turbulenceFunctionResult
) by turbulence.
405
turbulenceFunctionResult
=
406
SkScalarMul(
turbulenceFunctionResult
, SK_ScalarHalf) + SK_ScalarHalf;
410
turbulenceFunctionResult
= SkScalarMul(
turbulenceFunctionResult
,
415
return SkScalarPin(
turbulenceFunctionResult
, 0, SK_Scalar1)
[
all
...]
Completed in 149 milliseconds