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
415
SkScalar
turbulenceFunctionResult
= 0;
421
turbulenceFunctionResult
+= SkScalarDiv(
435
// The value of
turbulenceFunctionResult
comes from ((
turbulenceFunctionResult
) + 1) / 2
436
// by fractalNoise and (
turbulenceFunctionResult
) by turbulence.
438
turbulenceFunctionResult
=
439
SkScalarMul(
turbulenceFunctionResult
, SK_ScalarHalf) + SK_ScalarHalf;
443
turbulenceFunctionResult
= SkScalarMul(
turbulenceFunctionResult
,
448
return SkScalarPin(
turbulenceFunctionResult
, 0, SK_Scalar1)
[
all
...]
/external/skia/src/effects/
SkPerlinNoiseShader.cpp
415
SkScalar
turbulenceFunctionResult
= 0;
421
turbulenceFunctionResult
+= SkScalarDiv(
435
// The value of
turbulenceFunctionResult
comes from ((
turbulenceFunctionResult
) + 1) / 2
436
// by fractalNoise and (
turbulenceFunctionResult
) by turbulence.
438
turbulenceFunctionResult
=
439
SkScalarMul(
turbulenceFunctionResult
, SK_ScalarHalf) + SK_ScalarHalf;
443
turbulenceFunctionResult
= SkScalarMul(
turbulenceFunctionResult
,
448
return SkScalarPin(
turbulenceFunctionResult
, 0, SK_Scalar1)
[
all
...]
Completed in 33 milliseconds