Home | History | Annotate | Download | only in include

Lines Matching full:video

119 #define SDL_HWSURFACE	0x00000001	/* Surface is in video memory */
122 #define SDL_ANYFORMAT 0x10000000 /* Allow any video depth/pixel-format */
124 #define SDL_DOUBLEBUF 0x40000000 /* Set up double-buffered video mode */
128 #define SDL_RESIZABLE 0x00000010 /* This video mode may be resized */
148 /* Useful for determining the video hardware capabilities */
162 Uint32 video_mem; /* The total amount of video memory (in K) */
163 SDL_PixelFormat *vfmt; /* Value: The format of the video surface */
164 int current_w; /* Value: The current video mode width */
165 int current_h; /* Value: The current video mode height */
169 /* The most common video overlay formats.
182 /* The YUV hardware video overlay */
228 * have a specific need to specify the video driver you want to use.
231 * SDL_VideoInit() initializes the video subsystem -- sets up a connection
232 * to the window manager, etc, and determines the current video mode and
236 * If you use both sound and video in your application, you need to call
244 * video driver, and returns a pointer to it if the video driver has
252 * function returns the publicly visible surface, not the real video
259 * video hardware. If this is called before SDL_SetVideoMode(), the 'vfmt'
261 * "best" video mode.
266 * Check to see if a particular video mode is supported.
270 * one used when setting the video mode, SDL_SetVideoMode() will succeed,
280 * given format and video flags, sorted largest to smallest. Returns
290 * Set up a video mode with the specified width, height and bits-per-pixel.
295 * requested bits-per-pixel, but will return whatever video pixel format is
299 * If SDL_HWSURFACE is set in 'flags', the video surface will be placed in
300 * video memory, if possible, and you may have to call SDL_LockSurface()
301 * in order to access the raw framebuffer. Otherwise, the video surface
312 * at the video surface structure to determine the actual palette.
314 * i.e. if the colormap is shared, then the video surface may be created
318 * a fullscreen video mode. The default is to create a windowed mode
320 * If the SDL library is able to set a fullscreen video mode, this flag
324 * two surfaces in video memory and swap between them when you call
326 * scheme, but prevents "tearing" artifacts caused by modifying video
337 * without any title bar or frame decoration. Fullscreen video modes have
340 * This function returns the video framebuffer surface, or NULL if it fails.
342 * If you rely on functionality provided by certain video flags, check the
364 * video buffers before the next video surface blit or lock will return.
368 * setting the video mode for this function to perform hardware flipping.
385 * of the video hardware. Each table is an array of 256 16-bit quantities,
481 * SDL_HWSURFACE means that the surface should be created in video memory,
490 * two surfaces in video memory, SDL will try to place the surface in
491 * video memory. If this isn't possible or if there is no hardware
495 * two surfaces in video memory, to place the surface in video memory
497 * If the surface is created in video memory, blits will be _much_ faster,
498 * but the surface format must be identical to the video surface format,
501 * If the requested surface actually resides in video memory, SDL_HWSURFACE
503 * reason the surface could not be placed in video memory, it will not have
677 * If either of the surfaces were in video memory, and the blit returns -2,
678 * the video memory was lost, so it should be reloaded with artwork and
688 * to the video memory again.
722 * pixel format and colors of the video framebuffer, suitable for fast
735 * pixel format and colors of the video framebuffer (if possible),
749 /* YUV video surface overlay functions */
752 /* This function creates a video output overlay
764 /* Blit a video overlay to the display surface.
765 The contents of the video surface underneath the blit destination are
772 /* Free a video overlay */
860 * This is currently only implemented in the X11 video driver.