VLC
3.0.21
|
Data Structures | |
struct | ts_cmd_add_t |
struct | ts_cmd_del_t |
struct | ts_cmd_send_t |
struct | ts_cmd_control_t |
struct | ts_cmd_t |
struct | ts_storage_t |
struct | ts_thread_t |
struct | es_out_id_t |
struct | es_out_sys_t |
Macros | |
#define | attribute_packed |
Typedefs | |
typedef struct ts_storage_t | ts_storage_t |
Enumerations | |
enum | { C_ADD, C_SEND, C_DEL, C_CONTROL } |
Functions | |
static es_out_id_t * | Add (es_out_t *, const es_format_t *) |
static int | Send (es_out_t *, es_out_id_t *, block_t *) |
static void | Del (es_out_t *, es_out_id_t *) |
static int | Control (es_out_t *, int i_query, va_list) |
static void | Destroy (es_out_t *) |
static int | TsStart (es_out_t *) |
static void | TsAutoStop (es_out_t *) |
static void | TsStop (ts_thread_t *) |
static void | TsPushCmd (ts_thread_t *, ts_cmd_t *) |
static int | TsPopCmdLocked (ts_thread_t *, ts_cmd_t *, bool b_flush) |
static bool | TsHasCmd (ts_thread_t *) |
static bool | TsIsUnused (ts_thread_t *) |
static int | TsChangePause (ts_thread_t *, bool b_source_paused, bool b_paused, vlc_tick_t i_date) |
static int | TsChangeRate (ts_thread_t *, int i_src_rate, int i_rate) |
static void * | TsRun (void *) |
static ts_storage_t * | TsStorageNew (const char *psz_path, int64_t i_tmp_size_max) |
static void | TsStorageDelete (ts_storage_t *) |
static void | TsStoragePack (ts_storage_t *p_storage) |
static bool | TsStorageIsFull (ts_storage_t *, const ts_cmd_t *p_cmd) |
static bool | TsStorageIsEmpty (ts_storage_t *) |
static void | TsStoragePushCmd (ts_storage_t *, const ts_cmd_t *p_cmd, bool b_flush) |
static void | TsStoragePopCmd (ts_storage_t *p_storage, ts_cmd_t *p_cmd, bool b_flush) |
static void | CmdClean (ts_cmd_t *) |
static void | cmd_cleanup_routine (void *p) |
static int | CmdInitAdd (ts_cmd_t *, es_out_id_t *, const es_format_t *, bool b_copy) |
static void | CmdInitSend (ts_cmd_t *, es_out_id_t *, block_t *) |
static int | CmdInitDel (ts_cmd_t *, es_out_id_t *) |
static int | CmdInitControl (ts_cmd_t *, int i_query, va_list, bool b_copy) |
static void | CmdCleanAdd (ts_cmd_t *) |
static void | CmdCleanSend (ts_cmd_t *) |
static void | CmdCleanControl (ts_cmd_t *p_cmd) |
static void | CmdExecuteAdd (es_out_t *, ts_cmd_t *) |
static int | CmdExecuteSend (es_out_t *, ts_cmd_t *) |
static void | CmdExecuteDel (es_out_t *, ts_cmd_t *) |
static int | CmdExecuteControl (es_out_t *, ts_cmd_t *) |
static int | GetTmpFile (char **ppsz_file, const char *psz_path) |
es_out_t * | input_EsOutTimeshiftNew (input_thread_t *p_input, es_out_t *p_next_out, int i_rate) |
static int | ControlLockedGetEmpty (es_out_t *p_out, bool *pb_empty) |
static int | ControlLockedGetWakeup (es_out_t *p_out, vlc_tick_t *pi_wakeup) |
static int | ControlLockedGetBuffering (es_out_t *p_out, bool *pb_buffering) |
static int | ControlLockedSetPauseState (es_out_t *p_out, bool b_source_paused, bool b_paused, vlc_tick_t i_date) |
static int | ControlLockedSetRate (es_out_t *p_out, int i_src_rate, int i_rate) |
static int | ControlLockedSetTime (es_out_t *p_out, vlc_tick_t i_date) |
static int | ControlLockedSetFrameNext (es_out_t *p_out) |
static int | ControlLocked (es_out_t *p_out, int i_query, va_list args) |
static void | TsDestroy (ts_thread_t *p_ts) |
#define attribute_packed |
typedef struct ts_storage_t ts_storage_t |
|
static |
Referenced by input_EsOutTimeshiftNew().
|
static |
|
static |
|
static |
|
static |
|
static |
References ts_cmd_t::add, ts_cmd_add_t::p_fmt, and ts_cmd_t::u.
References C_DEL, ts_cmd_t::del, ts_cmd_t::i_date, ts_cmd_t::i_type, mdate(), ts_cmd_del_t::p_es, ts_cmd_t::u, and VLC_SUCCESS.
< Unspecified error
References C_SEND, ts_cmd_t::i_date, ts_cmd_t::i_type, mdate(), ts_cmd_send_t::p_block, ts_cmd_send_t::p_es, ts_cmd_t::send, and ts_cmd_t::u.
|
static |
< Unspecified error
< No error
|
static |
< Unspecified error
< Unspecified error
< Unspecified error
< Unspecified error
< Unspecified error
< No error
References ts_cmd_t::del, es_out_Del(), ts_cmd_del_t::p_es, es_out_id_t::p_es, and ts_cmd_t::u.
|
static |
< No error
References block_Release(), ts_cmd_send_t::p_block, ts_cmd_t::send, and ts_cmd_t::u.
|
static |
References ts_cmd_t::add, es_format_Clean(), ts_cmd_add_t::p_fmt, and ts_cmd_t::u.
|
static |
Referenced by input_EsOutTimeshiftNew().
|
static |
< Unspecified error
< No error
< No error
< Unspecified error
< Unspecified error
< Unspecified error
|
static |
< No error
|
static |
< No error
|
static |
< No error
|
static |
|
static |
< Unspecified error
|
static |
< Unspecified error
|
static |
< Unspecified error
|
static |
Referenced by Destroy(), and input_EsOutTimeshiftNew().
|
static |
References es_out_sys_t::b_delayed, Del(), es_out_sys_t::i_es, es_out_sys_t::lock, es_out_t::p_sys, es_out_sys_t::p_ts, es_out_sys_t::pp_es, es_out_sys_t::psz_tmp_path, TAB_CLEAN, TsStop(), and vlc_mutex_destroy().
Referenced by input_EsOutTimeshiftNew().
|
static |
es_out_t* input_EsOutTimeshiftNew | ( | input_thread_t * | p_input, |
es_out_t * | p_next_out, | ||
int | i_rate | ||
) |
References Add(), es_out_sys_t::b_delayed, es_out_sys_t::b_input_paused, es_out_sys_t::b_input_paused_source, Control(), count, Del(), Destroy(), DIR_SEP_CHAR, es_out_sys_t::i_es, es_out_sys_t::i_input_rate, es_out_sys_t::i_input_rate_source, es_out_sys_t::i_tmp_size_max, es_out_sys_t::lock, msg_Dbg, es_out_sys_t::p_input, es_out_sys_t::p_out, es_out_t::p_sys, es_out_sys_t::p_ts, es_out_t::pf_add, es_out_t::pf_control, es_out_t::pf_del, es_out_t::pf_destroy, es_out_t::pf_send, es_out_sys_t::pp_es, es_out_sys_t::psz_tmp_path, Send(), strdup(), TAB_INIT, var_CreateGetInteger, var_InheritString, vlc_alloc(), and vlc_mutex_init_recursive().
|
static |
< No error
Referenced by input_EsOutTimeshiftNew().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
< Unspecified error
< No error
|
static |
|
static |
|
static |
< Unspecified error
< Unspecified error
< No error
|
static |
Referenced by Destroy().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |