include/SDL_pixels.h
changeset 9046 c3ec7c3e6c24
parent 8175 4f4c65f5d797
child 9619 b94b6d0bff0f
     1.1 --- a/include/SDL_pixels.h	Wed Aug 06 00:28:02 2014 -0700
     1.2 +++ b/include/SDL_pixels.h	Wed Aug 06 11:34:54 2014 -0700
     1.3 @@ -248,7 +248,11 @@
     1.4      SDL_PIXELFORMAT_UYVY =      /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */
     1.5          SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'),
     1.6      SDL_PIXELFORMAT_YVYU =      /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
     1.7 -        SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U')
     1.8 +        SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
     1.9 +    SDL_PIXELFORMAT_NV12 =      /**< Planar mode: Y + U/V interleaved  (2 planes) */
    1.10 +        SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'),
    1.11 +    SDL_PIXELFORMAT_NV21 =      /**< Planar mode: Y + V/U interleaved  (2 planes) */
    1.12 +        SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1')
    1.13  };
    1.14  
    1.15  typedef struct SDL_Color