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.h File Reference
#include <gpac/modules/video_out.h>
#include <gpac/thread.h>
#include <gpac/list.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <GL/glx.h>
+ Include dependency graph for x11_out.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  XWindow
 

Macros

#define GPAC_HAS_OPENGL
 
#define X11VID()   XWindow *xWindow = (XWindow *)vout->opaque;
 
#define RGB555(r, g, b)   (((r&248)<<7) + ((g&248)<<2) + (b>>3))
 
#define RGB565(r, g, b)   (((r&248)<<8) + ((g&252)<<3) + (b>>3))
 

Functions

void StretchBits (void *dst, u32 dst_bpp, u32 dst_w, u32 dst_h, u32 dst_pitch, void *src, u32 src_bpp, u32 src_w, u32 src_h, u32 src_pitch, Bool FlipIt)
 

Data Structure Documentation

struct XWindow
+ Collaboration diagram for XWindow:
Data Fields
Window par_wnd
Bool setup_done
Bool no_select_input
Display * display
Window wnd
Window full_wnd
Screen * screenptr
int screennum
Visual * visual
GC the_gc
XImage * surface
Pixmap pixmap
u32 pwidth
u32 pheight
u32 init_flags
Atom WM_DELETE_WINDOW
Bool use_shared_memory
int ss_t
int ss_b
int ss_i
int ss_e
Bool is_init
Bool fullscreen
Bool has_focus
Bool ctrl_down
Bool alt_down
Bool meta_down
u32 store_width
u32 store_height
u32 w_width
u32 w_height
u32 depth
u32 bpp
u32 pixel_format
u32 output_3d_mode
XVisualInfo * glx_visualinfo
GLXContext glx_context
Pixmap gl_pixmap
GLXPixmap gl_offscreen
Window gl_wnd
u32 offscreen_type

Macro Definition Documentation

#define GPAC_HAS_OPENGL
#define X11VID ( )    XWindow *xWindow = (XWindow *)vout->opaque;
#define RGB555 (   r,
  g,
 
)    (((r&248)<<7) + ((g&248)<<2) + (b>>3))
#define RGB565 (   r,
  g,
 
)    (((r&248)<<8) + ((g&252)<<3) + (b>>3))

Function Documentation

void StretchBits ( void *  dst,
u32  dst_bpp,
u32  dst_w,
u32  dst_h,
u32  dst_pitch,
void *  src,
u32  src_bpp,
u32  src_w,
u32  src_h,
u32  src_pitch,
Bool  FlipIt 
)