Mercurial > sdl-ios-xcode
comparison src/video/bwindow/SDL_sysyuv.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | 51038e80ae59 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
28 /* This is the BeOS implementation of YUV video overlays */ | 28 /* This is the BeOS implementation of YUV video overlays */ |
29 | 29 |
30 #include "SDL_video.h" | 30 #include "SDL_video.h" |
31 #include "SDL_lowvideo.h" | 31 #include "SDL_lowvideo.h" |
32 | 32 |
33 extern "C" { | 33 extern "C" |
34 { | |
34 | 35 |
35 struct private_yuvhwdata | 36 struct private_yuvhwdata |
36 { | 37 { |
37 /* FRAMEDATA* CurrentFrameData; | 38 /* FRAMEDATA* CurrentFrameData; |
38 FRAMEDATA* FrameData0; | 39 FRAMEDATA* FrameData0; |
39 FRAMEDATA* FrameData1; | 40 FRAMEDATA* FrameData1; |
40 PgScalerProps_t props; | 41 PgScalerProps_t props; |
41 PgScalerCaps_t caps; | 42 PgScalerCaps_t caps; |
52 long chromakey; | 53 long chromakey; |
53 int forcedredraw; | 54 int forcedredraw; |
54 unsigned long State; | 55 unsigned long State; |
55 long flags; | 56 long flags; |
56 */ | 57 */ |
57 SDL_Surface *display; | 58 SDL_Surface *display; |
58 BView *bview; | 59 BView *bview; |
59 bool first_display; | 60 bool first_display; |
60 BBitmap *bbitmap; | 61 BBitmap *bbitmap; |
61 int locked; | 62 int locked; |
62 }; | 63 }; |
63 | 64 |
64 extern BBitmap * BE_GetOverlayBitmap(BRect bounds, color_space cs); | 65 extern BBitmap *BE_GetOverlayBitmap(BRect bounds, color_space cs); |
65 extern SDL_Overlay* BE_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface* display); | 66 extern SDL_Overlay *BE_CreateYUVOverlay(_THIS, int width, int height, |
66 extern int BE_LockYUVOverlay(_THIS, SDL_Overlay* overlay); | 67 Uint32 format, |
67 extern void BE_UnlockYUVOverlay(_THIS, SDL_Overlay* overlay); | 68 SDL_Surface * display); |
68 extern int BE_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect* dst); | 69 extern int BE_LockYUVOverlay(_THIS, SDL_Overlay * overlay); |
69 extern void BE_FreeYUVOverlay(_THIS, SDL_Overlay* overlay); | 70 extern void BE_UnlockYUVOverlay(_THIS, SDL_Overlay * overlay); |
71 extern int BE_DisplayYUVOverlay(_THIS, SDL_Overlay * overlay, | |
72 SDL_Rect * src, SDL_Rect * dst); | |
73 extern void BE_FreeYUVOverlay(_THIS, SDL_Overlay * overlay); | |
70 | 74 |
71 }; | 75 }; |
72 | 76 |
73 #endif /* __SDL_PH_YUV_H__ */ | 77 #endif /* __SDL_PH_YUV_H__ */ |
78 /* vi: set ts=4 sw=4 expandtab: */ |