puzzle.c File Reference

Include dependency graph for puzzle.c:


Data Structures

struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define ROWS_TEXT   N_("Number of puzzle rows")
#define ROWS_LONGTEXT   N_("Number of puzzle rows")
#define COLS_TEXT   N_("Number of puzzle columns")
#define COLS_LONGTEXT   N_("Number of puzzle columns")
#define BLACKSLOT_TEXT   N_("Make one tile a black slot")
#define BLACKSLOT_LONGTEXT   N_("Make one slot black. Other tiles can only be swapped with the black slot.")
#define CFG_PREFIX   "puzzle-"
#define SHUFFLE_WIDTH   81
#define SHUFFLE_HEIGHT   13

Functions

static int Open (vlc_object_t *p_this)
 Open the filter.
static void Close (vlc_object_t *p_this)
 Close the filter.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static picture_tFilter (filter_t *p_filter, picture_t *p_pic)
 Filter a picture.
static int Mouse (filter_t *, vlc_mouse_t *, const vlc_mouse_t *, const vlc_mouse_t *)
static bool IsFinished (filter_sys_t *)
static void Shuffle (filter_sys_t *)
static int PuzzleCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static bool IsValid (filter_sys_t *p_sys)

Variables

static const char *const ppsz_filter_options []
static const char * shuffle_button []

Define Documentation

#define BLACKSLOT_LONGTEXT   N_("Make one slot black. Other tiles can only be swapped with the black slot.")

#define BLACKSLOT_TEXT   N_("Make one tile a black slot")

#define CFG_PREFIX   "puzzle-"

#define COLS_LONGTEXT   N_("Number of puzzle columns")

#define COLS_TEXT   N_("Number of puzzle columns")

#define ROWS_LONGTEXT   N_("Number of puzzle rows")

#define ROWS_TEXT   N_("Number of puzzle rows")

#define SHUFFLE_HEIGHT   13

Referenced by Filter(), and Mouse().

#define SHUFFLE_WIDTH   81

Referenced by Filter(), and Mouse().


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Close the filter.

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 picture_t * Filter ( filter_t p_filter,
picture_t p_pic 
) [static]

static bool IsFinished ( filter_sys_t p_sys  )  [static]

static bool IsValid ( filter_sys_t p_sys  )  [static]

static int Mouse ( filter_t p_filter,
vlc_mouse_t p_mouse,
const vlc_mouse_t p_old,
const vlc_mouse_t p_new 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Open the filter.

Status of this demuxer: Real Media format -----------------.

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 int PuzzleCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static void Shuffle ( filter_sys_t p_sys  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const char* const ppsz_filter_options[] [static]

Initial value:

 {
    "rows", "cols", "black-slot", NULL
}

const char* shuffle_button[] [static]

Initial value:

{
".................................................................................",
"..............  ............................   ........   ......  ...............",
"..............  ...........................  .........  ........  ...............",
"..............  ...........................  .........  ........  ...............",
"..     .......  .    .......  ....  ......     ......     ......  ........    ...",
".  .... ......   ...  ......  ....  .......  .........  ........  .......  ..  ..",
".  ...........  ....  ......  ....  .......  .........  ........  ......  ....  .",
".      .......  ....  ......  ....  .......  .........  ........  ......        .",
"..      ......  ....  ......  ....  .......  .........  ........  ......  .......",
"......  ......  ....  ......  ....  .......  .........  ........  ......  .......",
". ....  ......  ....  ......  ...   .......  .........  ........  .......  .... .",
"..     .......  ....  .......    .  .......  .........  ........  ........     ..",
"................................................................................."
}

Referenced by Filter().


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