include/SDL_pixels.h
changeset 9046 c3ec7c3e6c24
parent 8175 4f4c65f5d797
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9045:c689ac0e8411 9046:c3ec7c3e6c24
   246     SDL_PIXELFORMAT_YUY2 =      /**< Packed mode: Y0+U0+Y1+V0 (1 plane) */
   246     SDL_PIXELFORMAT_YUY2 =      /**< Packed mode: Y0+U0+Y1+V0 (1 plane) */
   247         SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'),
   247         SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'),
   248     SDL_PIXELFORMAT_UYVY =      /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */
   248     SDL_PIXELFORMAT_UYVY =      /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */
   249         SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'),
   249         SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'),
   250     SDL_PIXELFORMAT_YVYU =      /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
   250     SDL_PIXELFORMAT_YVYU =      /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
   251         SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U')
   251         SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
       
   252     SDL_PIXELFORMAT_NV12 =      /**< Planar mode: Y + U/V interleaved  (2 planes) */
       
   253         SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'),
       
   254     SDL_PIXELFORMAT_NV21 =      /**< Planar mode: Y + V/U interleaved  (2 planes) */
       
   255         SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1')
   252 };
   256 };
   253 
   257 
   254 typedef struct SDL_Color
   258 typedef struct SDL_Color
   255 {
   259 {
   256     Uint8 r;
   260     Uint8 r;