
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_t * | Filter (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 BLACKSLOT_LONGTEXT N_("Make one slot black. Other tiles can only be swapped with the 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") |
| 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.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
Filter a picture.
References filter_sys_t::b_blackslot, filter_sys_t::b_change, filter_sys_t::b_finished, filter_sys_t::change, CopyInfoAndRelease(), filter_NewPicture(), i, filter_sys_t::i_cols, plane_t::i_pitch, picture_t::i_planes, filter_sys_t::i_rows, filter_sys_t::i_selected, plane_t::i_visible_lines, plane_t::i_visible_pitch, filter_sys_t::lock, picture_t::p, plane_t::p_pixels, filter_t::p_sys, filter_sys_t::pi_order, picture_Release(), Shuffle(), shuffle_button, SHUFFLE_HEIGHT, SHUFFLE_WIDTH, vlc_mutex_lock(), vlc_mutex_unlock(), and Y_PLANE.
| static bool IsFinished | ( | filter_sys_t * | p_sys | ) | [static] |
References i, filter_sys_t::i_cols, filter_sys_t::i_rows, and filter_sys_t::pi_order.
| static bool IsValid | ( | filter_sys_t * | p_sys | ) | [static] |
References filter_sys_t::b_blackslot, i, filter_sys_t::i_cols, filter_sys_t::i_rows, and filter_sys_t::pi_order.
Referenced by Shuffle().
| 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] |
References a, filter_sys_t::b_blackslot, filter_sys_t::b_change, filter_sys_t::b_finished, filter_t::fmt_in, filter_sys_t::i_cols, video_format_t::i_height, filter_sys_t::i_rows, filter_sys_t::i_selected, video_format_t::i_width, vlc_mouse_t::i_x, vlc_mouse_t::i_y, IsFinished(), MOUSE_BUTTON_LEFT, filter_t::p_sys, filter_sys_t::pi_order, SHUFFLE_HEIGHT, SHUFFLE_WIDTH, es_format_t::video, VLC_EGENERIC, vlc_mouse_HasPressed(), and VLC_SUCCESS.
| 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:
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 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] |
References filter_sys_t::b_blackslot, filter_sys_t::b_finished, c, i, filter_sys_t::i_cols, filter_sys_t::i_rows, filter_sys_t::i_selected, IsFinished(), IsValid(), filter_sys_t::pi_order, and vlc_mrand48().
Referenced by Filter().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_filter_options[] [static] |
Initial value:
{
"rows", "cols", "black-slot", NULL
}
const char* shuffle_button[] [static] |
Initial value:
{
".................................................................................",
".............. ............................ ........ ...... ...............",
".............. ........................... ......... ........ ...............",
".............. ........................... ......... ........ ...............",
".. ....... . ....... .... ...... ...... ...... ........ ...",
". .... ...... ... ...... .... ....... ......... ........ ....... .. ..",
". ........... .... ...... .... ....... ......... ........ ...... .... .",
". ....... .... ...... .... ....... ......... ........ ...... .",
".. ...... .... ...... .... ....... ......... ........ ...... .......",
"...... ...... .... ...... .... ....... ......... ........ ...... .......",
". .... ...... .... ...... ... ....... ......... ........ ....... .... .",
".. ....... .... ....... . ....... ......... ........ ........ ..",
"................................................................................."
}
Referenced by Filter().
1.5.6