GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
x11_out.c File Reference
#include "x11_out.h"
#include <gpac/constants.h>
#include <gpac/unicode.h>
#include <gpac/user.h>
#include <sys/time.h>
#include <X11/XKBlib.h>
#include <X11/Xatom.h>
+ Include dependency graph for x11_out.c:

Macros

#define PROP_MOTIF_WM_HINTS_ELEMENTS   5
 
#define MWM_HINTS_DECORATIONS   (1L << 1)
 

Functions

void X11_SetupWindow (GF_VideoOutput *vout)
 
GF_Err X11_Flush (struct _video_out *vout, GF_Window *dest)
 
static void x11_translate_key (u32 X11Key, GF_EventKey *evt)
 
static int X11_Pending (Display *display)
 
static void X11_HandleEvents (GF_VideoOutput *vout)
 
static GF_Err X11_SetupGL (GF_VideoOutput *vout)
 
static GF_Err X11_SetupGLPixmap (GF_VideoOutput *vout, u32 width, u32 height)
 
static void X11_ReleaseGL (XWindow *xWin)
 
static void X11_ReleaseBackBuffer (GF_VideoOutput *vout)
 
GF_Err X11_InitBackBuffer (GF_VideoOutput *vout, u32 VideoWidth, u32 VideoHeight)
 
GF_Err X11_ResizeBackBuffer (struct _video_out *vout, u32 newWidth, u32 newHeight)
 
GF_Err X11_ProcessEvent (struct _video_out *vout, GF_Event *evt)
 
GF_Err X11_SetFullScreen (struct _video_out *vout, u32 bFullScreenOn, u32 *screen_width, u32 *screen_height)
 
GF_Err X11_LockBackBuffer (struct _video_out *vout, GF_VideoSurface *vi, u32 do_lock)
 
static int X11_BadAccess_ByPass (Display *display, XErrorEvent *event)
 
static void X11_XScreenSaverState (XWindow *xwin, Bool turn_on)
 
GF_Err X11_Setup (struct _video_out *vout, void *os_handle, void *os_display, u32 flags)
 
void X11_Shutdown (struct _video_out *vout)
 
void * NewX11VideoOutput ()
 
void DeleteX11VideoOutput (GF_VideoOutput *vout)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 

Variables

static XErrorHandler old_handler = 0
 
static int selectinput_err = 0
 

Macro Definition Documentation

#define PROP_MOTIF_WM_HINTS_ELEMENTS   5
#define MWM_HINTS_DECORATIONS   (1L << 1)

Function Documentation

void X11_SetupWindow ( GF_VideoOutput vout)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err X11_Flush ( struct _video_out *  vout,
GF_Window dest 
)

+ Here is the caller graph for this function:

static void x11_translate_key ( u32  X11Key,
GF_EventKey evt 
)
static

+ Here is the caller graph for this function:

static int X11_Pending ( Display *  display)
static

+ Here is the caller graph for this function:

static void X11_HandleEvents ( GF_VideoOutput vout)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err X11_SetupGL ( GF_VideoOutput vout)
static

+ Here is the caller graph for this function:

static GF_Err X11_SetupGLPixmap ( GF_VideoOutput vout,
u32  width,
u32  height 
)
static

+ Here is the caller graph for this function:

static void X11_ReleaseGL ( XWindow xWin)
static

+ Here is the caller graph for this function:

static void X11_ReleaseBackBuffer ( GF_VideoOutput vout)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err X11_InitBackBuffer ( GF_VideoOutput vout,
u32  VideoWidth,
u32  VideoHeight 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err X11_ResizeBackBuffer ( struct _video_out *  vout,
u32  newWidth,
u32  newHeight 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err X11_ProcessEvent ( struct _video_out *  vout,
GF_Event evt 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err X11_SetFullScreen ( struct _video_out *  vout,
u32  bFullScreenOn,
u32 screen_width,
u32 screen_height 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err X11_LockBackBuffer ( struct _video_out *  vout,
GF_VideoSurface vi,
u32  do_lock 
)

+ Here is the caller graph for this function:

static int X11_BadAccess_ByPass ( Display *  display,
XErrorEvent *  event 
)
static

+ Here is the caller graph for this function:

static void X11_XScreenSaverState ( XWindow xwin,
Bool  turn_on 
)
static

+ Here is the caller graph for this function:

GF_Err X11_Setup ( struct _video_out *  vout,
void *  os_handle,
void *  os_display,
u32  flags 
)

+ Here is the caller graph for this function:

void X11_Shutdown ( struct _video_out *  vout)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* NewX11VideoOutput ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteX11VideoOutput ( GF_VideoOutput vout)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface ifce)

+ Here is the call graph for this function:

Variable Documentation

XErrorHandler old_handler = 0
static
int selectinput_err = 0
static