Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkLinearBitmapPipeline_sample.h418 static inline int adjust_edge(SkShader::TileMode edgeType, int vs, int vMax) { in adjust_edge() function
562 int x0 = adjust_edge(fXEdgeType, SkScalarFloorToInt(X(sample) - 0.5), fXMax); in filterPoints()
564 int x1 = adjust_edge(fXEdgeType, SkScalarTruncToInt(X(sample) + 0.5), fXMax); in filterPoints()
565 int y0 = adjust_edge(fYEdgeType, SkScalarFloorToInt(Y(sample) - 0.5), fYMax); in filterPoints()
566 int y1 = adjust_edge(fYEdgeType, SkScalarTruncToInt(Y(sample) + 0.5), fYMax); in filterPoints()
647 int adjustedColumn = adjust_edge(fXEdgeType, xColumn, fXMax); in spanSlowRate()
763 int adjustedColumn = adjust_edge(fXEdgeType, xColumn, fXMax); in spanUnitRate()
879 int adjustedColumn = adjust_edge(fXEdgeType, xColumn, fXMax); in spanMediumRate()