Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkConvolver.cpp13 inline unsigned char ClampTo8(int a) { in ClampTo8() function
152 outRow[outX * 4 + 0] = ClampTo8(accum[0]); in ConvolveHorizontally()
153 outRow[outX * 4 + 1] = ClampTo8(accum[1]); in ConvolveHorizontally()
154 outRow[outX * 4 + 2] = ClampTo8(accum[2]); in ConvolveHorizontally()
156 outRow[outX * 4 + 3] = ClampTo8(accum[3]); in ConvolveHorizontally()
202 outRow[byteOffset + 0] = ClampTo8(accum[0]); in ConvolveVertically()
203 outRow[byteOffset + 1] = ClampTo8(accum[1]); in ConvolveVertically()
204 outRow[byteOffset + 2] = ClampTo8(accum[2]); in ConvolveVertically()
206 unsigned char alpha = ClampTo8(accum[3]); in ConvolveVertically()
/external/chromium_org/third_party/skia/src/core/
DSkConvolver.cpp13 inline unsigned char ClampTo8(int a) { in ClampTo8() function
152 outRow[outX * 4 + 0] = ClampTo8(accum[0]); in ConvolveHorizontally()
153 outRow[outX * 4 + 1] = ClampTo8(accum[1]); in ConvolveHorizontally()
154 outRow[outX * 4 + 2] = ClampTo8(accum[2]); in ConvolveHorizontally()
156 outRow[outX * 4 + 3] = ClampTo8(accum[3]); in ConvolveHorizontally()
202 outRow[byteOffset + 0] = ClampTo8(accum[0]); in ConvolveVertically()
203 outRow[byteOffset + 1] = ClampTo8(accum[1]); in ConvolveVertically()
204 outRow[byteOffset + 2] = ClampTo8(accum[2]); in ConvolveVertically()
206 unsigned char alpha = ClampTo8(accum[3]); in ConvolveVertically()
/external/chromium_org/skia/ext/
Dconvolver.cc20 inline unsigned char ClampTo8(int a) { in ClampTo8() function
36 return ClampTo8(a); in BringBackTo8()
164 out_row[out_x * 4 + 0] = ClampTo8(accum[0]); in ConvolveHorizontally()
165 out_row[out_x * 4 + 1] = ClampTo8(accum[1]); in ConvolveHorizontally()
166 out_row[out_x * 4 + 2] = ClampTo8(accum[2]); in ConvolveHorizontally()
168 out_row[out_x * 4 + 3] = ClampTo8(accum[3]); in ConvolveHorizontally()
211 out_row[byte_offset + 0] = ClampTo8(accum[0]); in ConvolveVertically()
212 out_row[byte_offset + 1] = ClampTo8(accum[1]); in ConvolveVertically()
213 out_row[byte_offset + 2] = ClampTo8(accum[2]); in ConvolveVertically()
215 unsigned char alpha = ClampTo8(accum[3]); in ConvolveVertically()