
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_t * | Get (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) |
| #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") |
| static bool CheckXVideo | ( | vout_display_t * | vd, | |
| xcb_connection_t * | conn | |||
| ) | [static] |
| 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] |
References vout_display_t::cfg, cfg, vout_display_sys_t::conn, vout_display_sys_t::cursor, vout_display_cfg_t::display, vout_display_sys_t::embed, vout_window_t::handle, vout_display_place_t::height, vout_display_sys_t::height, vout_display_cfg_t::height, vout_display_cfg_t::is_fullscreen, msg_Err, vout_display_t::source, vout_display_t::sys, VLC_EGENERIC, VLC_SUCCESS, VOUT_DISPLAY_CHANGE_DISPLAY_FILLED, VOUT_DISPLAY_CHANGE_DISPLAY_SIZE, VOUT_DISPLAY_CHANGE_FULLSCREEN, VOUT_DISPLAY_CHANGE_ON_TOP, VOUT_DISPLAY_CHANGE_SOURCE_ASPECT, VOUT_DISPLAY_CHANGE_SOURCE_CROP, VOUT_DISPLAY_CHANGE_ZOOM, VOUT_DISPLAY_HIDE_MOUSE, vout_display_PlacePicture(), VOUT_DISPLAY_RESET_PICTURES, vout_window_SetFullScreen(), vout_window_SetOnTop(), vout_window_SetSize(), vout_display_place_t::width, vout_display_sys_t::width, vout_display_cfg_t::width, vout_display_sys_t::window, vout_display_place_t::x, vout_window_t::xid, and vout_display_place_t::y.
| static void Display | ( | vout_display_t * | vd, | |
| picture_t * | pic | |||
| ) | [static] |
Sends an image to the X server.
References vout_display_sys_t::conn, vout_display_sys_t::data_size, vout_display_sys_t::gc, vout_display_sys_t::height, plane_t::i_lines, plane_t::i_pitch, plane_t::i_pixel_pitch, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_x_offset, video_format_t::i_y_offset, vout_display_sys_t::id, msg_Dbg, picture_t::p, plane_t::p_pixels, picture_t::p_sys, picture_Release(), vout_display_sys_t::port, picture_sys_t::segment, vout_display_t::source, vout_display_t::sys, vout_display_sys_t::visible, vout_display_sys_t::width, and vout_display_sys_t::window.
| 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] |
References vout_display_sys_t::conn, i, video_format_t::i_height, video_format_t::i_width, msg_Warn, ParseFormat(), and vout_display_t::sys.
| static picture_t * Get | ( | vout_display_t * | vd | ) | [static] |
Return a direct buffer.
References vout_display_sys_t::att, vout_display_sys_t::conn, vout_display_sys_t::data_size, vout_display_t::fmt, i, video_format_t::i_chroma, plane_t::i_lines, picture_resource_t::i_lines, plane_t::i_pitch, picture_resource_t::i_pitch, picture_t::i_planes, MAX_PICTURES, picture_t::p, picture_resource_t::p, picture_resource_t::p_pixels, picture_New(), picture_NewFromResource(), picture_pool_Get(), picture_pool_New(), picture_Release(), PictureResourceAlloc(), PictureResourceFree(), vout_display_sys_t::pool, vout_display_sys_t::resource, vout_display_sys_t::shm, vout_display_t::sys, and VLC_CODEC_YV12.
| static void Manage | ( | vout_display_t * | vd | ) | [static] |
References vout_display_sys_t::conn, ManageEvent(), vout_display_t::sys, and vout_display_sys_t::visible.
| 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] |
References msg_Dbg, msg_Err, msg_Warn, ORDER, VLC_CODEC_I420, VLC_CODEC_RGB15, VLC_CODEC_RGB16, VLC_CODEC_RGB24, VLC_CODEC_RGB32, VLC_CODEC_RGB8, VLC_CODEC_UYVY, VLC_CODEC_YUYV, and VLC_CODEC_YV12.
Referenced by FindFormat().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6