SDL_CreateYUVOverlay

Name

SDL_CreateYUVOverlay -- Create a YUV video overlay

Synopsis

uses
SDL;

function SDL_CreateYUVOverlay( width : Integer; height : Integer; format : UInt32; display : PSDL_Surface) : PSDL_Overlay;

Description

SDL_CreateYUVOverlay creates a YUV overlay of the specified width, height and format (see TSDL_Overlay for a list of available formats), for the provided display. A TSDL_Overlay structure is returned.

The term 'overlay' is a misnomer since, unless the overlay is created in hardware, the contents for the display surface underneath the area where the overlay is shown will be overwritten when the overlay is displayed.

See Also

TSDL_Overlay , SDL_DisplayYUVOverlay , SDL_FreeYUVOverlay