xvideo.c File Reference

X C Bindings video output module for VLC media player. More...

Include dependency graph for xvideo.c:


Data Structures

struct  vout_display_sys_t

Defines

#define DISPLAY_TEXT   N_("X11 display")
#define DISPLAY_LONGTEXT
#define ADAPTOR_TEXT   N_("XVideo adaptor number")
#define ADAPTOR_LONGTEXT
#define SHM_TEXT   N_("Use shared memory")
#define SHM_LONGTEXT
#define MAX_PICTURES   (VOUT_MAX_PICTURES)

Functions

static int Open (vlc_object_t *obj)
 Probe the X server.
static void Close (vlc_object_t *obj)
 Disconnect from the X server.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static picture_tGet (vout_display_t *vd)
 Return a direct buffer.
static void Display (vout_display_t *vd, picture_t *pic)
 Sends an image to the X server.
static int Control (vout_display_t *, int, va_list)
static void Manage (vout_display_t *)
static bool CheckXVideo (vout_display_t *vd, xcb_connection_t *conn)
 Check that the X server supports the XVideo extension.
static vlc_fourcc_t ParseFormat (vout_display_t *vd, const xcb_xv_image_format_info_t *restrict f)
static const
xcb_xv_image_format_info_t * 
FindFormat (vout_display_t *vd, vlc_fourcc_t chroma, const video_format_t *fmt, xcb_xv_port_t port, const xcb_xv_list_image_formats_reply_t *list, xcb_xv_query_image_attributes_reply_t **restrict pa)

Detailed Description

X C Bindings video output module for VLC media player.


Define Documentation

#define ADAPTOR_LONGTEXT

Value:

N_( \
    "XVideo hardware adaptor to use. By default, VLC will " \
    "use the first functional adaptor.")

#define ADAPTOR_TEXT   N_("XVideo adaptor number")

#define DISPLAY_LONGTEXT

Value:

N_( \
    "X11 hardware display to use. By default, VLC will " \
    "use the value of the DISPLAY environment variable.")

#define DISPLAY_TEXT   N_("X11 display")

#define MAX_PICTURES   (VOUT_MAX_PICTURES)

#define SHM_LONGTEXT

Value:

N_( \
    "Use shared memory to communicate between VLC and the X server.")

#define SHM_TEXT   N_("Use shared memory")


Function Documentation

static bool CheckXVideo ( vout_display_t vd,
xcb_connection_t *  conn 
) [static]

Check that the X server supports the XVideo extension.

References msg_Dbg.

static void Close ( vlc_object_t obj  )  [static]

Disconnect from the X server.

static int Control ( vout_display_t vd,
int  query,
va_list  ap 
) [static]

static void Display ( vout_display_t vd,
picture_t pic 
) [static]

static const xcb_xv_image_format_info_t* FindFormat ( vout_display_t vd,
vlc_fourcc_t  chroma,
const video_format_t fmt,
xcb_xv_port_t  port,
const xcb_xv_list_image_formats_reply_t *  list,
xcb_xv_query_image_attributes_reply_t **restrict  pa 
) [static]

static picture_t * Get ( vout_display_t vd  )  [static]

static void Manage ( vout_display_t vd  )  [static]

static int Open ( vlc_object_t obj  )  [static]

Probe the X server.

static vlc_fourcc_t ParseFormat ( vout_display_t vd,
const xcb_xv_image_format_info_t *restrict  f 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Fri Nov 20 08:05:37 2009 for VLC by  doxygen 1.5.6