src/video/SDL_blit_auto.c
changeset 2263 900c35d8e8fd
parent 2262 bee005ace1bf
child 2267 c785543d1843
     1.1 --- a/src/video/SDL_blit_auto.c	Fri Aug 17 06:21:58 2007 +0000
     1.2 +++ b/src/video/SDL_blit_auto.c	Fri Aug 17 06:40:12 2007 +0000
     1.3 @@ -28,97 +28,7 @@
     1.4  #include "SDL_blit.h"
     1.5  #include "SDL_blit_auto.h"
     1.6  
     1.7 -static SDL_BlitFuncEntry _SDL_GeneratedBlitFuncTable[] = {
     1.8 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Scale },
     1.9 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Blend },
    1.10 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Blend_Scale },
    1.11 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate },
    1.12 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate_Scale },
    1.13 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate_Blend },
    1.14 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale },
    1.15 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Scale },
    1.16 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Blend },
    1.17 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Blend_Scale },
    1.18 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate },
    1.19 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate_Scale },
    1.20 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate_Blend },
    1.21 -    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate_Blend_Scale },
    1.22 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Scale },
    1.23 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Blend },
    1.24 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Blend_Scale },
    1.25 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate },
    1.26 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate_Scale },
    1.27 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate_Blend },
    1.28 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate_Blend_Scale },
    1.29 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Scale },
    1.30 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Blend },
    1.31 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Blend_Scale },
    1.32 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate },
    1.33 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate_Scale },
    1.34 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate_Blend },
    1.35 -    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate_Blend_Scale },
    1.36 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Scale },
    1.37 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Blend },
    1.38 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Blend_Scale },
    1.39 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate },
    1.40 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate_Scale },
    1.41 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate_Blend },
    1.42 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate_Blend_Scale },
    1.43 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Scale },
    1.44 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Blend },
    1.45 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Blend_Scale },
    1.46 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate },
    1.47 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate_Scale },
    1.48 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate_Blend },
    1.49 -    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate_Blend_Scale },
    1.50 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Scale },
    1.51 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Blend },
    1.52 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Blend_Scale },
    1.53 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate },
    1.54 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate_Scale },
    1.55 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate_Blend },
    1.56 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate_Blend_Scale },
    1.57 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Scale },
    1.58 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Blend },
    1.59 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Blend_Scale },
    1.60 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate },
    1.61 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate_Scale },
    1.62 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate_Blend },
    1.63 -    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate_Blend_Scale },
    1.64 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Scale },
    1.65 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Blend },
    1.66 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Blend_Scale },
    1.67 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate },
    1.68 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate_Scale },
    1.69 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate_Blend },
    1.70 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate_Blend_Scale },
    1.71 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Scale },
    1.72 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Blend },
    1.73 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Blend_Scale },
    1.74 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate },
    1.75 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate_Scale },
    1.76 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate_Blend },
    1.77 -    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate_Blend_Scale },
    1.78 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Scale },
    1.79 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Blend },
    1.80 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Blend_Scale },
    1.81 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate },
    1.82 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate_Scale },
    1.83 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate_Blend },
    1.84 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate_Blend_Scale },
    1.85 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Scale },
    1.86 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Blend },
    1.87 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Blend_Scale },
    1.88 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate },
    1.89 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate_Scale },
    1.90 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate_Blend },
    1.91 -    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate_Blend_Scale },
    1.92 -    { 0, 0, 0, 0, NULL }
    1.93 -};
    1.94 -
    1.95 -SDL_BlitFuncEntry *SDL_GeneratedBlitFuncTable = _SDL_GeneratedBlitFuncTable;
    1.96 -
    1.97 -void SDL_Blit_RGB888_RGB888_Scale(SDL_BlitInfo *info)
    1.98 +static void SDL_Blit_RGB888_RGB888_Scale(SDL_BlitInfo *info)
    1.99  {
   1.100      const int flags = info->flags;
   1.101      int srcy, srcx;
   1.102 @@ -157,7 +67,7 @@
   1.103      }
   1.104  }
   1.105  
   1.106 -void SDL_Blit_RGB888_RGB888_Blend(SDL_BlitInfo *info)
   1.107 +static void SDL_Blit_RGB888_RGB888_Blend(SDL_BlitInfo *info)
   1.108  {
   1.109      const int flags = info->flags;
   1.110      Uint32 srcpixel;
   1.111 @@ -216,7 +126,7 @@
   1.112      }
   1.113  }
   1.114  
   1.115 -void SDL_Blit_RGB888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.116 +static void SDL_Blit_RGB888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.117  {
   1.118      const int flags = info->flags;
   1.119      Uint32 srcpixel;
   1.120 @@ -296,7 +206,7 @@
   1.121      }
   1.122  }
   1.123  
   1.124 -void SDL_Blit_RGB888_RGB888_Modulate(SDL_BlitInfo *info)
   1.125 +static void SDL_Blit_RGB888_RGB888_Modulate(SDL_BlitInfo *info)
   1.126  {
   1.127      const int flags = info->flags;
   1.128      const Uint32 modulateR = info->r;
   1.129 @@ -331,7 +241,7 @@
   1.130      }
   1.131  }
   1.132  
   1.133 -void SDL_Blit_RGB888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.134 +static void SDL_Blit_RGB888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.135  {
   1.136      const int flags = info->flags;
   1.137      const Uint32 modulateR = info->r;
   1.138 @@ -387,7 +297,7 @@
   1.139      }
   1.140  }
   1.141  
   1.142 -void SDL_Blit_RGB888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.143 +static void SDL_Blit_RGB888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.144  {
   1.145      const int flags = info->flags;
   1.146      const Uint32 modulateR = info->r;
   1.147 @@ -458,7 +368,7 @@
   1.148      }
   1.149  }
   1.150  
   1.151 -void SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.152 +static void SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.153  {
   1.154      const int flags = info->flags;
   1.155      const Uint32 modulateR = info->r;
   1.156 @@ -550,7 +460,7 @@
   1.157      }
   1.158  }
   1.159  
   1.160 -void SDL_Blit_RGB888_BGR888_Scale(SDL_BlitInfo *info)
   1.161 +static void SDL_Blit_RGB888_BGR888_Scale(SDL_BlitInfo *info)
   1.162  {
   1.163      const int flags = info->flags;
   1.164      Uint32 pixel;
   1.165 @@ -594,7 +504,7 @@
   1.166      }
   1.167  }
   1.168  
   1.169 -void SDL_Blit_RGB888_BGR888_Blend(SDL_BlitInfo *info)
   1.170 +static void SDL_Blit_RGB888_BGR888_Blend(SDL_BlitInfo *info)
   1.171  {
   1.172      const int flags = info->flags;
   1.173      Uint32 srcpixel;
   1.174 @@ -653,7 +563,7 @@
   1.175      }
   1.176  }
   1.177  
   1.178 -void SDL_Blit_RGB888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.179 +static void SDL_Blit_RGB888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.180  {
   1.181      const int flags = info->flags;
   1.182      Uint32 srcpixel;
   1.183 @@ -733,7 +643,7 @@
   1.184      }
   1.185  }
   1.186  
   1.187 -void SDL_Blit_RGB888_BGR888_Modulate(SDL_BlitInfo *info)
   1.188 +static void SDL_Blit_RGB888_BGR888_Modulate(SDL_BlitInfo *info)
   1.189  {
   1.190      const int flags = info->flags;
   1.191      const Uint32 modulateR = info->r;
   1.192 @@ -768,7 +678,7 @@
   1.193      }
   1.194  }
   1.195  
   1.196 -void SDL_Blit_RGB888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.197 +static void SDL_Blit_RGB888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.198  {
   1.199      const int flags = info->flags;
   1.200      const Uint32 modulateR = info->r;
   1.201 @@ -824,7 +734,7 @@
   1.202      }
   1.203  }
   1.204  
   1.205 -void SDL_Blit_RGB888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.206 +static void SDL_Blit_RGB888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.207  {
   1.208      const int flags = info->flags;
   1.209      const Uint32 modulateR = info->r;
   1.210 @@ -895,7 +805,7 @@
   1.211      }
   1.212  }
   1.213  
   1.214 -void SDL_Blit_RGB888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.215 +static void SDL_Blit_RGB888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.216  {
   1.217      const int flags = info->flags;
   1.218      const Uint32 modulateR = info->r;
   1.219 @@ -987,7 +897,7 @@
   1.220      }
   1.221  }
   1.222  
   1.223 -void SDL_Blit_BGR888_RGB888_Scale(SDL_BlitInfo *info)
   1.224 +static void SDL_Blit_BGR888_RGB888_Scale(SDL_BlitInfo *info)
   1.225  {
   1.226      const int flags = info->flags;
   1.227      Uint32 pixel;
   1.228 @@ -1031,7 +941,7 @@
   1.229      }
   1.230  }
   1.231  
   1.232 -void SDL_Blit_BGR888_RGB888_Blend(SDL_BlitInfo *info)
   1.233 +static void SDL_Blit_BGR888_RGB888_Blend(SDL_BlitInfo *info)
   1.234  {
   1.235      const int flags = info->flags;
   1.236      Uint32 srcpixel;
   1.237 @@ -1090,7 +1000,7 @@
   1.238      }
   1.239  }
   1.240  
   1.241 -void SDL_Blit_BGR888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.242 +static void SDL_Blit_BGR888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.243  {
   1.244      const int flags = info->flags;
   1.245      Uint32 srcpixel;
   1.246 @@ -1170,7 +1080,7 @@
   1.247      }
   1.248  }
   1.249  
   1.250 -void SDL_Blit_BGR888_RGB888_Modulate(SDL_BlitInfo *info)
   1.251 +static void SDL_Blit_BGR888_RGB888_Modulate(SDL_BlitInfo *info)
   1.252  {
   1.253      const int flags = info->flags;
   1.254      const Uint32 modulateR = info->r;
   1.255 @@ -1205,7 +1115,7 @@
   1.256      }
   1.257  }
   1.258  
   1.259 -void SDL_Blit_BGR888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.260 +static void SDL_Blit_BGR888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.261  {
   1.262      const int flags = info->flags;
   1.263      const Uint32 modulateR = info->r;
   1.264 @@ -1261,7 +1171,7 @@
   1.265      }
   1.266  }
   1.267  
   1.268 -void SDL_Blit_BGR888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.269 +static void SDL_Blit_BGR888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.270  {
   1.271      const int flags = info->flags;
   1.272      const Uint32 modulateR = info->r;
   1.273 @@ -1332,7 +1242,7 @@
   1.274      }
   1.275  }
   1.276  
   1.277 -void SDL_Blit_BGR888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.278 +static void SDL_Blit_BGR888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.279  {
   1.280      const int flags = info->flags;
   1.281      const Uint32 modulateR = info->r;
   1.282 @@ -1424,7 +1334,7 @@
   1.283      }
   1.284  }
   1.285  
   1.286 -void SDL_Blit_BGR888_BGR888_Scale(SDL_BlitInfo *info)
   1.287 +static void SDL_Blit_BGR888_BGR888_Scale(SDL_BlitInfo *info)
   1.288  {
   1.289      const int flags = info->flags;
   1.290      int srcy, srcx;
   1.291 @@ -1463,7 +1373,7 @@
   1.292      }
   1.293  }
   1.294  
   1.295 -void SDL_Blit_BGR888_BGR888_Blend(SDL_BlitInfo *info)
   1.296 +static void SDL_Blit_BGR888_BGR888_Blend(SDL_BlitInfo *info)
   1.297  {
   1.298      const int flags = info->flags;
   1.299      Uint32 srcpixel;
   1.300 @@ -1522,7 +1432,7 @@
   1.301      }
   1.302  }
   1.303  
   1.304 -void SDL_Blit_BGR888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.305 +static void SDL_Blit_BGR888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.306  {
   1.307      const int flags = info->flags;
   1.308      Uint32 srcpixel;
   1.309 @@ -1602,7 +1512,7 @@
   1.310      }
   1.311  }
   1.312  
   1.313 -void SDL_Blit_BGR888_BGR888_Modulate(SDL_BlitInfo *info)
   1.314 +static void SDL_Blit_BGR888_BGR888_Modulate(SDL_BlitInfo *info)
   1.315  {
   1.316      const int flags = info->flags;
   1.317      const Uint32 modulateR = info->r;
   1.318 @@ -1637,7 +1547,7 @@
   1.319      }
   1.320  }
   1.321  
   1.322 -void SDL_Blit_BGR888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.323 +static void SDL_Blit_BGR888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.324  {
   1.325      const int flags = info->flags;
   1.326      const Uint32 modulateR = info->r;
   1.327 @@ -1693,7 +1603,7 @@
   1.328      }
   1.329  }
   1.330  
   1.331 -void SDL_Blit_BGR888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.332 +static void SDL_Blit_BGR888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.333  {
   1.334      const int flags = info->flags;
   1.335      const Uint32 modulateR = info->r;
   1.336 @@ -1764,7 +1674,7 @@
   1.337      }
   1.338  }
   1.339  
   1.340 -void SDL_Blit_BGR888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.341 +static void SDL_Blit_BGR888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.342  {
   1.343      const int flags = info->flags;
   1.344      const Uint32 modulateR = info->r;
   1.345 @@ -1856,7 +1766,7 @@
   1.346      }
   1.347  }
   1.348  
   1.349 -void SDL_Blit_ARGB8888_RGB888_Scale(SDL_BlitInfo *info)
   1.350 +static void SDL_Blit_ARGB8888_RGB888_Scale(SDL_BlitInfo *info)
   1.351  {
   1.352      const int flags = info->flags;
   1.353      Uint32 pixel;
   1.354 @@ -1900,7 +1810,7 @@
   1.355      }
   1.356  }
   1.357  
   1.358 -void SDL_Blit_ARGB8888_RGB888_Blend(SDL_BlitInfo *info)
   1.359 +static void SDL_Blit_ARGB8888_RGB888_Blend(SDL_BlitInfo *info)
   1.360  {
   1.361      const int flags = info->flags;
   1.362      Uint32 srcpixel;
   1.363 @@ -1959,7 +1869,7 @@
   1.364      }
   1.365  }
   1.366  
   1.367 -void SDL_Blit_ARGB8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.368 +static void SDL_Blit_ARGB8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.369  {
   1.370      const int flags = info->flags;
   1.371      Uint32 srcpixel;
   1.372 @@ -2039,7 +1949,7 @@
   1.373      }
   1.374  }
   1.375  
   1.376 -void SDL_Blit_ARGB8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.377 +static void SDL_Blit_ARGB8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.378  {
   1.379      const int flags = info->flags;
   1.380      const Uint32 modulateR = info->r;
   1.381 @@ -2074,7 +1984,7 @@
   1.382      }
   1.383  }
   1.384  
   1.385 -void SDL_Blit_ARGB8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.386 +static void SDL_Blit_ARGB8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.387  {
   1.388      const int flags = info->flags;
   1.389      const Uint32 modulateR = info->r;
   1.390 @@ -2130,7 +2040,7 @@
   1.391      }
   1.392  }
   1.393  
   1.394 -void SDL_Blit_ARGB8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.395 +static void SDL_Blit_ARGB8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.396  {
   1.397      const int flags = info->flags;
   1.398      const Uint32 modulateR = info->r;
   1.399 @@ -2201,7 +2111,7 @@
   1.400      }
   1.401  }
   1.402  
   1.403 -void SDL_Blit_ARGB8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.404 +static void SDL_Blit_ARGB8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.405  {
   1.406      const int flags = info->flags;
   1.407      const Uint32 modulateR = info->r;
   1.408 @@ -2293,7 +2203,7 @@
   1.409      }
   1.410  }
   1.411  
   1.412 -void SDL_Blit_ARGB8888_BGR888_Scale(SDL_BlitInfo *info)
   1.413 +static void SDL_Blit_ARGB8888_BGR888_Scale(SDL_BlitInfo *info)
   1.414  {
   1.415      const int flags = info->flags;
   1.416      Uint32 pixel;
   1.417 @@ -2337,7 +2247,7 @@
   1.418      }
   1.419  }
   1.420  
   1.421 -void SDL_Blit_ARGB8888_BGR888_Blend(SDL_BlitInfo *info)
   1.422 +static void SDL_Blit_ARGB8888_BGR888_Blend(SDL_BlitInfo *info)
   1.423  {
   1.424      const int flags = info->flags;
   1.425      Uint32 srcpixel;
   1.426 @@ -2396,7 +2306,7 @@
   1.427      }
   1.428  }
   1.429  
   1.430 -void SDL_Blit_ARGB8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.431 +static void SDL_Blit_ARGB8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.432  {
   1.433      const int flags = info->flags;
   1.434      Uint32 srcpixel;
   1.435 @@ -2476,7 +2386,7 @@
   1.436      }
   1.437  }
   1.438  
   1.439 -void SDL_Blit_ARGB8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.440 +static void SDL_Blit_ARGB8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.441  {
   1.442      const int flags = info->flags;
   1.443      const Uint32 modulateR = info->r;
   1.444 @@ -2511,7 +2421,7 @@
   1.445      }
   1.446  }
   1.447  
   1.448 -void SDL_Blit_ARGB8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.449 +static void SDL_Blit_ARGB8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.450  {
   1.451      const int flags = info->flags;
   1.452      const Uint32 modulateR = info->r;
   1.453 @@ -2567,7 +2477,7 @@
   1.454      }
   1.455  }
   1.456  
   1.457 -void SDL_Blit_ARGB8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.458 +static void SDL_Blit_ARGB8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.459  {
   1.460      const int flags = info->flags;
   1.461      const Uint32 modulateR = info->r;
   1.462 @@ -2638,7 +2548,7 @@
   1.463      }
   1.464  }
   1.465  
   1.466 -void SDL_Blit_ARGB8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.467 +static void SDL_Blit_ARGB8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.468  {
   1.469      const int flags = info->flags;
   1.470      const Uint32 modulateR = info->r;
   1.471 @@ -2730,7 +2640,7 @@
   1.472      }
   1.473  }
   1.474  
   1.475 -void SDL_Blit_RGBA8888_RGB888_Scale(SDL_BlitInfo *info)
   1.476 +static void SDL_Blit_RGBA8888_RGB888_Scale(SDL_BlitInfo *info)
   1.477  {
   1.478      const int flags = info->flags;
   1.479      Uint32 pixel;
   1.480 @@ -2774,7 +2684,7 @@
   1.481      }
   1.482  }
   1.483  
   1.484 -void SDL_Blit_RGBA8888_RGB888_Blend(SDL_BlitInfo *info)
   1.485 +static void SDL_Blit_RGBA8888_RGB888_Blend(SDL_BlitInfo *info)
   1.486  {
   1.487      const int flags = info->flags;
   1.488      Uint32 srcpixel;
   1.489 @@ -2833,7 +2743,7 @@
   1.490      }
   1.491  }
   1.492  
   1.493 -void SDL_Blit_RGBA8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.494 +static void SDL_Blit_RGBA8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.495  {
   1.496      const int flags = info->flags;
   1.497      Uint32 srcpixel;
   1.498 @@ -2913,7 +2823,7 @@
   1.499      }
   1.500  }
   1.501  
   1.502 -void SDL_Blit_RGBA8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.503 +static void SDL_Blit_RGBA8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.504  {
   1.505      const int flags = info->flags;
   1.506      const Uint32 modulateR = info->r;
   1.507 @@ -2948,7 +2858,7 @@
   1.508      }
   1.509  }
   1.510  
   1.511 -void SDL_Blit_RGBA8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.512 +static void SDL_Blit_RGBA8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.513  {
   1.514      const int flags = info->flags;
   1.515      const Uint32 modulateR = info->r;
   1.516 @@ -3004,7 +2914,7 @@
   1.517      }
   1.518  }
   1.519  
   1.520 -void SDL_Blit_RGBA8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.521 +static void SDL_Blit_RGBA8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.522  {
   1.523      const int flags = info->flags;
   1.524      const Uint32 modulateR = info->r;
   1.525 @@ -3075,7 +2985,7 @@
   1.526      }
   1.527  }
   1.528  
   1.529 -void SDL_Blit_RGBA8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.530 +static void SDL_Blit_RGBA8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.531  {
   1.532      const int flags = info->flags;
   1.533      const Uint32 modulateR = info->r;
   1.534 @@ -3167,7 +3077,7 @@
   1.535      }
   1.536  }
   1.537  
   1.538 -void SDL_Blit_RGBA8888_BGR888_Scale(SDL_BlitInfo *info)
   1.539 +static void SDL_Blit_RGBA8888_BGR888_Scale(SDL_BlitInfo *info)
   1.540  {
   1.541      const int flags = info->flags;
   1.542      Uint32 pixel;
   1.543 @@ -3211,7 +3121,7 @@
   1.544      }
   1.545  }
   1.546  
   1.547 -void SDL_Blit_RGBA8888_BGR888_Blend(SDL_BlitInfo *info)
   1.548 +static void SDL_Blit_RGBA8888_BGR888_Blend(SDL_BlitInfo *info)
   1.549  {
   1.550      const int flags = info->flags;
   1.551      Uint32 srcpixel;
   1.552 @@ -3270,7 +3180,7 @@
   1.553      }
   1.554  }
   1.555  
   1.556 -void SDL_Blit_RGBA8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.557 +static void SDL_Blit_RGBA8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.558  {
   1.559      const int flags = info->flags;
   1.560      Uint32 srcpixel;
   1.561 @@ -3350,7 +3260,7 @@
   1.562      }
   1.563  }
   1.564  
   1.565 -void SDL_Blit_RGBA8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.566 +static void SDL_Blit_RGBA8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.567  {
   1.568      const int flags = info->flags;
   1.569      const Uint32 modulateR = info->r;
   1.570 @@ -3385,7 +3295,7 @@
   1.571      }
   1.572  }
   1.573  
   1.574 -void SDL_Blit_RGBA8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.575 +static void SDL_Blit_RGBA8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.576  {
   1.577      const int flags = info->flags;
   1.578      const Uint32 modulateR = info->r;
   1.579 @@ -3441,7 +3351,7 @@
   1.580      }
   1.581  }
   1.582  
   1.583 -void SDL_Blit_RGBA8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.584 +static void SDL_Blit_RGBA8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.585  {
   1.586      const int flags = info->flags;
   1.587      const Uint32 modulateR = info->r;
   1.588 @@ -3512,7 +3422,7 @@
   1.589      }
   1.590  }
   1.591  
   1.592 -void SDL_Blit_RGBA8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.593 +static void SDL_Blit_RGBA8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.594  {
   1.595      const int flags = info->flags;
   1.596      const Uint32 modulateR = info->r;
   1.597 @@ -3604,7 +3514,7 @@
   1.598      }
   1.599  }
   1.600  
   1.601 -void SDL_Blit_ABGR8888_RGB888_Scale(SDL_BlitInfo *info)
   1.602 +static void SDL_Blit_ABGR8888_RGB888_Scale(SDL_BlitInfo *info)
   1.603  {
   1.604      const int flags = info->flags;
   1.605      Uint32 pixel;
   1.606 @@ -3648,7 +3558,7 @@
   1.607      }
   1.608  }
   1.609  
   1.610 -void SDL_Blit_ABGR8888_RGB888_Blend(SDL_BlitInfo *info)
   1.611 +static void SDL_Blit_ABGR8888_RGB888_Blend(SDL_BlitInfo *info)
   1.612  {
   1.613      const int flags = info->flags;
   1.614      Uint32 srcpixel;
   1.615 @@ -3707,7 +3617,7 @@
   1.616      }
   1.617  }
   1.618  
   1.619 -void SDL_Blit_ABGR8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.620 +static void SDL_Blit_ABGR8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.621  {
   1.622      const int flags = info->flags;
   1.623      Uint32 srcpixel;
   1.624 @@ -3787,7 +3697,7 @@
   1.625      }
   1.626  }
   1.627  
   1.628 -void SDL_Blit_ABGR8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.629 +static void SDL_Blit_ABGR8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.630  {
   1.631      const int flags = info->flags;
   1.632      const Uint32 modulateR = info->r;
   1.633 @@ -3822,7 +3732,7 @@
   1.634      }
   1.635  }
   1.636  
   1.637 -void SDL_Blit_ABGR8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.638 +static void SDL_Blit_ABGR8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.639  {
   1.640      const int flags = info->flags;
   1.641      const Uint32 modulateR = info->r;
   1.642 @@ -3878,7 +3788,7 @@
   1.643      }
   1.644  }
   1.645  
   1.646 -void SDL_Blit_ABGR8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.647 +static void SDL_Blit_ABGR8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.648  {
   1.649      const int flags = info->flags;
   1.650      const Uint32 modulateR = info->r;
   1.651 @@ -3949,7 +3859,7 @@
   1.652      }
   1.653  }
   1.654  
   1.655 -void SDL_Blit_ABGR8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.656 +static void SDL_Blit_ABGR8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.657  {
   1.658      const int flags = info->flags;
   1.659      const Uint32 modulateR = info->r;
   1.660 @@ -4041,7 +3951,7 @@
   1.661      }
   1.662  }
   1.663  
   1.664 -void SDL_Blit_ABGR8888_BGR888_Scale(SDL_BlitInfo *info)
   1.665 +static void SDL_Blit_ABGR8888_BGR888_Scale(SDL_BlitInfo *info)
   1.666  {
   1.667      const int flags = info->flags;
   1.668      Uint32 pixel;
   1.669 @@ -4085,7 +3995,7 @@
   1.670      }
   1.671  }
   1.672  
   1.673 -void SDL_Blit_ABGR8888_BGR888_Blend(SDL_BlitInfo *info)
   1.674 +static void SDL_Blit_ABGR8888_BGR888_Blend(SDL_BlitInfo *info)
   1.675  {
   1.676      const int flags = info->flags;
   1.677      Uint32 srcpixel;
   1.678 @@ -4144,7 +4054,7 @@
   1.679      }
   1.680  }
   1.681  
   1.682 -void SDL_Blit_ABGR8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.683 +static void SDL_Blit_ABGR8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.684  {
   1.685      const int flags = info->flags;
   1.686      Uint32 srcpixel;
   1.687 @@ -4224,7 +4134,7 @@
   1.688      }
   1.689  }
   1.690  
   1.691 -void SDL_Blit_ABGR8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.692 +static void SDL_Blit_ABGR8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.693  {
   1.694      const int flags = info->flags;
   1.695      const Uint32 modulateR = info->r;
   1.696 @@ -4259,7 +4169,7 @@
   1.697      }
   1.698  }
   1.699  
   1.700 -void SDL_Blit_ABGR8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.701 +static void SDL_Blit_ABGR8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.702  {
   1.703      const int flags = info->flags;
   1.704      const Uint32 modulateR = info->r;
   1.705 @@ -4315,7 +4225,7 @@
   1.706      }
   1.707  }
   1.708  
   1.709 -void SDL_Blit_ABGR8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.710 +static void SDL_Blit_ABGR8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.711  {
   1.712      const int flags = info->flags;
   1.713      const Uint32 modulateR = info->r;
   1.714 @@ -4386,7 +4296,7 @@
   1.715      }
   1.716  }
   1.717  
   1.718 -void SDL_Blit_ABGR8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.719 +static void SDL_Blit_ABGR8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.720  {
   1.721      const int flags = info->flags;
   1.722      const Uint32 modulateR = info->r;
   1.723 @@ -4478,7 +4388,7 @@
   1.724      }
   1.725  }
   1.726  
   1.727 -void SDL_Blit_BGRA8888_RGB888_Scale(SDL_BlitInfo *info)
   1.728 +static void SDL_Blit_BGRA8888_RGB888_Scale(SDL_BlitInfo *info)
   1.729  {
   1.730      const int flags = info->flags;
   1.731      Uint32 pixel;
   1.732 @@ -4522,7 +4432,7 @@
   1.733      }
   1.734  }
   1.735  
   1.736 -void SDL_Blit_BGRA8888_RGB888_Blend(SDL_BlitInfo *info)
   1.737 +static void SDL_Blit_BGRA8888_RGB888_Blend(SDL_BlitInfo *info)
   1.738  {
   1.739      const int flags = info->flags;
   1.740      Uint32 srcpixel;
   1.741 @@ -4581,7 +4491,7 @@
   1.742      }
   1.743  }
   1.744  
   1.745 -void SDL_Blit_BGRA8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.746 +static void SDL_Blit_BGRA8888_RGB888_Blend_Scale(SDL_BlitInfo *info)
   1.747  {
   1.748      const int flags = info->flags;
   1.749      Uint32 srcpixel;
   1.750 @@ -4661,7 +4571,7 @@
   1.751      }
   1.752  }
   1.753  
   1.754 -void SDL_Blit_BGRA8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.755 +static void SDL_Blit_BGRA8888_RGB888_Modulate(SDL_BlitInfo *info)
   1.756  {
   1.757      const int flags = info->flags;
   1.758      const Uint32 modulateR = info->r;
   1.759 @@ -4696,7 +4606,7 @@
   1.760      }
   1.761  }
   1.762  
   1.763 -void SDL_Blit_BGRA8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.764 +static void SDL_Blit_BGRA8888_RGB888_Modulate_Scale(SDL_BlitInfo *info)
   1.765  {
   1.766      const int flags = info->flags;
   1.767      const Uint32 modulateR = info->r;
   1.768 @@ -4752,7 +4662,7 @@
   1.769      }
   1.770  }
   1.771  
   1.772 -void SDL_Blit_BGRA8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.773 +static void SDL_Blit_BGRA8888_RGB888_Modulate_Blend(SDL_BlitInfo *info)
   1.774  {
   1.775      const int flags = info->flags;
   1.776      const Uint32 modulateR = info->r;
   1.777 @@ -4823,7 +4733,7 @@
   1.778      }
   1.779  }
   1.780  
   1.781 -void SDL_Blit_BGRA8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.782 +static void SDL_Blit_BGRA8888_RGB888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.783  {
   1.784      const int flags = info->flags;
   1.785      const Uint32 modulateR = info->r;
   1.786 @@ -4915,7 +4825,7 @@
   1.787      }
   1.788  }
   1.789  
   1.790 -void SDL_Blit_BGRA8888_BGR888_Scale(SDL_BlitInfo *info)
   1.791 +static void SDL_Blit_BGRA8888_BGR888_Scale(SDL_BlitInfo *info)
   1.792  {
   1.793      const int flags = info->flags;
   1.794      Uint32 pixel;
   1.795 @@ -4959,7 +4869,7 @@
   1.796      }
   1.797  }
   1.798  
   1.799 -void SDL_Blit_BGRA8888_BGR888_Blend(SDL_BlitInfo *info)
   1.800 +static void SDL_Blit_BGRA8888_BGR888_Blend(SDL_BlitInfo *info)
   1.801  {
   1.802      const int flags = info->flags;
   1.803      Uint32 srcpixel;
   1.804 @@ -5018,7 +4928,7 @@
   1.805      }
   1.806  }
   1.807  
   1.808 -void SDL_Blit_BGRA8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.809 +static void SDL_Blit_BGRA8888_BGR888_Blend_Scale(SDL_BlitInfo *info)
   1.810  {
   1.811      const int flags = info->flags;
   1.812      Uint32 srcpixel;
   1.813 @@ -5098,7 +5008,7 @@
   1.814      }
   1.815  }
   1.816  
   1.817 -void SDL_Blit_BGRA8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.818 +static void SDL_Blit_BGRA8888_BGR888_Modulate(SDL_BlitInfo *info)
   1.819  {
   1.820      const int flags = info->flags;
   1.821      const Uint32 modulateR = info->r;
   1.822 @@ -5133,7 +5043,7 @@
   1.823      }
   1.824  }
   1.825  
   1.826 -void SDL_Blit_BGRA8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.827 +static void SDL_Blit_BGRA8888_BGR888_Modulate_Scale(SDL_BlitInfo *info)
   1.828  {
   1.829      const int flags = info->flags;
   1.830      const Uint32 modulateR = info->r;
   1.831 @@ -5189,7 +5099,7 @@
   1.832      }
   1.833  }
   1.834  
   1.835 -void SDL_Blit_BGRA8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.836 +static void SDL_Blit_BGRA8888_BGR888_Modulate_Blend(SDL_BlitInfo *info)
   1.837  {
   1.838      const int flags = info->flags;
   1.839      const Uint32 modulateR = info->r;
   1.840 @@ -5260,7 +5170,7 @@
   1.841      }
   1.842  }
   1.843  
   1.844 -void SDL_Blit_BGRA8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.845 +static void SDL_Blit_BGRA8888_BGR888_Modulate_Blend_Scale(SDL_BlitInfo *info)
   1.846  {
   1.847      const int flags = info->flags;
   1.848      const Uint32 modulateR = info->r;
   1.849 @@ -5352,6 +5262,94 @@
   1.850      }
   1.851  }
   1.852  
   1.853 +static SDL_BlitFuncEntry SDL_GeneratedBlitFuncTable[] = {
   1.854 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Scale },
   1.855 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Blend },
   1.856 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Blend_Scale },
   1.857 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate },
   1.858 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate_Scale },
   1.859 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate_Blend },
   1.860 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale },
   1.861 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Scale },
   1.862 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Blend },
   1.863 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Blend_Scale },
   1.864 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate },
   1.865 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate_Scale },
   1.866 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate_Blend },
   1.867 +    { SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGB888_BGR888_Modulate_Blend_Scale },
   1.868 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Scale },
   1.869 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Blend },
   1.870 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Blend_Scale },
   1.871 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate },
   1.872 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate_Scale },
   1.873 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate_Blend },
   1.874 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_RGB888_Modulate_Blend_Scale },
   1.875 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Scale },
   1.876 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Blend },
   1.877 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Blend_Scale },
   1.878 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate },
   1.879 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate_Scale },
   1.880 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate_Blend },
   1.881 +    { SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGR888_BGR888_Modulate_Blend_Scale },
   1.882 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Scale },
   1.883 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Blend },
   1.884 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Blend_Scale },
   1.885 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate },
   1.886 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate_Scale },
   1.887 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate_Blend },
   1.888 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_RGB888_Modulate_Blend_Scale },
   1.889 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Scale },
   1.890 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Blend },
   1.891 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Blend_Scale },
   1.892 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate },
   1.893 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate_Scale },
   1.894 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate_Blend },
   1.895 +    { SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ARGB8888_BGR888_Modulate_Blend_Scale },
   1.896 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Scale },
   1.897 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Blend },
   1.898 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Blend_Scale },
   1.899 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate },
   1.900 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate_Scale },
   1.901 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate_Blend },
   1.902 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_RGB888_Modulate_Blend_Scale },
   1.903 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Scale },
   1.904 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Blend },
   1.905 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Blend_Scale },
   1.906 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate },
   1.907 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate_Scale },
   1.908 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate_Blend },
   1.909 +    { SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_RGBA8888_BGR888_Modulate_Blend_Scale },
   1.910 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Scale },
   1.911 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Blend },
   1.912 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Blend_Scale },
   1.913 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate },
   1.914 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate_Scale },
   1.915 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate_Blend },
   1.916 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_RGB888_Modulate_Blend_Scale },
   1.917 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Scale },
   1.918 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Blend },
   1.919 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Blend_Scale },
   1.920 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate },
   1.921 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate_Scale },
   1.922 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate_Blend },
   1.923 +    { SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_ABGR8888_BGR888_Modulate_Blend_Scale },
   1.924 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Scale },
   1.925 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Blend },
   1.926 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Blend_Scale },
   1.927 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate },
   1.928 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate_Scale },
   1.929 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate_Blend },
   1.930 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_RGB888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_RGB888_Modulate_Blend_Scale },
   1.931 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Scale },
   1.932 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Blend },
   1.933 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Blend_Scale },
   1.934 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate },
   1.935 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate_Scale },
   1.936 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate_Blend },
   1.937 +    { SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_BGR888, (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_NEAREST), SDL_CPU_ANY, SDL_Blit_BGRA8888_BGR888_Modulate_Blend_Scale },
   1.938 +    { 0, 0, 0, 0, NULL }
   1.939 +};
   1.940 +
   1.941  /* *INDENT-ON* */
   1.942  
   1.943  /* vi: set ts=4 sw=4 expandtab: */