
Data Structures | |
| struct | vlc_input_callback_t |
Defines | |
| #define | CALLBACK(name, cb) { name, cb } |
Functions | |
| static int | StateCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | RateCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | PositionCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | TimeCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | ProgramCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | TitleCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | SeekpointCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | NavigationCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | ESCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | EsDelayCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | BookmarkCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *) |
| static int | RecordCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data) |
| static int | FrameNextCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data) |
| static void | InputAddCallbacks (input_thread_t *, const vlc_input_callback_t *) |
| static void | InputDelCallbacks (input_thread_t *, const vlc_input_callback_t *) |
| void | input_ControlVarInit (input_thread_t *p_input) |
| void | input_ControlVarStop (input_thread_t *p_input) |
| void | input_ControlVarNavigation (input_thread_t *p_input) |
| void | input_ControlVarTitle (input_thread_t *p_input, int i_title) |
| void | input_ConfigVarInit (input_thread_t *p_input) |
Variables | |
| static const vlc_input_callback_t | p_input_callbacks [] |
| static const vlc_input_callback_t | p_input_navigation_callbacks [] |
| static const vlc_input_callback_t | p_input_title_callbacks [] |
| static int BookmarkCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References INPUT_CONTROL_SET_BOOKMARK, input_ControlPush(), and VLC_UNUSED.
| static int ESCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References vlc_value_t::i_int, INPUT_CONTROL_SET_ES, input_ControlPush(), and VLC_UNUSED.
| static int EsDelayCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References INPUT_CONTROL_SET_AUDIO_DELAY, INPUT_CONTROL_SET_SPU_DELAY, input_ControlPush(), and VLC_UNUSED.
| static int FrameNextCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References INPUT_CONTROL_SET_FRAME_NEXT, input_ControlPush(), and VLC_UNUSED.
| void input_ConfigVarInit | ( | input_thread_t * | p_input | ) |
References input_thread_t::b_preparsing, var_Create, var_SetBool, var_SetFloat, var_SetInteger, VLC_VAR_BOOL, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_INTEGER, and VLC_VAR_STRING.
Referenced by Create().
| void input_ControlVarInit | ( | input_thread_t * | p_input | ) |
References _, input_thread_t::b_preparsing, vlc_value_t::f_float, vlc_value_t::i_int, input_thread_private_t::i_state, vlc_value_t::i_time, InputAddCallbacks(), input_thread_t::p, vlc_value_t::psz_string, text, var_Change, var_Create, var_Get, var_GetInteger, VLC_VAR_DELCHOICE, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_HASCHOICE, VLC_VAR_INTEGER, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, VLC_VAR_SETVALUE, VLC_VAR_STRING, VLC_VAR_TIME, VLC_VAR_VARIABLE, and VLC_VAR_VOID.
Referenced by Create().
| void input_ControlVarNavigation | ( | input_thread_t * | p_input | ) |
References _, asprintf(), CLOCK_FREQ, vlc_value_t::i_int, input_title_t::i_length, input_title_t::i_seekpoint, input_thread_private_t::i_seekpoint_offset, input_thread_private_t::i_title, input_thread_private_t::i_title_offset, MSTRTIME_MAX_SIZE, NavigationCallback(), input_thread_t::p, seekpoint_t::psz_name, input_title_t::psz_name, vlc_value_t::psz_string, secstotimestr(), input_title_t::seekpoint, strdup(), text, input_thread_private_t::title, TitleCallback(), var_AddCallback, var_Change, var_Create, var_Destroy, VLC_VAR_ADDCHOICE, VLC_VAR_HASCHOICE, VLC_VAR_INTEGER, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, and VLC_VAR_VOID.
Referenced by InitTitle().
| void input_ControlVarStop | ( | input_thread_t * | p_input | ) |
References input_thread_t::b_preparsing, input_thread_private_t::i_title, InputDelCallbacks(), name, NavigationCallback(), input_thread_t::p, and var_DelCallback.
Referenced by End().
| void input_ControlVarTitle | ( | input_thread_t * | p_input, | |
| int | i_title | |||
| ) |
References _, asprintf(), vlc_value_t::i_int, input_title_t::i_seekpoint, input_thread_private_t::i_seekpoint_offset, input_thread_t::p, seekpoint_t::psz_name, vlc_value_t::psz_string, input_title_t::seekpoint, SeekpointCallback(), strdup(), text, input_thread_private_t::title, var_AddCallback, var_Change, var_Create, var_Destroy, var_Type, VLC_VAR_ADDCHOICE, VLC_VAR_CLEARCHOICES, VLC_VAR_SETTEXT, and VLC_VAR_VOID.
Referenced by input_SendEventTitle().
| static void InputAddCallbacks | ( | input_thread_t * | p_input, | |
| const vlc_input_callback_t * | p_callbacks | |||
| ) | [static] |
References callback(), psz_name, vlc_input_callback_t::psz_name, and var_AddCallback.
Referenced by input_ControlVarInit().
| static void InputDelCallbacks | ( | input_thread_t * | p_input, | |
| const vlc_input_callback_t * | p_callbacks | |||
| ) | [static] |
References callback(), psz_name, vlc_input_callback_t::psz_name, and var_DelCallback.
Referenced by input_ControlVarStop().
| static int NavigationCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References vlc_value_t::i_int, INPUT_CONTROL_SET_SEEKPOINT, INPUT_CONTROL_SET_TITLE, input_ControlPush(), var_Change, VLC_UNUSED, and VLC_VAR_SETVALUE.
Referenced by input_ControlVarNavigation(), and input_ControlVarStop().
| static int PositionCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
| static int ProgramCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References INPUT_CONTROL_SET_PROGRAM, input_ControlPush(), and VLC_UNUSED.
| static int RateCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
| static int RecordCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References INPUT_CONTROL_SET_RECORD_STATE, input_ControlPush(), and VLC_UNUSED.
| static int SeekpointCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
| static int StateCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References vlc_value_t::i_int, INPUT_CONTROL_SET_STATE, input_ControlPush(), PAUSE_S, PLAYING_S, and VLC_UNUSED.
| static int TimeCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
| static int TitleCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
const vlc_input_callback_t p_input_callbacks[] [static] |
{
{ "state" , StateCallback },
{ "rate" , RateCallback },
{ "position" , PositionCallback },
{ "position-offset" , PositionCallback },
{ "time" , TimeCallback },
{ "time-offset" , TimeCallback },
{ "bookmark" , BookmarkCallback },
{ "program" , ProgramCallback },
{ "title" , TitleCallback },
{ "chapter" , SeekpointCallback },
{ "audio-delay" , EsDelayCallback },
{ "spu-delay" , EsDelayCallback },
{ "video-es" , ESCallback },
{ "audio-es" , ESCallback },
{ "spu-es" , ESCallback },
{ "record" , RecordCallback },
{ "frame-next" , FrameNextCallback },
{ NULL , NULL }
}
const vlc_input_callback_t p_input_navigation_callbacks[] [static] |
{
{ "next-title" , TitleCallback },
{ "prev-title" , TitleCallback },
{ NULL , NULL }
}
const vlc_input_callback_t p_input_title_callbacks[] [static] |
{
{ "next-chapter" , SeekpointCallback },
{ "prev-chapter" , SeekpointCallback },
{ NULL , NULL }
}
1.7.1