VLC 4.0.0-dev
|
Macros | |
#define | RETRY_TIMEOUT_BASE VLC_TICK_FROM_MS(100) |
#define | RETRY_TIMEOUT_MAX VLC_TICK_FROM_MS(3200) |
#define | MAX_EOS_BURST 4 |
#define MAX_EOS_BURST 4 |
#define RETRY_TIMEOUT_BASE VLC_TICK_FROM_MS(100) |
#define RETRY_TIMEOUT_MAX VLC_TICK_FROM_MS(3200) |
|
static |
References vlc_input_event_attachments::array, vlc_input_event::attachments, vlc_input_event::cache, vlc_player_input::cache, vlc_player_input::capabilities, vlc_input_event::chapter, vlc_input_event_attachments::count, vlc_input_event_state::date, vlc_input_event::es, vlc_input_event_output_clock::frame_rate, vlc_input_event_output_clock::frame_rate_base, input_thread_private_t::i_start, vlc_input_event_output_clock::id, INPUT_EVENT_ATTACHMENTS, INPUT_EVENT_CACHE, INPUT_EVENT_CAPABILITIES, INPUT_EVENT_CHAPTER, INPUT_EVENT_DEAD, INPUT_EVENT_ES, INPUT_EVENT_ITEM_EPG, INPUT_EVENT_ITEM_INFO, INPUT_EVENT_ITEM_META, INPUT_EVENT_MOUSE, INPUT_EVENT_NAV_FAILED, INPUT_EVENT_OUTPUT_CLOCK, INPUT_EVENT_PROGRAM, INPUT_EVENT_RATE, INPUT_EVENT_RECORD, INPUT_EVENT_SIGNAL, INPUT_EVENT_STATE, INPUT_EVENT_STATISTICS, INPUT_EVENT_SUBITEMS, INPUT_EVENT_TIMES, INPUT_EVENT_TITLE, INPUT_EVENT_VBI_PAGE, INPUT_EVENT_VBI_TRANSPARENCY, INPUT_EVENT_VOUT, input_GetItem(), input_GetItemDuration(), input_item_SetDuration(), input_priv(), vlc_input_event_times::length, vlc_player_input::length, vlc_player_t::lock, vlc_input_event_output_clock::master, vlc_input_event::mouse_data, vlc_input_event::nav_type, vlc_input_event_times::normal_time, vlc_player_input::normal_time, vlc_input_event::output_clock, vlc_player_input::player, vlc_player_timer_point::position, vlc_input_event_times::position, vlc_player_input::position, vlc_input_event::program, vlc_player_input::rate, vlc_player_input::recording, vlc_player_input::signal_quality, vlc_player_input::signal_strength, vlc_player_input::started, vlc_input_event::state, vlc_player_input::stats, vlc_input_event::subitems, vlc_player_timer_point::system_date, vlc_input_event_output_clock::system_ts, vlc_player_input::teletext_page, vlc_player_input::teletext_transparent, vlc_player_input::thread, vlc_input_event_times::time, vlc_player_input::time, vlc_input_event::times, vlc_input_event::title, vlc_input_event::type, vlc_input_event_state::value, vlc_mutex_lock(), vlc_mutex_unlock(), vlc_player_destructor_AddJoinableInput(), vlc_player_input_HandleChapterEvent(), vlc_player_input_HandleEsEvent(), vlc_player_input_HandleProgramEvent(), vlc_player_input_HandleState(), vlc_player_input_HandleStateEvent(), vlc_player_input_HandleTitleEvent(), vlc_player_input_HandleVoutEvent(), vlc_player_input_MouseFallback(), vlc_player_input_NavigationFallback(), vlc_player_input_UpdateTime(), vlc_player_SendEvent, VLC_PLAYER_STATE_STOPPING, VLC_PLAYER_TIMER_EVENT_DISCONTINUITY, vlc_player_UpdateTimer(), vlc_player_UpdateTimerEvent(), VLC_TICK_INVALID, vlc_tick_now(), and vlc_input_event::vout.
Referenced by vlc_player_input_New().
|
inlinestatic |
References VLC_PLAYER_SEEK_FAST, VLC_PLAYER_SEEK_PRECISE, VLC_PLAYER_WHENCE_ABSOLUTE, and VLC_PLAYER_WHENCE_RELATIVE.
Referenced by vlc_player_input_SeekByPos(), and vlc_player_input_SeekByTime().
|
static |
void vlc_player_input_Delete | ( | struct vlc_player_input * | input | ) |
References vlc_player_input::audio_track_vector, input_Close(), vlc_player_input::program_vector, vlc_player_program_vector::size, vlc_player_track_vector::size, vlc_player_input::spu_track_vector, vlc_player_input::teletext_source, vlc_player_input::thread, vlc_player_input::titles, vlc_player_input::video_track_vector, and vlc_vector_destroy.
Referenced by vlc_player_destructor_Thread().
struct vlc_player_track_priv * vlc_player_input_FindTrackById | ( | struct vlc_player_input * | input, |
vlc_es_id_t * | id, | ||
size_t * | idx | ||
) |
References vlc_es_id_GetCat(), vlc_player_input_GetTrackVector(), and vlc_player_track_vector_FindById().
Referenced by vlc_player_GetEsIdDelay(), vlc_player_input_HandleVoutEvent(), and vlc_player_SetEsIdDelay().
double vlc_player_input_GetPos | ( | struct vlc_player_input * | input, |
bool | seeking, | ||
vlc_tick_t | system_now | ||
) |
char * vlc_player_input_GetSelectedTrackStringIds | ( | struct vlc_player_input * | input, |
enum es_format_category_e | cat | ||
) |
References vlc_player_track::es_id, vlc_memstream::ptr, vlc_player_track_priv::t, vlc_es_id_GetStrId(), vlc_es_id_IsStrIdStable(), vlc_memstream_close(), vlc_memstream_open(), vlc_memstream_putc(), vlc_memstream_puts(), vlc_player_input_GetTrackVector(), and vlc_vector_foreach.
Referenced by vlc_player_UpdateMLStates().
vlc_tick_t vlc_player_input_GetTime | ( | struct vlc_player_input * | input, |
bool | seeking, | ||
vlc_tick_t | system_now | ||
) |
|
static |
|
static |
References vlc_player_title_list::array, vlc_player_title::chapter_count, vlc_player_input::chapter_selected, vlc_player_title::chapters, vlc_player_title_list::count, vlc_player_input::player, vlc_input_event_chapter::seekpoint, vlc_input_event_chapter::title, vlc_player_input::title_selected, vlc_player_input::titles, and vlc_player_SendEvent.
Referenced by input_thread_Events().
|
static |
References vlc_input_event_es::action, AUDIO_ES, vlc_player_track::es_id, vlc_input_event_es::fmt, vlc_input_event_es::forced, vlc_player_input::has_audio_tracks, vlc_player_input::has_video_tracks, es_format_t::i_cat, vlc_input_event_es::id, vlc_player_input::ml, vlc_player_input::player, vlc_player_track::selected, vlc_player_track_priv::selected_by_user, vlc_player_track_priv::t, vlc_input_event_es::title, VIDEO_ES, vlc_assert_unreachable, vlc_player_input_GetTrackVector(), vlc_player_input_HandleTeletextMenu(), VLC_PLAYER_LIST_ADDED, VLC_PLAYER_LIST_REMOVED, VLC_PLAYER_LIST_UPDATED, vlc_player_RemoveTimerSource(), vlc_player_SendEvent, vlc_player_track_priv_Delete(), vlc_player_track_priv_New(), vlc_player_track_priv_Update(), vlc_player_track_vector_FindById(), vlc_vector_push, vlc_vector_remove, vlc_input_event_es::vout_order, and vlc_player_track_priv::vout_order.
Referenced by input_thread_Events().
|
static |
References vlc_input_event_program::action, vlc_player_program::group_id, vlc_input_event_program::id, vlc_player_input::player, vlc_player_input::program_vector, vlc_player_program::scrambled, vlc_input_event_program::scrambled, vlc_player_program::selected, vlc_input_event_program::title, vlc_assert_unreachable, VLC_PLAYER_LIST_ADDED, VLC_PLAYER_LIST_REMOVED, VLC_PLAYER_LIST_UPDATED, vlc_player_program_Delete(), vlc_player_program_New(), vlc_player_program_Update(), vlc_player_program_vector_FindById(), vlc_player_SendEvent, vlc_vector_foreach, vlc_vector_push, and vlc_vector_remove.
Referenced by input_thread_Events().
void vlc_player_input_HandleState | ( | struct vlc_player_input * | input, |
enum vlc_player_state | state, | ||
vlc_tick_t | state_date | ||
) |
References vlc_player_t::deleting, vlc_player_t::eos_burst_count, vlc_player_t::global_state, vlc_player_t::input, vlc_player_t::last_eos, vlc_player_t::next_media, vlc_player_input::pause_date, vlc_player_input::player, vlc_player_input::started, vlc_player_t::started, state, vlc_player_input::state, vlc_player_input::titles, vlc_assert_unreachable, VLC_PLAYER_EOS_BURST_THRESHOLD, vlc_player_input_Start(), vlc_player_OpenNextMedia(), vlc_player_ResetTimer(), vlc_player_SendEvent, VLC_PLAYER_STATE_PAUSED, VLC_PLAYER_STATE_PLAYING, VLC_PLAYER_STATE_STARTED, VLC_PLAYER_STATE_STOPPED, VLC_PLAYER_STATE_STOPPING, VLC_PLAYER_TIMER_EVENT_DISCONTINUITY, VLC_PLAYER_TIMER_EVENT_PAUSED, VLC_PLAYER_TIMER_EVENT_PLAYING, VLC_PLAYER_TIMER_EVENT_STOPPING, vlc_player_title_list_Release(), vlc_player_UpdateTimerEvent(), vlc_player_WaitRetryDelay(), VLC_TICK_INVALID, and vlc_tick_now().
Referenced by input_thread_Events(), vlc_player_destructor_Thread(), and vlc_player_input_HandleStateEvent().
|
static |
References END_S, vlc_player_input::error, ERROR_S, OPENING_S, PAUSE_S, vlc_player_input::player, vlc_player_input::playing, PLAYING_S, vlc_player_input::started, state, vlc_assert_unreachable, vlc_player_destructor_AddStoppingInput(), VLC_PLAYER_ERROR_GENERIC, vlc_player_input_HandleState(), vlc_player_SendEvent, VLC_PLAYER_STATE_PAUSED, VLC_PLAYER_STATE_PLAYING, VLC_PLAYER_STATE_STARTED, VLC_PLAYER_STATE_STOPPING, and VLC_TICK_INVALID.
Referenced by input_thread_Events().
|
static |
References vlc_input_event_es::action, vlc_input_event_es::fmt, es_format_t::i_cat, es_format_t::i_codec, vlc_player_input::player, vlc_player_track::selected, SPU_ES, vlc_player_track_priv::t, vlc_player_input::teletext_enabled, vlc_player_input::teletext_page, vlc_player_input::teletext_source, vlc_assert_unreachable, VLC_CODEC_TELETEXT, vlc_player_FindTeletextSource(), vlc_player_input_TeletextUserPage(), and vlc_player_SendEvent.
Referenced by vlc_player_input_HandleEsEvent().
|
static |
References vlc_input_event_title::action, vlc_input_event_title::array, vlc_player_title_list::array, vlc_player_input::chapter_selected, vlc_input_event_title::count, vlc_player_title_list::count, vlc_ml_playback_states_all::current_title, input_thread_private_t::i_seekpoint_offset, input_thread_private_t::i_title_offset, input_priv(), input_SetPosition(), vlc_input_event_title::list, vlc_player_input::ml, vlc_player_input::player, vlc_player_input::pos, vlc_player_input::restore, vlc_input_event_title::selected_idx, vlc_player_input::states, vlc_player_input::thread, vlc_player_input::title_selected, vlc_player_input::titles, vlc_assert_unreachable, vlc_player_SelectTitleIdx(), vlc_player_SendEvent, vlc_player_title_list_Create(), and vlc_player_title_list_Release().
Referenced by input_thread_Events().
|
static |
References vlc_input_event_vout::action, vlc_player_track::fmt, es_format_t::i_cat, vlc_input_event_vout::id, vlc_input_event_vout::order, vlc_player_input::player, vlc_player_track_priv::t, VIDEO_ES, vlc_assert_unreachable, vlc_player_input_FindTrackById(), vlc_player_SendEvent, vlc_player_vout_AddCallbacks(), vlc_player_vout_DelCallbacks(), VLC_PLAYER_VOUT_STARTED, VLC_PLAYER_VOUT_STOPPED, VLC_VOUT_ORDER_NONE, vlc_input_event_vout::vout, and vlc_player_track_priv::vout.
Referenced by input_thread_Events().
|
static |
|
static |
References vlc_player_t::input, INPUT_CONTROL_NAV_ACTIVATE, INPUT_CONTROL_NAV_DOWN, INPUT_CONTROL_NAV_LEFT, INPUT_CONTROL_NAV_MENU, INPUT_CONTROL_NAV_POPUP, INPUT_CONTROL_NAV_RIGHT, INPUT_CONTROL_NAV_UP, vlc_player_input::player, var_GetBool(), var_InheritInteger(), vlc_assert_unreachable, vlc_player_aout_IncrementVolume(), vlc_player_input_SeekByTime(), vlc_player_input_UpdateViewpoint(), VLC_PLAYER_SEEK_PRECISE, vlc_player_vout_HoldAll(), VLC_PLAYER_WHENCE_RELATIVE, vlc_tick_from_sec, vlc_viewpoint_from_euler(), and vout_Release().
Referenced by input_thread_Events().
struct vlc_player_input * vlc_player_input_New | ( | vlc_player_t * | player, |
input_item_t * | item | ||
) |
References vlc_player_input::abloop_state, vlc_ml_playback_states_all::aspect_ratio, AUDIO_ES, vlc_player_t::audio_string_ids, vlc_player_input::audio_track_vector, vlc_player_input::cache, vlc_player_input::capabilities, vlc_player_input::cat_delays, vlc_input_thread_cfg::cbs, vlc_player_input::chapter_selected, vlc_ml_playback_states_all::crop, vlc_ml_playback_states_all::current_audio_track, vlc_ml_playback_states_all::current_subtitle_track, vlc_ml_playback_states_all::current_title, vlc_ml_playback_states_all::current_video_track, DATA_ES, vlc_ml_playback_states_all::deinterlace, vlc_player_input::delay_restore, vlc_player_input::error, vlc_player_input::has_audio_tracks, vlc_player_input::has_video_tracks, vlc_input_thread_cfg::INPUT_CFG_HW_DEC_DEFAULT, input_Create, input_SetEsCatDelay(), input_thread_Events(), INPUT_TYPE_PLAYBACK, vlc_player_input::length, vlc_player_input::ml, vlc_player_input::normal_time, vlc_input_thread_callbacks::on_event, vlc_player_input::pause_date, vlc_player_input::player, vlc_player_input::playing, vlc_player_input::pos, vlc_player_input::position, vlc_player_input::program_vector, vlc_player_input::rate, vlc_player_input::recording, vlc_player_t::renderer, vlc_player_t::resource, vlc_player_input::restore, vlc_player_input::restore_states, vlc_player_input::set, vlc_player_input::signal_quality, vlc_player_input::signal_strength, SPU_ES, vlc_player_input::spu_track_vector, vlc_player_input::started, vlc_player_input::state, vlc_player_input::states, vlc_player_input::stats, vlc_player_t::sub_string_ids, vlc_player_input::teletext_enabled, vlc_player_input::teletext_page, vlc_player_input::teletext_source, vlc_player_input::teletext_transparent, vlc_player_input::thread, vlc_player_input::time, vlc_player_input::title_selected, vlc_player_input::titles, vlc_input_thread_cfg::type, UNKNOWN_ES, var_InheritInteger(), VIDEO_ES, vlc_ml_playback_states_all::video_filter, vlc_player_t::video_string_ids, vlc_player_input::video_track_vector, VLC_PLAYER_ERROR_NONE, vlc_player_input_RestoreMlStates(), vlc_player_input_SelectTracksByStringIds(), vlc_player_SendEvent, VLC_PLAYER_STATE_STOPPED, vlc_player_input::VLC_RESTOREPOINT_NONE, VLC_SUCCESS, VLC_TICK_0, VLC_TICK_FROM_MS, vlc_tick_from_samples(), VLC_TICK_INVALID, and vlc_vector_init.
Referenced by vlc_player_OpenNextMedia(), and vlc_player_Start().
void vlc_player_input_SeekByPos | ( | struct vlc_player_input * | input, |
double | position, | ||
enum vlc_player_seek_speed | speed, | ||
enum vlc_player_whence | whence | ||
) |
References INPUT_CONTROL_SET_POSITION, input_ControlPush(), vlc_player_input::player, vlc_player_input::thread, vlc_player_assert_seek_params(), vlc_player_input_GetPos(), vlc_player_osd_Position(), vlc_player_UpdateTimerSeekState(), VLC_PLAYER_WHENCE_ABSOLUTE, VLC_SUCCESS, VLC_TICK_INVALID, and vlc_tick_now().
Referenced by vlc_player_SeekByPos().
void vlc_player_input_SeekByTime | ( | struct vlc_player_input * | input, |
vlc_tick_t | time, | ||
enum vlc_player_seek_speed | speed, | ||
enum vlc_player_whence | whence | ||
) |
References INPUT_CONTROL_SET_TIME, input_ControlPush(), vlc_player_input::player, vlc_player_input::thread, vlc_player_assert_seek_params(), vlc_player_input_GetTime(), vlc_player_osd_Position(), vlc_player_UpdateTimerSeekState(), VLC_PLAYER_WHENCE_ABSOLUTE, VLC_SUCCESS, VLC_TICK_0, and vlc_tick_now().
Referenced by vlc_player_input_NavigationFallback(), and vlc_player_SeekByTime().
void vlc_player_input_SelectTracksByStringIds | ( | struct vlc_player_input * | input, |
enum es_format_category_e | cat, | ||
const char * | str_ids | ||
) |
References input_SetEsCatIds(), and vlc_player_input::thread.
Referenced by vlc_player_input_New(), vlc_player_input_RestoreMlStates(), and vlc_player_SelectTracksByStringIds().
int vlc_player_input_Start | ( | struct vlc_player_input * | input | ) |
References input_Start(), vlc_player_input::started, vlc_player_input::thread, and VLC_SUCCESS.
Referenced by vlc_player_input_HandleState(), and vlc_player_Start().
|
static |
References vlc_player_track::fmt, subs_format_t::i_magazine, subs_format_t::i_page, es_format_t::subs, vlc_player_track_priv::t, and subs_format_t::teletext.
Referenced by vlc_player_input_HandleTeletextMenu().
|
static |
void vlc_player_input_UpdateViewpoint | ( | struct vlc_player_input * | input, |
const vlc_viewpoint_t * | viewpoint, | ||
enum vlc_player_whence | whence | ||
) |
|
static |