src/video/directfb/SDL_DirectFB_video.c
changeset 12158 ee7f3955c9fb
parent 11811 5d94cb6b24d3
child 12201 8bdc4d340419
equal deleted inserted replaced
12156:e5a666405750 12158:ee7f3955c9fb
   322     { DSPF_YV12, SDL_PIXELFORMAT_YV12 },                /* 12 bit YUV (8 bit Y plane followed by 8 bit quarter size V/U planes) */
   322     { DSPF_YV12, SDL_PIXELFORMAT_YV12 },                /* 12 bit YUV (8 bit Y plane followed by 8 bit quarter size V/U planes) */
   323     { DSPF_I420,SDL_PIXELFORMAT_IYUV },                 /* 12 bit YUV (8 bit Y plane followed by 8 bit quarter size U/V planes) */
   323     { DSPF_I420,SDL_PIXELFORMAT_IYUV },                 /* 12 bit YUV (8 bit Y plane followed by 8 bit quarter size U/V planes) */
   324     { DSPF_YUY2, SDL_PIXELFORMAT_YUY2 },                /* 16 bit YUV (4 byte/ 2 pixel, macropixel contains CbYCrY [31:0]) */
   324     { DSPF_YUY2, SDL_PIXELFORMAT_YUY2 },                /* 16 bit YUV (4 byte/ 2 pixel, macropixel contains CbYCrY [31:0]) */
   325     { DSPF_UYVY, SDL_PIXELFORMAT_UYVY },                /* 16 bit YUV (4 byte/ 2 pixel, macropixel contains YCbYCr [31:0]) */
   325     { DSPF_UYVY, SDL_PIXELFORMAT_UYVY },                /* 16 bit YUV (4 byte/ 2 pixel, macropixel contains YCbYCr [31:0]) */
   326     { DSPF_RGB555, SDL_PIXELFORMAT_RGB555 },            /* 16 bit RGB (2 byte, nothing @15, red 5@10, green 5@5, blue 5@0) */
   326     { DSPF_RGB555, SDL_PIXELFORMAT_RGB555 },            /* 16 bit RGB (2 byte, nothing @15, red 5@10, green 5@5, blue 5@0) */
       
   327     { DSPF_ABGR, SDL_PIXELFORMAT_ABGR8888 },		/* 32 bit ABGR (4  byte, alpha 8@24, blue 8@16, green 8@8, red 8@0) */
   327 #if (ENABLE_LUT8)
   328 #if (ENABLE_LUT8)
   328     { DSPF_LUT8, SDL_PIXELFORMAT_INDEX8 },              /* 8 bit LUT (8 bit color and alpha lookup from palette) */
   329     { DSPF_LUT8, SDL_PIXELFORMAT_INDEX8 },              /* 8 bit LUT (8 bit color and alpha lookup from palette) */
   329 #endif
   330 #endif
   330 
   331 
   331 #if (DFB_VERSION_ATLEAST(1,2,0))
   332 #if (DFB_VERSION_ATLEAST(1,2,0))
   368     { DSPF_UNKNOWN, SDL_PIXELFORMAT_INDEX4LSB },
   369     { DSPF_UNKNOWN, SDL_PIXELFORMAT_INDEX4LSB },
   369     { DSPF_UNKNOWN, SDL_PIXELFORMAT_INDEX4MSB },
   370     { DSPF_UNKNOWN, SDL_PIXELFORMAT_INDEX4MSB },
   370     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGR24 },
   371     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGR24 },
   371     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGR888 },
   372     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGR888 },
   372     { DSPF_UNKNOWN, SDL_PIXELFORMAT_RGBA8888 },
   373     { DSPF_UNKNOWN, SDL_PIXELFORMAT_RGBA8888 },
   373     { DSPF_UNKNOWN, SDL_PIXELFORMAT_ABGR8888 },
       
   374     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGRA8888 },
   374     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGRA8888 },
   375     { DSPF_UNKNOWN, SDL_PIXELFORMAT_ARGB2101010 },
   375     { DSPF_UNKNOWN, SDL_PIXELFORMAT_ARGB2101010 },
   376     { DSPF_UNKNOWN, SDL_PIXELFORMAT_ABGR4444 },
   376     { DSPF_UNKNOWN, SDL_PIXELFORMAT_ABGR4444 },
   377     { DSPF_UNKNOWN, SDL_PIXELFORMAT_ABGR1555 },
   377     { DSPF_UNKNOWN, SDL_PIXELFORMAT_ABGR1555 },
   378     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGR565 },
   378     { DSPF_UNKNOWN, SDL_PIXELFORMAT_BGR565 },