libgpac
Documentation of the core library of GPAC
|
#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>
Data Structures | |
struct | XWindow |
Macros | |
#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) |
struct 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 | |
char * | x_data | |
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 | |
Bool | output_3d |
#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)) |