Searched defs:cliptobyte (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dsurface_base.c756 static inline BYTE cliptobyte(int x) function
777 * R = cliptobyte((298 * C + 409 * E + 128) >> 8);
778 * G = cliptobyte((298 * C - 100 * D - 208 * E + 128) >> 8);
779 * B = cliptobyte((298 * C + 516 * D + 128) >> 8);
793 | cliptobyte((c2 + r2) >> 8) << 16 /* red */
794 | cliptobyte((c2 + g2) >> 8) << 8 /* green */
795 | cliptobyte((c2 + b2) >> 8); /* blue */
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dsurface.c3884 static inline BYTE cliptobyte(int x) function
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((29
[all...]

Completed in 151 milliseconds