Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkLightingImageFilter.cpp41 const SkScalar gTwoThirds = SkIntToScalar(2) / 3; variable
135 return pointToNormal(sobel(0, 0, m[4], m[5], m[7], m[8], gTwoThirds), in topLeftNormal()
136 sobel(0, 0, m[4], m[7], m[5], m[8], gTwoThirds), in topLeftNormal()
147 return pointToNormal(sobel( 0, 0, m[3], m[4], m[6], m[7], gTwoThirds), in topRightNormal()
148 sobel(m[3], m[6], m[4], m[7], 0, 0, gTwoThirds), in topRightNormal()
172 return pointToNormal(sobel(m[1], m[2], m[4], m[5], 0, 0, gTwoThirds), in bottomLeftNormal()
173 sobel( 0, 0, m[1], m[4], m[2], m[5], gTwoThirds), in bottomLeftNormal()
184 return pointToNormal(sobel(m[0], m[1], m[3], m[4], 0, 0, gTwoThirds), in bottomRightNormal()
185 sobel(m[0], m[3], m[1], m[4], 0, 0, gTwoThirds), in bottomRightNormal()
1503 pointToNormalName, sobelFuncName, gTwoThirds, in emitNormalFunc()
[all …]