Subversion Repositories Games.Prince of Persia

Rev

Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 8
Line 1... Line 1...
1
/*
1
/*
2
  Simple DirectMedia Layer
2
  Simple DirectMedia Layer
3
  Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
3
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
4
 
4
 
5
  This software is provided 'as-is', without any express or implied
5
  This software is provided 'as-is', without any express or implied
6
  warranty.  In no event will the authors be held liable for any damages
6
  warranty.  In no event will the authors be held liable for any damages
7
  arising from the use of this software.
7
  arising from the use of this software.
8
 
8
 
Line 285... Line 285...
285
    SDL_PIXELFORMAT_YVYU =      /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
285
    SDL_PIXELFORMAT_YVYU =      /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
286
        SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
286
        SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
287
    SDL_PIXELFORMAT_NV12 =      /**< Planar mode: Y + U/V interleaved  (2 planes) */
287
    SDL_PIXELFORMAT_NV12 =      /**< Planar mode: Y + U/V interleaved  (2 planes) */
288
        SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'),
288
        SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'),
289
    SDL_PIXELFORMAT_NV21 =      /**< Planar mode: Y + V/U interleaved  (2 planes) */
289
    SDL_PIXELFORMAT_NV21 =      /**< Planar mode: Y + V/U interleaved  (2 planes) */
290
        SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1')
290
        SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1'),
-
 
291
    SDL_PIXELFORMAT_EXTERNAL_OES =      /**< Android video texture format */
-
 
292
        SDL_DEFINE_PIXELFOURCC('O', 'E', 'S', ' ')
291
};
293
};
292
 
294
 
293
typedef struct SDL_Color
295
typedef struct SDL_Color
294
{
296
{
295
    Uint8 r;
297
    Uint8 r;