Searched refs:adjust_edge (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/core/ |
D | SkLinearBitmapPipeline_sample.h | 452 static inline int adjust_edge(SkShader::TileMode edgeType, int vs, int vMax) { in adjust_edge() function 596 int x0 = adjust_edge(fXEdgeType, SkScalarFloorToInt(X(sample) - 0.5), fXMax); in filterPoints() 598 int x1 = adjust_edge(fXEdgeType, SkScalarTruncToInt(X(sample) + 0.5), fXMax); in filterPoints() 599 int y0 = adjust_edge(fYEdgeType, SkScalarFloorToInt(Y(sample) - 0.5), fYMax); in filterPoints() 600 int y1 = adjust_edge(fYEdgeType, SkScalarTruncToInt(Y(sample) + 0.5), fYMax); in filterPoints() 681 int adjustedColumn = adjust_edge(fXEdgeType, xColumn, fXMax); in spanSlowRate() 797 int adjustedColumn = adjust_edge(fXEdgeType, xColumn, fXMax); in spanUnitRate() 913 int adjustedColumn = adjust_edge(fXEdgeType, xColumn, fXMax); in spanMediumRate()
|