Searched refs:gOneHalf (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 44 const SkScalar gOneHalf = 0.5f; variable 218 sobel(m[3], m[6], m[4], m[7], m[5], m[8], gOneHalf), in topNormal() 229 return pointToNormal(sobel(m[1], m[2], m[4], m[5], m[7], m[8], gOneHalf), in leftNormal() 242 return pointToNormal(sobel(m[0], m[1], m[3], m[4], m[6], m[7], gOneHalf), in rightNormal() 255 sobel(m[0], m[3], m[1], m[4], m[2], m[5], gOneHalf), in bottomNormal() 1488 sobelFuncName, gOneHalf); in emitNormalFunc() 1501 pointToNormalName, sobelFuncName, gOneHalf, in emitNormalFunc() 1515 pointToNormalName, sobelFuncName, gOneHalf, in emitNormalFunc() 1530 sobelFuncName, gOneHalf); in emitNormalFunc()
|
/external/skqp/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 44 const SkScalar gOneHalf = 0.5f; variable 214 sobel(m[3], m[6], m[4], m[7], m[5], m[8], gOneHalf), in topNormal() 225 return pointToNormal(sobel(m[1], m[2], m[4], m[5], m[7], m[8], gOneHalf), in leftNormal() 238 return pointToNormal(sobel(m[0], m[1], m[3], m[4], m[6], m[7], gOneHalf), in rightNormal() 251 sobel(m[0], m[3], m[1], m[4], m[2], m[5], gOneHalf), in bottomNormal() 1557 sobelFuncName, gOneHalf); in emitNormalFunc() 1570 pointToNormalName, sobelFuncName, gOneHalf, in emitNormalFunc() 1584 pointToNormalName, sobelFuncName, gOneHalf, in emitNormalFunc() 1599 sobelFuncName, gOneHalf); in emitNormalFunc()
|