include/SDL_pixels.h
branchSDL-1.3
changeset 1684 c4aa1a2f48f1
parent 1683 396a35389351
     1.1 --- a/include/SDL_pixels.h	Sat Jun 17 06:45:14 2006 +0000
     1.2 +++ b/include/SDL_pixels.h	Sun Jun 18 06:35:41 2006 +0000
     1.3 @@ -179,11 +179,16 @@
     1.4          SDL_DEFINE_PIXELFORMAT(SDL_PixelType_Packed32, SDL_PackedOrder_ARGB,
     1.5                                 SDL_PackedLayout_2101010, 32, 4),
     1.6  
     1.7 -    SDL_PixelFormat_YV12 = SDL_DEFINE_PIXELFOURCC('Y', 'V', '1', '2'),
     1.8 -    SDL_PixelFormat_IYUV = SDL_DEFINE_PIXELFOURCC('I', 'Y', 'U', 'V'),
     1.9 -    SDL_PixelFormat_YUY2 = SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'),
    1.10 -    SDL_PixelFormat_UYVY = SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'),
    1.11 -    SDL_PixelFormat_YVYU = SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
    1.12 +    SDL_PixelFormat_YV12 =      /* Planar mode: Y + V + U  (3 planes) */
    1.13 +        SDL_DEFINE_PIXELFOURCC('Y', 'V', '1', '2'),
    1.14 +    SDL_PixelFormat_IYUV =      /* Planar mode: Y + U + V  (3 planes) */
    1.15 +        SDL_DEFINE_PIXELFOURCC('I', 'Y', 'U', 'V'),
    1.16 +    SDL_PixelFormat_YUY2 =      /* Packed mode: Y0+U0+Y1+V0 (1 plane) */
    1.17 +        SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'),
    1.18 +    SDL_PixelFormat_UYVY =      /* Packed mode: U0+Y0+V0+Y1 (1 plane) */
    1.19 +        SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'),
    1.20 +    SDL_PixelFormat_YVYU =      /* Packed mode: Y0+V0+Y1+U0 (1 plane) */
    1.21 +        SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
    1.22  };
    1.23  
    1.24  typedef struct SDL_Color