Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_phyuv_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 |
---|---|
29 #include "SDL_video.h" | 29 #include "SDL_video.h" |
30 #include "SDL_ph_video.h" | 30 #include "SDL_ph_video.h" |
31 | 31 |
32 struct private_yuvhwdata | 32 struct private_yuvhwdata |
33 { | 33 { |
34 FRAMEDATA* CurrentFrameData; | 34 FRAMEDATA *CurrentFrameData; |
35 FRAMEDATA* FrameData0; | 35 FRAMEDATA *FrameData0; |
36 FRAMEDATA* FrameData1; | 36 FRAMEDATA *FrameData1; |
37 PgScalerProps_t props; | 37 PgScalerProps_t props; |
38 PgScalerCaps_t caps; | 38 PgScalerCaps_t caps; |
39 PgVideoChannel_t* channel; | 39 PgVideoChannel_t *channel; |
40 PhArea_t CurrentViewPort; | 40 PhArea_t CurrentViewPort; |
41 PhPoint_t CurrentWindowPos; | 41 PhPoint_t CurrentWindowPos; |
42 long format; | 42 long format; |
43 int scaler_on; | 43 int scaler_on; |
44 int current; | 44 int current; |
51 unsigned long State; | 51 unsigned long State; |
52 long flags; | 52 long flags; |
53 int locked; | 53 int locked; |
54 }; | 54 }; |
55 | 55 |
56 extern SDL_Overlay* ph_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface* display); | 56 extern SDL_Overlay *ph_CreateYUVOverlay (_THIS, int width, int height, |
57 extern int ph_LockYUVOverlay(_THIS, SDL_Overlay* overlay); | 57 Uint32 format, |
58 extern void ph_UnlockYUVOverlay(_THIS, SDL_Overlay* overlay); | 58 SDL_Surface * display); |
59 extern int ph_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect* dst); | 59 extern int ph_LockYUVOverlay (_THIS, SDL_Overlay * overlay); |
60 extern void ph_FreeYUVOverlay(_THIS, SDL_Overlay* overlay); | 60 extern void ph_UnlockYUVOverlay (_THIS, SDL_Overlay * overlay); |
61 extern int ph_DisplayYUVOverlay (_THIS, SDL_Overlay * overlay, SDL_Rect * src, | |
62 SDL_Rect * dst); | |
63 extern void ph_FreeYUVOverlay (_THIS, SDL_Overlay * overlay); | |
61 | 64 |
62 #endif /* __SDL_PH_YUV_H__ */ | 65 #endif /* __SDL_PH_YUV_H__ */ |
66 /* vi: set ts=4 sw=4 expandtab: */ |