VLC 4.0.0-dev
|
Data Structures | |
struct | demux_mapping |
struct | vlc_demux_private |
struct | packetizer_owner |
Macros | |
#define | static_control_match(foo) static_assert((unsigned) DEMUX_##foo == STREAM_##foo, "Mismatch") |
Functions | |
static int | demux_mapping_cmp (const void *k, const void *v) |
static const char * | demux_NameFromMimeType (const char *mime) |
demux_t * | demux_New (vlc_object_t *p_obj, const char *module, const char *url, stream_t *s, es_out_t *out) |
static void | demux_DestroyDemux (demux_t *demux) |
static int | demux_Probe (void *func, bool forced, va_list ap) |
demux_t * | demux_NewAdvanced (vlc_object_t *p_obj, input_thread_t *p_input, const char *module, const char *url, stream_t *s, es_out_t *out, bool b_preparsing) |
static int | demux_ReadDir (stream_t *s, input_item_node_t *p_node) |
int | demux_Demux (demux_t *demux) |
int | demux_vaControl (demux_t *demux, int query, va_list args) |
int | demux_vaControlHelper (stream_t *s, int64_t i_start, int64_t i_end, int64_t i_bitrate, int i_align, int i_query, va_list args) |
decoder_t * | demux_PacketizerNew (vlc_object_t *p_demux, es_format_t *p_fmt, const char *psz_msg) |
This function will create a packetizer suitable for a demuxer that parses elementary stream. | |
void | demux_PacketizerDestroy (decoder_t *p_packetizer) |
This function will destroy a packetizer create by demux_PacketizerNew. | |
unsigned | demux_TestAndClearFlags (demux_t *p_demux, unsigned flags) |
int | demux_GetTitle (demux_t *p_demux) |
int | demux_GetSeekpoint (demux_t *p_demux) |
static demux_t * | demux_FilterNew (demux_t *p_next, const char *p_name) |
demux_t * | demux_FilterChainNew (demux_t *p_demux, const char *psz_chain) |
Builds an explicit chain of demux filters. | |
static bool | demux_filter_enable_disable (demux_t *p_demux, const char *psz_demux, bool b_enable) |
bool | demux_FilterEnable (demux_t *p_demux_chain, const char *psz_demux) |
bool | demux_FilterDisable (demux_t *p_demux_chain, const char *psz_demux) |
#define static_control_match | ( | foo | ) | static_assert((unsigned) DEMUX_##foo == STREAM_##foo, "Mismatch") |
|
static |
References module_unneed, stream_t::psz_filepath, stream_t::psz_name, stream_t::s, vlc_stream_Delete(), and vlc_stream_Private().
Referenced by demux_FilterNew(), and demux_NewAdvanced().
|
static |
References demux_Control(), DEMUX_FILTER_DISABLE, DEMUX_FILTER_ENABLE, module_GetLongName, module_GetShortName, and vlc_stream_Private().
Referenced by demux_FilterDisable(), and demux_FilterEnable().
Builds an explicit chain of demux filters.
This function creates a chain of filters according to a supplied list.
See also stream_FilterChainNew(). Those two functions have identical semantics and ownership rules, except for the use of demux vs stream.
source | input stream around which to build a filter chain |
list | colon-separated list of stream filters (upstream first) |
References config_ChainCreate(), config_ChainDestroy(), demux_FilterNew(), psz_name, and strdup().
Referenced by ControlInsertDemuxFilter(), and InputSourceInit().
bool demux_FilterDisable | ( | demux_t * | p_demux_chain, |
const char * | psz_demux | ||
) |
References demux_filter_enable_disable().
Referenced by Control().
bool demux_FilterEnable | ( | demux_t * | p_demux_chain, |
const char * | psz_demux | ||
) |
References demux_filter_enable_disable().
Referenced by Control().
References demux_DestroyDemux(), module_need, stream_t::out, stream_t::p_input_item, stream_t::p_sys, stream_t::psz_filepath, stream_t::psz_location, stream_t::psz_name, stream_t::psz_url, stream_t::s, stream_CommonDelete(), unlikely, VLC_OBJECT, vlc_stream_CustomNew(), and vlc_stream_Private().
Referenced by demux_FilterChainNew().
int demux_GetSeekpoint | ( | demux_t * | p_demux | ) |
References demux_Control(), and DEMUX_GET_SEEKPOINT.
Referenced by Control(), and UpdateTitleSeekpointFromDemux().
int demux_GetTitle | ( | demux_t * | p_demux | ) |
References demux_Control(), and DEMUX_GET_TITLE.
Referenced by Control(), and UpdateTitleSeekpointFromDemux().
|
static |
References vlc_ascii_strcasecmp().
Referenced by demux_NameFromMimeType().
|
static |
References ARRAY_SIZE, demux_mapping_cmp(), and demux_mapping::name.
demux_t * demux_NewAdvanced | ( | vlc_object_t * | p_obj, |
input_thread_t * | p_input, | ||
const char * | module, | ||
const char * | url, | ||
stream_t * | s, | ||
es_out_t * | out, | ||
bool | b_preparsing | ||
) |
References asprintf(), stream_t::b_preparsing, demux_DestroyDemux(), demux_Probe(), input_GetItem(), likely, module_get_object(), msg_Dbg, stream_t::ops, stream_t::out, p, stream_t::p_input_item, stream_t::p_sys, stream_t::pf_control, stream_t::pf_demux, stream_t::pf_readdir, stream_t::psz_filepath, stream_t::psz_location, stream_t::psz_name, stream_t::psz_url, stream_t::s, strcasecmp(), strdup(), stream_CommonDelete(), stream_MimeType(), unlikely, var_Create(), var_SetString(), vlc_ascii_strcasecmp(), vlc_module_load(), vlc_object_logger, vlc_stream_CustomNew(), vlc_stream_Private(), vlc_uri2path(), and VLC_VAR_STRING.
Referenced by demux_New(), and InputDemuxNew().
|
static |
References vlc_object_t::force, msg_Err, stream_t::obj, stream_t::s, VLC_EGENERIC, VLC_OBJECT, vlc_objres_clear(), vlc_stream_Seek(), and vlc_stream_Tell().
Referenced by demux_NewAdvanced().
|
static |
References vlc_stream_operations::demux, stream_t::ops, and stream_t::pf_readdir.
Referenced by demux_Demux().
unsigned demux_TestAndClearFlags | ( | demux_t * | p_demux, |
unsigned | flags | ||
) |
References demux_Control(), and DEMUX_TEST_AND_CLEAR_FLAGS.
Referenced by MainLoopDemux(), UpdateGenericFromDemux(), UpdateTitleSeekpointFromDemux(), and vlc_demux_chained_Thread().