
Data Structures | |
| struct | vout_window_sys_t |
Defines | |
| #define | XID_TEXT N_("ID of the video output X window") |
| #define | XID_LONGTEXT |
| #define | MATCHBOX_HACK 1 |
| #define | NET_WM_STATE_REMOVE 0 |
| #define | NET_WM_STATE_ADD 1 |
| #define | NET_WM_STATE_TOGGLE 2 |
Typedefs | |
| typedef xcb_atom_t | Atom |
Functions | |
| static int | Open (vlc_object_t *obj) |
| Create an X11 window. | |
| static void | Close (vlc_object_t *obj) |
| Destroys the X11 window. | |
| static int | EmOpen (vlc_object_t *obj) |
| Wrap an existing X11 window to embed the video. | |
| static void | EmClose (vlc_object_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static int | Control (vout_window_t *, int, va_list ap) |
| static void * | Thread (void *data) |
| Background thread for X11 events handling. | |
| static void | set_string (xcb_connection_t *conn, xcb_window_t window, xcb_atom_t type, xcb_atom_t atom, const char *str) |
| Set an X window property from a nul-terminated string. | |
| static void | set_ascii_prop (xcb_connection_t *conn, xcb_window_t window, xcb_atom_t atom, const char *value) |
| Set an X window string property. | |
| static void | set_wm_hints (xcb_connection_t *conn, xcb_window_t window) |
| static void | set_hostname_prop (xcb_connection_t *conn, xcb_window_t window) |
| Set the Window ICCCM client machine property. | |
| static xcb_intern_atom_cookie_t | intern_string (xcb_connection_t *c, const char *s) |
| Request the X11 server to internalize a string into an atom. | |
| static xcb_atom_t | get_atom (xcb_connection_t *conn, xcb_intern_atom_cookie_t ck) |
| Extract the X11 atom from an intern request cookie. | |
| static void | CacheAtoms (vout_window_sys_t *p_sys) |
| static void | set_wm_state (vout_window_t *wnd, bool on, xcb_atom_t state) |
| Changes the EWMH state of the window. | |
| static int | AcquireDrawable (vlc_object_t *obj, xcb_window_t window) |
| Acquire a drawable. | |
| static void | ReleaseDrawable (vlc_object_t *obj, xcb_window_t window) |
| Remove this drawable from the list of busy ones. | |
Variables | |
| static vlc_mutex_t | serializer = PTHREAD_MUTEX_INITIALIZER |
| #define MATCHBOX_HACK 1 |
| #define NET_WM_STATE_ADD 1 |
Referenced by set_wm_state().
| #define NET_WM_STATE_REMOVE 0 |
Referenced by set_wm_state().
| #define NET_WM_STATE_TOGGLE 2 |
| #define XID_LONGTEXT |
Value:
N_( \ "VLC can embed its video output in an existing X11 window. " \ "This is the X identifier of that window (0 means none).")
| #define XID_TEXT N_("ID of the video output X window") |
| typedef xcb_atom_t Atom |
| static int AcquireDrawable | ( | vlc_object_t * | obj, | |
| xcb_window_t | window | |||
| ) | [static] |
Acquire a drawable.
References msg_Warn, vlc_object_t::p_libvlc, var_Create, var_GetAddress, var_SetAddress, VLC_EGENERIC, VLC_ENOMEM, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_SUCCESS, and VLC_VAR_ADDRESS.
Referenced by EmOpen().
| static void CacheAtoms | ( | vout_window_sys_t * | p_sys | ) | [static] |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Destroys the X11 window.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static int Control | ( | vout_window_t * | wnd, | |
| int | cmd, | |||
| va_list | ap | |||
| ) | [static] |
References vout_window_sys_t::conn, vout_window_t::handle, msg_Err, set_wm_state(), vout_window_t::sys, var_GetBool, VLC_EGENERIC, VLC_SUCCESS, VOUT_WINDOW_SET_FULLSCREEN, VOUT_WINDOW_SET_SIZE, VOUT_WINDOW_SET_STATE, VOUT_WINDOW_STATE_ABOVE, VOUT_WINDOW_STATE_BELOW, vout_window_sys_t::wm_state_above, vout_window_sys_t::wm_state_below, vout_window_sys_t::wm_state_fullscreen, and vout_window_t::xid.
| static void EmClose | ( | vlc_object_t * | obj | ) | [static] |
References Close(), vout_window_t::handle, ReleaseDrawable(), and vout_window_t::xid.
| static int EmOpen | ( | vlc_object_t * | obj | ) | [static] |
Wrap an existing X11 window to embed the video.
References AcquireDrawable(), CacheAtoms(), vout_window_sys_t::conn, Control(), vout_window_t::control, CreateKeyHandler(), DestroyKeyHandler(), vout_window_t::handle, vout_window_sys_t::keys, msg_Err, ReleaseDrawable(), vout_window_sys_t::root, vout_window_t::sys, Thread(), vout_window_sys_t::thread, var_CreateGetBool, var_CreateGetInteger, var_Destroy, vlc_clone(), VLC_EGENERIC, VLC_SUCCESS, VLC_THREAD_PRIORITY_LOW, and vout_window_t::xid.
| static xcb_atom_t get_atom | ( | xcb_connection_t * | conn, | |
| xcb_intern_atom_cookie_t | ck | |||
| ) | [static] |
| static xcb_intern_atom_cookie_t intern_string | ( | xcb_connection_t * | c, | |
| const char * | s | |||
| ) | [inline, static] |
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Create an X11 window.
Forward declarations.
Status of this demuxer: Real Media format -----------------.
Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.
Todo:
Open the module.
Create an X11 window.
Probe the X server.
This function initializes SDL vout method.
It creates an OpenGL vout display.
This function allocates and initialize the DirectX vout display.
It creates a Direct3D vout display.
This function allocates and initializes a FB vout method.
Find the drawable set by libvlc application.
This function initializes libcaca vout method.
This function allocates and initializes a aa vout method.
This function allocates and initializes a Wall splitter module.
Open the filter.
This function allocates and initializes a Clone splitter module.
Open: initialize and create stuff.
Connect to the sftp server and ask for a file.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
| static void ReleaseDrawable | ( | vlc_object_t * | obj, | |
| xcb_window_t | window | |||
| ) | [static] |
Remove this drawable from the list of busy ones.
References vlc_object_t::p_libvlc, var_Destroy, var_GetAddress, var_SetAddress, vlc_mutex_lock(), and vlc_mutex_unlock().
| static void set_ascii_prop | ( | xcb_connection_t * | conn, | |
| xcb_window_t | window, | |||
| xcb_atom_t | atom, | |||
| const char * | value | |||
| ) | [inline, static] |
| static void set_hostname_prop | ( | xcb_connection_t * | conn, | |
| xcb_window_t | window | |||
| ) | [inline, static] |
| static void set_string | ( | xcb_connection_t * | conn, | |
| xcb_window_t | window, | |||
| xcb_atom_t | type, | |||
| xcb_atom_t | atom, | |||
| const char * | str | |||
| ) | [inline, static] |
Set an X window property from a nul-terminated string.
| static void set_wm_hints | ( | xcb_connection_t * | conn, | |
| xcb_window_t | window | |||
| ) | [inline, static] |
| static void set_wm_state | ( | vout_window_t * | wnd, | |
| bool | on, | |||
| xcb_atom_t | state | |||
| ) | [static] |
Changes the EWMH state of the window.
References vout_window_sys_t::conn, vout_window_t::handle, NET_WM_STATE_ADD, NET_WM_STATE_REMOVE, vout_window_sys_t::root, vout_window_t::sys, vout_window_sys_t::wm_state, and vout_window_t::xid.
Referenced by Control().
| static void * Thread | ( | void * | data | ) | [static] |
Background thread for X11 events handling.
References vout_window_sys_t::conn, pollfd::fd, vout_window_t::handle, vout_window_sys_t::keys, vout_window_sys_t::mb_current_app_window, msg_Dbg, msg_Err, poll, POLLIN, ProcessKeyEvent(), vout_window_t::sys, vlc_restorecancel(), vlc_savecancel(), and vout_window_t::xid.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
vlc_mutex_t serializer = PTHREAD_MUTEX_INITIALIZER [static] |
1.5.6