Update Copyright
[rawv.git] / sdlu.h
blobf0b147b0986917ae086e552a9c308dc33dbb0c07
1 #ifndef _SDLU_H_
2 #define _SDLU_H_
4 /* SDL utils
5 * Copyright (C) 2011 Kirill Smelkov <kirr@navytux.spb.ru>
7 * This library is free software: you can Use, Study, Modify and Redistribute
8 * it under the terms of the GNU Lesser General Public License version 2.1, or
9 * any later version. This library is distributed WITHOUT ANY WARRANTY. See
10 * COPYING.LIB file for full License terms.
13 #include <SDL.h>
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 /** like SDL_DisplayYUVOverlay, but supports both `srcrect` and `dstrect`
21 * ... and does no rects clipping.
24 int SDLU_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *srcrect, SDL_Rect *dstrect);
29 #ifdef __cplusplus
31 #endif
34 #endif