1 /*******************************************************************************
2 * control.h: user control functions
4 *******************************************************************************
5 * Library of functions common to all interfaces, allowing access to various
6 * structures and settings. Interfaces should only use those functions
7 * to read or write informations from other threads.
8 *******************************************************************************
13 * <X11/extensions/XShm.h>
22 *******************************************************************************/
24 /*******************************************************************************
26 *******************************************************************************/
27 int intf_CreateVoutThread ( intf_thread_t *p_intf, char *psz_title,
28 int i_width, int i_height );
29 void intf_DestroyVoutThread ( intf_thread_t *p_intf, int i_thread );
30 int intf_CreateInputThread ( intf_thread_t *p_intf, input_cfg_t* p_cfg );
31 void intf_DestroyInputThread ( intf_thread_t *p_intf, int i_thread );
33 int intf_SelectAudioStream ( intf_thread_t *p_intf, int i_input, int i_id );
34 void intf_DeselectAudioStream( intf_thread_t *p_intf, int i_input, int i_id );
35 int intf_SelectVideoStream ( intf_thread_t *p_intf, int i_input,
36 int i_vout, int i_id );
37 void intf_DeselectVideoStream( intf_thread_t *p_intf, int i_input, int i_id );