1SDL_CreateYUVOverlay(3) SDL API Reference SDL_CreateYUVOverlay(3)
2
3
4
6 SDL_CreateYUVOverlay - Create a YUV video overlay
7
9 #include "SDL.h"
10
11 SDL_Overlay *SDL_CreateYUVOverlay(int width, int height, Uint32 format,
12 SDL_Surface *display);
13
15 SDL_CreateYUVOverlay creates a YUV overlay of the specified width,
16 height and format (see SDL_Overlay for a list of available formats),
17 for the provided display. A SDL_Overlay structure is returned.
18
19 The term 'overlay' is a misnomer since, unless the overlay is created
20 in hardware, the contents for the display surface underneath the area
21 where the overlay is shown will be overwritten when the overlay is dis‐
22 played.
23
25 SDL_Overlay, SDL_DisplayYUVOverlay, SDL_FreeYUVOverlay
26
27
28
29SDL Tue 11 Sep 2001, 23:01 SDL_CreateYUVOverlay(3)