|
VLC
2.1.0-git
|

Go to the source code of this file.
Enumerations | |
| enum | input_statistic_t { INPUT_STATISTIC_DECODED_VIDEO, INPUT_STATISTIC_DECODED_AUDIO, INPUT_STATISTIC_DECODED_SUBTITLE, INPUT_STATISTIC_SENT_PACKET, INPUT_STATISTIC_SENT_BYTE } |
Functions | |
| void | input_item_SetPreparsed (input_item_t *p_i, bool b_preparsed) |
| void | input_item_SetArtNotFound (input_item_t *p_i, bool b_not_found) |
| void | input_item_SetArtFetched (input_item_t *p_i, bool b_art_fetched) |
| void | input_item_SetEpg (input_item_t *p_item, const vlc_epg_t *p_epg) |
| void | input_item_SetEpgOffline (input_item_t *) |
| int | input_Preparse (vlc_object_t *, input_item_t *) |
| Initialize an input and initialize it to preparse the item This function is blocking. | |
| input_stats_t * | stats_NewInputStats (input_thread_t *p_input) |
| void | input_resource_TerminateSout (input_resource_t *p_resource) |
| This function deletes the current sout in the resources. | |
| bool | input_resource_HasVout (input_resource_t *p_resource) |
| This function return true if there is at least one vout in the resources. | |
| void | input_UpdateStatistic (input_thread_t *, input_statistic_t, int i_delta) |
| It will update internal input statistics from external sources. | |
| enum input_statistic_t |
| void input_item_SetArtFetched | ( | input_item_t * | p_i, |
| bool | b_art_fetched | ||
| ) |
References ITEM_ART_FETCHED, input_item_t::lock, input_item_t::p_meta, vlc_meta_GetStatus(), vlc_meta_New(), vlc_meta_SetStatus(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by Thread().
| void input_item_SetArtNotFound | ( | input_item_t * | p_i, |
| bool | b_not_found | ||
| ) |
References ITEM_ART_NOTFOUND, input_item_t::lock, input_item_t::p_meta, vlc_meta_GetStatus(), vlc_meta_New(), vlc_meta_SetStatus(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by Thread().
| void input_item_SetEpg | ( | input_item_t * | p_item, |
| const vlc_epg_t * | p_epg | ||
| ) |
References asprintf(), input_item_t::event_manager, vlc_epg_event_t::i_duration, input_item_t::i_epg, vlc_epg_t::i_event, vlc_epg_event_t::i_start, input_item_DelInfo(), InputItemAddInfo(), localtime_r(), input_item_t::lock, input_item_t::pp_epg, vlc_epg_t::pp_event, vlc_epg_event_t::psz_description, vlc_epg_event_t::psz_name, vlc_epg_t::psz_name, vlc_epg_event_t::psz_short_description, TAB_APPEND, vlc_event_t::type, vlc_epg_Merge(), vlc_epg_New(), vlc_event_send(), vlc_InputItemInfoChanged, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by EsOutProgramEpg().
| void input_item_SetEpgOffline | ( | input_item_t * | ) |
References asprintf(), input_item_t::event_manager, input_item_t::i_epg, input_item_DelInfo(), input_item_t::lock, input_item_t::pp_epg, vlc_epg_t::psz_name, vlc_event_t::type, vlc_epg_SetCurrent(), vlc_event_send(), vlc_InputItemInfoChanged, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by EsOutTerminate().
| void input_item_SetPreparsed | ( | input_item_t * | p_i, |
| bool | b_preparsed | ||
| ) |
References input_item_t::event_manager, ITEM_PREPARSED, input_item_t::lock, input_item_t::p_meta, vlc_event_t::type, vlc_event_send(), vlc_InputItemPreparsedChanged, vlc_meta_GetStatus(), vlc_meta_New(), vlc_meta_SetStatus(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by EsOutMeta(), and Preparse().
| int input_Preparse | ( | vlc_object_t * | p_parent, |
| input_item_t * | p_item | ||
| ) |
Initialize an input and initialize it to preparse the item This function is blocking.
It will only accept parsing regular files.
| p_parent | a vlc_object_t |
| p_item | an input item |
< Unspecified error
< No error
References Create(), End(), Init(), VLC_EGENERIC, vlc_object_release, and VLC_SUCCESS.
Referenced by Preparse().
| bool input_resource_HasVout | ( | input_resource_t * | p_resource | ) |
This function return true if there is at least one vout in the resources.
It can only be called on detached resources.
References input_resource_t::lock, input_resource_t::p_input, input_resource_t::p_vout_free, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by Thread().
| void input_resource_TerminateSout | ( | input_resource_t * | p_resource | ) |
This function deletes the current sout in the resources.
References input_resource_RequestSout().
Referenced by input_resource_Terminate(), LoopInput(), and vlm_ControlMediaInstanceStart().
| void input_UpdateStatistic | ( | input_thread_t * | , |
| input_statistic_t | , | ||
| int | i_delta | ||
| ) |
It will update internal input statistics from external sources.
XXX For now, the only one allowed to do it is stream_out and input core.
References input_thread_private_t::counters, input_thread_private_t::counters_lock, I, input_thread_private_t::i_state, INIT_S, INPUT_STATISTIC_DECODED_AUDIO, INPUT_STATISTIC_DECODED_SUBTITLE, INPUT_STATISTIC_DECODED_VIDEO, INPUT_STATISTIC_SENT_BYTE, INPUT_STATISTIC_SENT_PACKET, msg_Err, input_thread_t::p, input_thread_private_t::p_sout_send_bitrate, input_thread_private_t::p_sout_sent_bytes, stats_Update(), vlc_mutex_lock(), and vlc_mutex_unlock().
| input_stats_t* stats_NewInputStats | ( | input_thread_t * | p_input | ) |
References input_stats_t::lock, stats_ReinitInputStats(), and vlc_mutex_init().
Referenced by Create().
1.8.1.2