Lines Matching defs:cliptobyte
3884 static inline BYTE cliptobyte(int x)
3905 * R = cliptobyte((298 * C + 409 * E + 128) >> 8);
3906 * G = cliptobyte((298 * C - 100 * D - 208 * E + 128) >> 8);
3907 * B = cliptobyte((298 * C + 516 * D + 128) >> 8);
3920 | cliptobyte((c2 + r2) >> 8) << 16 /* red */
3921 | cliptobyte((c2 + g2) >> 8) << 8 /* green */
3922 | cliptobyte((c2 + b2) >> 8); /* blue */
3947 * R = cliptobyte((298 * C + 409 * E + 128) >> 8);
3948 * G = cliptobyte((298 * C - 100 * D - 208 * E + 128) >> 8);
3949 * B = cliptobyte((298 * C + 516 * D + 128) >> 8);
3961 dst_line[x] = (cliptobyte((c2 + r2) >> 8) >> 3) << 11 /* red */
3962 | (cliptobyte((c2 + g2) >> 8) >> 2) << 5 /* green */
3963 | (cliptobyte((c2 + b2) >> 8) >> 3); /* blue */