| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | * Header for the enumerated pixel format definitions. |
| | | */ |
| | | |
| | | #ifndef _SDL_pixels_h |
| | | #define _SDL_pixels_h |
| | | #ifndef SDL_pixels_h_ |
| | | #define SDL_pixels_h_ |
| | | |
| | | #include "SDL_stdinc.h" |
| | | #include "SDL_endian.h" |
| | |
| | | SDL_PIXELFORMAT_NV12 = /**< Planar mode: Y + U/V interleaved (2 planes) */ |
| | | SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'), |
| | | SDL_PIXELFORMAT_NV21 = /**< Planar mode: Y + V/U interleaved (2 planes) */ |
| | | SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1') |
| | | SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1'), |
| | | SDL_PIXELFORMAT_EXTERNAL_OES = /**< Android video texture format */ |
| | | SDL_DEFINE_PIXELFOURCC('O', 'E', 'S', ' ') |
| | | }; |
| | | |
| | | typedef struct SDL_Color |
| | |
| | | #endif |
| | | #include "close_code.h" |
| | | |
| | | #endif /* _SDL_pixels_h */ |
| | | #endif /* SDL_pixels_h_ */ |
| | | |
| | | /* vi: set ts=4 sw=4 expandtab: */ |