Lines Matching refs:ClampUint8
111 *y = ClampUint8(.257 * r + .504 * g + .098 * b + 16);112 *u = ClampUint8(-.148 * r - .291 * g + .439 * b + 128);113 *v = ClampUint8(.439 * r - .368 * g - .071 * b + 128);116 uint8 ClampUint8(double value) {