Home
last modified time | relevance | path

Searched refs:fBaseFrequency (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/effects/
DSkPerlinNoiseShader.cpp87 fBaseFrequency.set(SkScalarInvert(vec[0].fX), SkScalarInvert(vec[0].fY)); in PaintingData()
108 SkVector fBaseFrequency; member
207 if (fBaseFrequency.fX) { in stitch()
209 SkScalarFloorToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch()
211 SkScalarCeilToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch()
213 if (fBaseFrequency.fX / lowFrequencx < highFrequencx / fBaseFrequency.fX) { in stitch()
214 fBaseFrequency.fX = lowFrequencx; in stitch()
216 fBaseFrequency.fX = highFrequencx; in stitch()
219 if (fBaseFrequency.fY) { in stitch()
221 SkScalarFloorToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
[all …]
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp119 fBaseFrequency.set(SkScalarInvert(vec[0].fX), SkScalarInvert(vec[0].fY)); in PaintingData()
162 SkVector fBaseFrequency; member
263 if (fBaseFrequency.fX) { in stitch()
265 SkScalarFloorToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch()
267 SkScalarCeilToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch()
269 if (fBaseFrequency.fX / lowFrequencx < highFrequencx / fBaseFrequency.fX) { in stitch()
270 fBaseFrequency.fX = lowFrequencx; in stitch()
272 fBaseFrequency.fX = highFrequencx; in stitch()
275 if (fBaseFrequency.fY) { in stitch()
277 SkScalarFloorToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
[all …]