Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_DisplayYUVOverlay(3) SDL API Reference SDL_DisplayYUVOverlay(3)

NAME

SDL_DisplayYUVOverlay - Blit the overlay to the display

SYNOPSIS

#include "SDL.h"
 
int SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect);

DESCRIPTION

Blit the overlay to the surface specified when it was created. The SDL_Rect structure, dstrect, specifies the position and size of the destination. If the dstrect is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling.

RETURN VALUES

Returns 0 on success

SEE ALSO

SDL_Overlay, SDL_CreateYUVOverlay
Tue 11 Sep 2001, 23:01 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org