Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/video/bwindow/SDL_sysyuv.h Thu Jul 06 18:01:37 2006 +0000 +++ b/src/video/bwindow/SDL_sysyuv.h Mon Jul 10 21:04:37 2006 +0000 @@ -30,10 +30,11 @@ #include "SDL_video.h" #include "SDL_lowvideo.h" -extern "C" { +extern "C" +{ -struct private_yuvhwdata -{ + struct private_yuvhwdata + { /* FRAMEDATA* CurrentFrameData; FRAMEDATA* FrameData0; FRAMEDATA* FrameData1; @@ -54,20 +55,24 @@ unsigned long State; long flags; */ - SDL_Surface *display; - BView *bview; - bool first_display; - BBitmap *bbitmap; - int locked; -}; + SDL_Surface *display; + BView *bview; + bool first_display; + BBitmap *bbitmap; + int locked; + }; -extern BBitmap * BE_GetOverlayBitmap(BRect bounds, color_space cs); -extern SDL_Overlay* BE_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface* display); -extern int BE_LockYUVOverlay(_THIS, SDL_Overlay* overlay); -extern void BE_UnlockYUVOverlay(_THIS, SDL_Overlay* overlay); -extern int BE_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect* dst); -extern void BE_FreeYUVOverlay(_THIS, SDL_Overlay* overlay); + extern BBitmap *BE_GetOverlayBitmap(BRect bounds, color_space cs); + extern SDL_Overlay *BE_CreateYUVOverlay(_THIS, int width, int height, + Uint32 format, + SDL_Surface * display); + extern int BE_LockYUVOverlay(_THIS, SDL_Overlay * overlay); + extern void BE_UnlockYUVOverlay(_THIS, SDL_Overlay * overlay); + extern int BE_DisplayYUVOverlay(_THIS, SDL_Overlay * overlay, + SDL_Rect * src, SDL_Rect * dst); + extern void BE_FreeYUVOverlay(_THIS, SDL_Overlay * overlay); }; #endif /* __SDL_PH_YUV_H__ */ +/* vi: set ts=4 sw=4 expandtab: */