
Data Structures | |
| struct | intf_sys_t |
| Per-interface private state. More... | |
Defines | |
| #define | UP 1 |
| #define | DOWN 2 |
| #define | LEFT 3 |
| #define | RIGHT 4 |
| #define | NONE 0 |
| #define | GESTURE(a, b, c, d) (a | ( b << 4 ) | ( c << 8 ) | ( d << 12 )) |
| #define | THRESHOLD_TEXT N_( "Motion threshold (10-100)" ) |
| #define | THRESHOLD_LONGTEXT |
| #define | BUTTON_TEXT N_( "Trigger button" ) |
| #define | BUTTON_LONGTEXT |
| #define | BUTTON_DEFAULT "right" |
Functions | |
| int | Open (vlc_object_t *) |
| Probes and initializes. | |
| void | Close (vlc_object_t *) |
| Releases resources. | |
| static int | MouseEvent (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| static void | RunIntf (intf_thread_t *p_intf) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static int | gesture (int i_pattern, int i_num) |
Variables | |
| static const char *const | button_list [] = { "left", "middle", "right" } |
| static const char *const | button_list_text [] |
| #define BUTTON_DEFAULT "right" |
| #define BUTTON_LONGTEXT |
Value:
N_( \ "Trigger button for mouse gestures." )
| #define BUTTON_TEXT N_( "Trigger button" ) |
| #define DOWN 2 |
Referenced by MouseEvent(), RunIntf(), and Thread().
| #define LEFT 3 |
Referenced by MouseEvent(), RunIntf(), and Thread().
| #define RIGHT 4 |
Referenced by MouseEvent(), RunIntf(), and Thread().
| #define THRESHOLD_LONGTEXT |
Value:
N_( \ "Amount of movement required for a mouse gesture to be recorded." )
| #define THRESHOLD_TEXT N_( "Motion threshold (10-100)" ) |
| #define UP 1 |
Referenced by MouseEvent(), RunIntf(), and Thread().
| void Close | ( | vlc_object_t * | p_this | ) |
Releases resources.
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 gesture | ( | int | i_pattern, | |
| int | i_num | |||
| ) | [static] |
Referenced by MouseEvent().
| static int MouseEvent | ( | vlc_object_t * | p_this, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References intf_sys_t::b_button_pressed, intf_sys_t::b_got_gesture, vlc_value_t::coords, DOWN, gesture(), intf_sys_t::i_button_mask, vlc_value_t::i_int, intf_sys_t::i_last_x, intf_sys_t::i_last_y, intf_sys_t::i_mouse_x, intf_sys_t::i_mouse_y, intf_sys_t::i_num_gestures, intf_sys_t::i_pattern, intf_sys_t::i_threshold, LEFT, intf_sys_t::lock, msg_Dbg, intf_thread_t::p_sys, intf_sys_t::p_vout, RIGHT, UP, var_GetCoords, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_SUCCESS, VLC_UNUSED, vlc_value_t::x, and vlc_value_t::y.
Referenced by CreateFilter(), End(), Init(), Manage(), and RunIntf().
| int Open | ( | vlc_object_t * | p_this | ) |
Probes and initializes.
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 RunIntf | ( | intf_thread_t * | p_intf | ) | [static] |
References aout_ToggleMute, aout_VolumeDown, aout_VolumeUp, intf_sys_t::b_got_gesture, DOWN, GESTURE, i, vlc_list_t::i_count, vlc_value_t::i_int, intf_sys_t::i_num_gestures, intf_sys_t::i_pattern, input_GetVout(), INTF_IDLE_SLEEP, LEFT, libvlc_Quit(), list, intf_sys_t::lock, MouseEvent(), msg_Dbg, msg_Warn, msleep, NONE, intf_thread_t::p_libvlc, vlc_value_t::p_list, intf_thread_t::p_sys, vlc_list_t::p_values, intf_sys_t::p_vout, PAUSE_S, pl_Get, PLAYING_S, playlist_CurrentInput(), playlist_Next, playlist_Prev, RIGHT, UP, var_AddCallback, var_Change, var_DelCallback, var_FreeList(), var_GetInteger, var_InheritInteger, var_SetBool, var_SetInteger, var_SetTime, var_ToggleBool, var_TriggerCallback, vlc_mutex_lock(), vlc_mutex_unlock(), vlc_object_alive, vlc_object_release, vlc_restorecancel(), vlc_savecancel(), and VLC_VAR_GETCHOICES.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const button_list[] = { "left", "middle", "right" } [static] |
const char* const button_list_text[] [static] |
1.5.6