xcommon.h File Reference

Go to the source code of this file.

Data Structures

struct  x11_window_t
struct  vout_sys_t
struct  picture_sys_t
struct  mwmhints_t

Defines

#define IMAGE_TYPE   XImage
#define EXTRA_ARGS   Visual *p_visual, int i_depth, int i_bytes_per_pixel
#define EXTRA_ARGS_SHM   Visual *p_visual, int i_depth, XShmSegmentInfo *p_shm
#define DATA_SIZE(p)   ((p)->bytes_per_line * (p)->height)
#define IMAGE_FREE   XDestroyImage
#define X11_FOURCC(a, b, c, d)
#define VLC2X11_FOURCC(i)
#define X112VLC_FOURCC(i)
#define MWM_HINTS_DECORATIONS   (1L << 1)
#define PROP_MWM_HINTS_ELEMENTS   5
#define MAX_DIRECTBUFFERS   2

Functions

XImage * CreateImage (vout_thread_t *, Display *, Visual *p_visual, int i_depth, int i_bytes_per_pixel, int, int)


Define Documentation

#define DATA_SIZE (  )     ((p)->bytes_per_line * (p)->height)

#define EXTRA_ARGS   Visual *p_visual, int i_depth, int i_bytes_per_pixel

#define EXTRA_ARGS_SHM   Visual *p_visual, int i_depth, XShmSegmentInfo *p_shm

#define IMAGE_FREE   XDestroyImage

Referenced by FreePicture(), and NewPicture().

#define IMAGE_TYPE   XImage

#define MAX_DIRECTBUFFERS   2

#define MWM_HINTS_DECORATIONS   (1L << 1)

#define PROP_MWM_HINTS_ELEMENTS   5

#define VLC2X11_FOURCC (  ) 

Value:

X11_FOURCC( ((char *)&i)[0], ((char *)&i)[1], ((char *)&i)[2], \
                    ((char *)&i)[3] )

Referenced by Activate(), and NewPicture().

#define X112VLC_FOURCC (  ) 

Value:

VLC_FOURCC( i & 0xff, (i >> 8) & 0xff, (i >> 16) & 0xff, \
                    (i >> 24) & 0xff )

Referenced by Activate().

#define X11_FOURCC ( a,
b,
c,
 ) 

Value:

( ((uint32_t)a) | ( ((uint32_t)b) << 8 ) \
           | ( ((uint32_t)c) << 16 ) | ( ((uint32_t)d) << 24 ) )

Referenced by Activate().


Function Documentation

XImage* CreateImage ( vout_thread_t ,
Display *  ,
Visual *  p_visual,
int  i_depth,
int  i_bytes_per_pixel,
int  ,
int   
)

Referenced by NewPicture().


Generated on Wed Mar 31 08:06:04 2010 for VLC by  doxygen 1.5.6