libgpac
Documentation of the core library of GPAC
|
#include "x11_out.h"
#include <gpac/constants.h>
#include <gpac/utf.h>
#include <sys/time.h>
#include <X11/XKBlib.h>
#include <X11/Xatom.h>
#include <errno.h>
Data Structures | |
struct | X11KeyToGPAC |
Macros | |
#define | PROP_MOTIF_WM_HINTS_ELEMENTS 5 |
#define | MWM_HINTS_DECORATIONS (1L << 1) |
Enumerations | |
enum | { GF_PIXEL_IYUV = GF_4CC('I', 'Y', 'U', 'V') , GF_PIXEL_I420 = GF_4CC('I', '4', '2', '0') , GF_PIXEL_UYNV = GF_4CC('U', 'Y', 'N', 'V') , GF_PIXEL_YUNV = GF_4CC('Y', 'U', 'N', 'V') , GF_PIXEL_V422 = GF_4CC('V', '4', '2', '2') , GF_PIXEL_YV12 = GF_4CC('Y', 'V', '1', '2') , GF_PIXEL_Y422 = GF_4CC('Y', '4', '2', '2') , GF_PIXEL_YUY2 = GF_4CC('Y', 'U', 'Y', '2') } |
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 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) |
GPAC_MODULE_EXPORT const u32 * | QueryInterfaces () |
GPAC_MODULE_EXPORT GF_BaseInterface * | LoadInterface (u32 InterfaceType) |
GPAC_MODULE_EXPORT void | ShutdownInterface (GF_BaseInterface *ifce) |
Variables | |
static X11KeyToGPAC | X11Keys [] |
static u32 | num_x11_keys = sizeof(X11Keys) / sizeof(X11KeyToGPAC) |
static XErrorHandler | old_handler = NULL |
static int | selectinput_err = 0 |
static GF_GPACArg | X11Args [] |
#define PROP_MOTIF_WM_HINTS_ELEMENTS 5 |
#define MWM_HINTS_DECORATIONS (1L << 1) |
anonymous enum |
void X11_SetupWindow | ( | GF_VideoOutput * | vout | ) |
|
static |
|
static |
|
static |
|
static |
GF_Err X11_InitBackBuffer | ( | GF_VideoOutput * | vout, |
u32 | VideoWidth, | ||
u32 | VideoHeight | ||
) |
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 |
void X11_Shutdown | ( | struct _video_out * | vout | ) |
void* NewX11VideoOutput | ( | ) |
void DeleteX11VideoOutput | ( | GF_VideoOutput * | vout | ) |
GPAC_MODULE_EXPORT const u32* QueryInterfaces | ( | ) |
GPAC_MODULE_EXPORT GF_BaseInterface* LoadInterface | ( | u32 | InterfaceType | ) |
GPAC_MODULE_EXPORT void ShutdownInterface | ( | GF_BaseInterface * | ifce | ) |
|
static |
|
static |
|
static |
|
static |
|
static |