src/video/SDL_blit_N.c
branchSDL-1.2
changeset 6411 ec7ccf5ee3dd
parent 6294 7a2e0f7b30cb
equal deleted inserted replaced
6405:7b87c1773b3e 6411:ec7ccf5ee3dd
  2305       2, NULL, Blit_RGB565_32Altivec, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2305       2, NULL, Blit_RGB565_32Altivec, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2306     { 0x00007C00,0x000003E0,0x0000001F, 4, 0x00000000,0x00000000,0x00000000,
  2306     { 0x00007C00,0x000003E0,0x0000001F, 4, 0x00000000,0x00000000,0x00000000,
  2307       2, NULL, Blit_RGB555_32Altivec, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2307       2, NULL, Blit_RGB555_32Altivec, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2308 #endif
  2308 #endif
  2309     { 0x0000F800,0x000007E0,0x0000001F, 4, 0x00FF0000,0x0000FF00,0x000000FF,
  2309     { 0x0000F800,0x000007E0,0x0000001F, 4, 0x00FF0000,0x0000FF00,0x000000FF,
  2310       0, NULL, Blit_RGB565_ARGB8888, SET_ALPHA },
  2310       0, NULL, Blit_RGB565_ARGB8888, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2311     { 0x0000F800,0x000007E0,0x0000001F, 4, 0x000000FF,0x0000FF00,0x00FF0000,
  2311     { 0x0000F800,0x000007E0,0x0000001F, 4, 0x000000FF,0x0000FF00,0x00FF0000,
  2312       0, NULL, Blit_RGB565_ABGR8888, SET_ALPHA },
  2312       0, NULL, Blit_RGB565_ABGR8888, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2313     { 0x0000F800,0x000007E0,0x0000001F, 4, 0xFF000000,0x00FF0000,0x0000FF00,
  2313     { 0x0000F800,0x000007E0,0x0000001F, 4, 0xFF000000,0x00FF0000,0x0000FF00,
  2314       0, NULL, Blit_RGB565_RGBA8888, SET_ALPHA },
  2314       0, NULL, Blit_RGB565_RGBA8888, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2315     { 0x0000F800,0x000007E0,0x0000001F, 4, 0x0000FF00,0x00FF0000,0xFF000000,
  2315     { 0x0000F800,0x000007E0,0x0000001F, 4, 0x0000FF00,0x00FF0000,0xFF000000,
  2316       0, NULL, Blit_RGB565_BGRA8888, SET_ALPHA },
  2316       0, NULL, Blit_RGB565_BGRA8888, NO_ALPHA | COPY_ALPHA | SET_ALPHA },
  2317 
  2317 
  2318     /* Default for 16-bit RGB source, used if no other blitter matches */
  2318     /* Default for 16-bit RGB source, used if no other blitter matches */
  2319     { 0,0,0, 0, 0,0,0, 0, NULL, BlitNtoN, 0 }
  2319     { 0,0,0, 0, 0,0,0, 0, NULL, BlitNtoN, 0 }
  2320 };
  2320 };
  2321 static const struct blit_table normal_blit_3[] = {
  2321 static const struct blit_table normal_blit_3[] = {