Lines Matching refs:alpha
56 uint8_t* alpha = fAlpha + offsetX; in add() local
57 uint8_t* lastAlpha = alpha; in add()
61 SkAlphaRuns::Break(runs, alpha, x, 1); in add()
67 unsigned tmp = alpha[x] + startAlpha; in add()
69 …alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to… in add()
72 alpha += x + 1; in add()
79 SkAlphaRuns::Break(runs, alpha, x, middleCount); in add()
80 alpha += x; in add()
84 alpha[0] = SkToU8(alpha[0] + maxValue); in add()
87 alpha += n; in add()
92 lastAlpha = alpha; in add()
96 SkAlphaRuns::Break(runs, alpha, x, 1); in add()
97 alpha += x; in add()
98 alpha[0] = SkToU8(alpha[0] + stopAlpha); in add()
100 lastAlpha = alpha; in add()
117 static void Break(int16_t runs[], uint8_t alpha[], int x, int count) {
124 uint8_t* next_alpha = alpha + x;
131 alpha[x] = alpha[0];
137 alpha += n;
142 alpha = next_alpha;
150 alpha[x] = alpha[0];
160 alpha += n;
170 static void BreakAt(int16_t runs[], uint8_t alpha[], int x) { in BreakAt() argument
176 alpha[x] = alpha[0]; in BreakAt()
182 alpha += n; in BreakAt()