Mercurial > sdl-ios-xcode
comparison src/video/SDL_yuv_sw_c.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | 51038e80ae59 |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
24 #include "SDL_video.h" | 24 #include "SDL_video.h" |
25 #include "SDL_sysvideo.h" | 25 #include "SDL_sysvideo.h" |
26 | 26 |
27 /* This is the software implementation of the YUV video overlay support */ | 27 /* This is the software implementation of the YUV video overlay support */ |
28 | 28 |
29 extern SDL_Overlay *SDL_CreateYUV_SW(_THIS, int width, int height, Uint32 format, SDL_Surface *display); | 29 extern SDL_Overlay *SDL_CreateYUV_SW (_THIS, int width, int height, |
30 Uint32 format, SDL_Surface * display); | |
30 | 31 |
31 extern int SDL_LockYUV_SW(_THIS, SDL_Overlay *overlay); | 32 extern int SDL_LockYUV_SW (_THIS, SDL_Overlay * overlay); |
32 | 33 |
33 extern void SDL_UnlockYUV_SW(_THIS, SDL_Overlay *overlay); | 34 extern void SDL_UnlockYUV_SW (_THIS, SDL_Overlay * overlay); |
34 | 35 |
35 extern int SDL_DisplayYUV_SW(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst); | 36 extern int SDL_DisplayYUV_SW (_THIS, SDL_Overlay * overlay, SDL_Rect * src, |
37 SDL_Rect * dst); | |
36 | 38 |
37 extern void SDL_FreeYUV_SW(_THIS, SDL_Overlay *overlay); | 39 extern void SDL_FreeYUV_SW (_THIS, SDL_Overlay * overlay); |
40 /* vi: set ts=4 sw=4 expandtab: */ |