D | u_format.c | 1097 #define REMAP_RGBA_ONE(r, rs, g, gs, b, bs, a, as, type) \ in util_format_rgb_to_bgr() argument 1098 case PIPE_FORMAT_##r##rs##g##gs##b##bs##a##as##_##type: \ in util_format_rgb_to_bgr() 1099 return PIPE_FORMAT_##b##bs##g##gs##r##rs##a##as##_##type; in util_format_rgb_to_bgr() 1101 #define REMAP_ARGB_ONE(a, as, r, rs, g, gs, b, bs, type) \ in util_format_rgb_to_bgr() argument 1102 case PIPE_FORMAT_##a##as##r##rs##g##gs##b##bs##_##type: \ in util_format_rgb_to_bgr() 1103 return PIPE_FORMAT_##a##as##b##bs##g##gs##r##rs##_##type; in util_format_rgb_to_bgr() 1105 #define REMAP_RGB_AX(A, rs, gs, bs, as, type) \ in util_format_rgb_to_bgr() argument 1106 REMAP_RGBA_ONE(R, rs, G, gs, B, bs, A, as, type) \ in util_format_rgb_to_bgr() 1107 REMAP_RGBA_ONE(B, bs, G, gs, R, rs, A, as, type) \ in util_format_rgb_to_bgr() 1109 #define REMAP_AX_RGB(A, rs, gs, bs, as, type) \ in util_format_rgb_to_bgr() argument [all …]
|