comparison src/video/directfb/SDL_DirectFB_video.c @ 478:f8482d7c9595

Date: Tue, 27 Aug 2002 19:07:38 +0200 From: Denis Oliver Kropp Subject: YUV support I just added YUV overlay support to the DirectFB backend.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 31 Aug 2002 04:13:28 +0000
parents 22581630aab7
children 0009aadb3d01
comparison
equal deleted inserted replaced
477:22581630aab7 478:f8482d7c9595
44 #include "SDL_sysvideo.h" 44 #include "SDL_sysvideo.h"
45 #include "SDL_pixels_c.h" 45 #include "SDL_pixels_c.h"
46 #include "SDL_events_c.h" 46 #include "SDL_events_c.h"
47 #include "SDL_DirectFB_video.h" 47 #include "SDL_DirectFB_video.h"
48 #include "SDL_DirectFB_events.h" 48 #include "SDL_DirectFB_events.h"
49 #include "SDL_DirectFB_yuv.h"
49 50
50 51
51 /* Initialization/Query functions */ 52 /* Initialization/Query functions */
52 static int DirectFB_VideoInit(_THIS, SDL_PixelFormat *vformat); 53 static int DirectFB_VideoInit(_THIS, SDL_PixelFormat *vformat);
53 static SDL_Rect **DirectFB_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags); 54 static SDL_Rect **DirectFB_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags);
121 device->VideoInit = DirectFB_VideoInit; 122 device->VideoInit = DirectFB_VideoInit;
122 device->ListModes = DirectFB_ListModes; 123 device->ListModes = DirectFB_ListModes;
123 device->SetVideoMode = DirectFB_SetVideoMode; 124 device->SetVideoMode = DirectFB_SetVideoMode;
124 device->SetColors = DirectFB_SetColors; 125 device->SetColors = DirectFB_SetColors;
125 device->UpdateRects = NULL; 126 device->UpdateRects = NULL;
127 device->CreateYUVOverlay = DirectFB_CreateYUVOverlay;
126 device->VideoQuit = DirectFB_VideoQuit; 128 device->VideoQuit = DirectFB_VideoQuit;
127 device->AllocHWSurface = DirectFB_AllocHWSurface; 129 device->AllocHWSurface = DirectFB_AllocHWSurface;
128 device->CheckHWBlit = DirectFB_CheckHWBlit; 130 device->CheckHWBlit = DirectFB_CheckHWBlit;
129 device->FillHWRect = DirectFB_FillHWRect; 131 device->FillHWRect = DirectFB_FillHWRect;
130 device->SetHWColorKey = DirectFB_SetHWColorKey; 132 device->SetHWColorKey = DirectFB_SetHWColorKey;