logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_CreateYUVOverlay - Create a YUV video overlay

Description

SDL_CreateYUVOverlay creates a YUV overlay of the specified width, height and format (see SDL_Overlay for
       a list of available formats), for the provided display. A SDL_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.

Name

       SDL_CreateYUVOverlay - Create a YUV video overlay

See Also

SDL_Overlay, SDL_DisplayYUVOverlay, SDL_FreeYUVOverlay

SDL                                          Tue 11 Sep 2001, 23:01                      SDL_CreateYUVOverlay(3)

Synopsis

#include"SDL.h"SDL_Overlay*SDL_CreateYUVOverlay(intwidth,intheight,Uint32format,SDL_Surface*display);

See Also