gestures.c File Reference

Include dependency graph for gestures.c:


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 Documentation

#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 GESTURE ( a,
b,
c,
 )     (a | ( b << 4 ) | ( c << 8 ) | ( d << 12 ))

Referenced by RunIntf().

#define LEFT   3

Referenced by MouseEvent(), RunIntf(), and Thread().

#define NONE   0

Referenced by Create(), and RunIntf().

#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().


Function Documentation

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.

Parameters:
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]

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:

  • Improve CDDB support (non-blocking, cache, .

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.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static void RunIntf ( intf_thread_t p_intf  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const char* const button_list[] = { "left", "middle", "right" } [static]

const char* const button_list_text[] [static]

Initial value:

                                   { N_("Left"), N_("Middle"), N_("Right") }


Generated on Tue May 25 08:05:15 2010 for VLC by  doxygen 1.5.6