Searched refs:ClampTo8 (Results 1 – 1 of 1) sorted by relevance
13 inline unsigned char ClampTo8(int a) { in ClampTo8() function152 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()230 outRow[byteOffset + 0] = ClampTo8(accum[0]); in ConvolveVertically()231 outRow[byteOffset + 1] = ClampTo8(accum[1]); in ConvolveVertically()232 outRow[byteOffset + 2] = ClampTo8(accum[2]); in ConvolveVertically()234 unsigned char alpha = ClampTo8(accum[3]); in ConvolveVertically()