Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

SDL_CreateYUVOverlay (3)

Name

SDL_CreateYUVOverlay - Create a YUV video overlay

Synopsis

#include "SDL.h"

SDL_Overlay *SDL_CreateYUVOverlay(int width, int height, Uint32 format,
SDL_Surface *display);

Description

SDL_CreateYUVOverlay(3)        SDL API Reference       SDL_CreateYUVOverlay(3)



NAME
       SDL_CreateYUVOverlay - Create a YUV video overlay

SYNOPSIS
       #include "SDL.h"

       SDL_Overlay *SDL_CreateYUVOverlay(int width, int height, Uint32 format,
       SDL_Surface *display);

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 dis-
       played.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/sdl      |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       SDL_Overlay, SDL_DisplayYUVOverlay, SDL_FreeYUVOverlay



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source        was        downloaded        from        https://www.lib-
       sdl.org/release/SDL-1.2.15.tar.gz

       Further information about this software can be found on the open source
       community website at https://www.libsdl.org/.



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