Searched refs:color_value (Results 1 – 1 of 1) sorted by relevance
35 static inline void d3drm_normalize_d3d_color(D3DCOLORVALUE *color_value, D3DCOLOR color) in d3drm_normalize_d3d_color() argument37 color_value->u1.r = RGBA_GETRED(color) / 255.0f; in d3drm_normalize_d3d_color()38 color_value->u2.g = RGBA_GETGREEN(color) / 255.0f; in d3drm_normalize_d3d_color()39 color_value->u3.b = RGBA_GETBLUE(color) / 255.0f; in d3drm_normalize_d3d_color()40 color_value->u4.a = RGBA_GETALPHA(color) / 255.0f; in d3drm_normalize_d3d_color()