libgpac
Documentation of the core library of GPAC
sdl_out.h File Reference
#include <gpac/modules/audio_out.h>
#include <gpac/modules/video_out.h>
#include <gpac/thread.h>
#include <SDL.h>
+ Include dependency graph for sdl_out.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  SDLVidCtx
 
struct  SDLAudCtx
 

Enumerations

enum  GF_SDL_STATE { SDL_STATE_STOPPED = 0 , SDL_STATE_RUNNING , SDL_STATE_STOP_REQ , SDL_STATE_WAIT_FOR_THREAD_TERMINATION }
 

Functions

Bool SDLOUT_InitSDL ()
 
void SDLOUT_CloseSDL ()
 
void SDL_DeleteVideo (void *ifce)
 
void * SDL_NewVideo ()
 
void SDL_DeleteAudio (void *ifce)
 
void * SDL_NewAudio ()
 

Data Structure Documentation

◆ SDLVidCtx

struct SDLVidCtx
Data Fields
GF_Mutex * evt_mx
Bool is_init
Bool fullscreen
u32 fs_width
u32 fs_height
u32 store_width
u32 store_height
SDL_Cursor * curs_def
SDL_Cursor * curs_hand
SDL_Cursor * curs_collide
Bool use_systems_memory
Bool disable_vsync
SDL_Surface * screen
SDL_Surface * back_buffer
SDL_Surface * pool_rgb
SDL_Surface * pool_rgba
SDL_Overlay * yuv_overlay
u32 width
u32 height
SDL_Surface * offscreen_gl
Bool output_3d
void * os_handle
Bool force_alpha
Bool hidden
u32 last_mouse_move
Bool cursor_on
Bool ctrl_down
Bool alt_down
Bool meta_down

◆ SDLAudCtx

struct SDLAudCtx
Data Fields
u32 num_buffers
u32 total_duration
u32 delay_ms
u32 total_size
u32 volume
u32 alloc_size
Bool is_init
Bool is_running
u8 * audioBuff

Enumeration Type Documentation

◆ GF_SDL_STATE

Enumerator
SDL_STATE_STOPPED 
SDL_STATE_RUNNING 
SDL_STATE_STOP_REQ 
SDL_STATE_WAIT_FOR_THREAD_TERMINATION 

Function Documentation

◆ SDLOUT_InitSDL()

Bool SDLOUT_InitSDL ( )
+ Here is the caller graph for this function:

◆ SDLOUT_CloseSDL()

void SDLOUT_CloseSDL ( )
+ Here is the caller graph for this function:

◆ SDL_DeleteVideo()

void SDL_DeleteVideo ( void *  ifce)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDL_NewVideo()

void* SDL_NewVideo ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDL_DeleteAudio()

void SDL_DeleteAudio ( void *  ifce)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDL_NewAudio()

void* SDL_NewAudio ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function: