VLC 4.0.0-dev
|
Modules | |
Encoder | |
Audio, video and text encoders. | |
Access output | |
Raw output byte streams. | |
Multiplexer | |
Multiplexers (file formatters) | |
Files | |
file | vlc_sout.h |
Stream output modules interface. | |
Data Structures | |
struct | sout_stream_operations |
struct | sout_stream_t |
Macros | |
#define | sout_EncoderCreate(o, s) sout_EncoderCreate(VLC_OBJECT(o),s) |
#define | sout_AnnounceRegisterSDP(o, sdp, addr) sout_AnnounceRegisterSDP(VLC_OBJECT (o), sdp, addr) |
#define | sout_AnnounceUnRegister(o, a) sout_AnnounceUnRegister(VLC_OBJECT (o), a) |
Enumerations | |
enum | sout_stream_query_e { SOUT_STREAM_WANTS_SUBSTREAMS , SOUT_STREAM_ID_SPU_HIGHLIGHT , SOUT_STREAM_IS_SYNCHRONOUS } |
#define sout_AnnounceRegisterSDP | ( | o, | |
sdp, | |||
addr | |||
) | sout_AnnounceRegisterSDP(VLC_OBJECT (o), sdp, addr) |
#define sout_AnnounceUnRegister | ( | o, | |
a | |||
) | sout_AnnounceUnRegister(VLC_OBJECT (o), a) |
#define sout_EncoderCreate | ( | o, | |
s | |||
) | sout_EncoderCreate(VLC_OBJECT(o),s) |
enum sout_stream_query_e |
session_descriptor_t * sout_AnnounceRegisterSDP | ( | vlc_object_t * | obj, |
const char * | sdp, | ||
const char * | dst | ||
) |
Registers a new session with the announce handler, using a pregenerated SDP.
obj | a VLC object |
sdp | the SDP to register |
dst | session address (needed for SAP address auto detection) |
References sap_address_t::a, session_descriptor_t::addr, AddressCreate(), AddressDestroy(), session_descriptor_t::data, sap_address_t::group, sap_address_t::in, sap_address_t::in6, vlc_memstream::length, session_descriptor_t::length, msg_Dbg, msg_Err, NI_MAXNUMERICHOST, session_descriptor_t::node, sap_address_t::node, sap_address_t::orig, vlc_memstream::ptr, RunThread(), sap_addrs, sap_mutex, sap_address_t::session_count, sap_address_t::sessions, vlc_memstream::stream, sap_address_t::thread, unlikely, vlc_assert_unreachable, vlc_clone(), vlc_cond_signal(), vlc_getaddrinfo(), vlc_getnameinfo(), vlc_list_append(), vlc_list_foreach, vlc_memstream_close(), vlc_memstream_open(), vlc_memstream_putc(), vlc_memstream_puts(), vlc_memstream_write(), vlc_mutex_lock(), vlc_mutex_unlock(), vlc_tick_now(), VLC_UNUSED, and sap_address_t::wait.
void sout_AnnounceUnRegister | ( | vlc_object_t * | obj, |
session_descriptor_t * | session | ||
) |
Unregisters an existing session.
obj | a VLC object |
session | the session descriptor |
References session_descriptor_t::addr, AddressDestroy(), session_descriptor_t::data, msg_Dbg, session_descriptor_t::node, sap_address_t::node, sap_mutex, sap_address_t::session_count, sap_address_t::sessions, sap_address_t::thread, vlc_assert_unreachable, vlc_cond_signal(), vlc_join(), vlc_list_is_empty(), vlc_list_remove(), vlc_mutex_lock(), vlc_mutex_unlock(), VLC_UNUSED, and sap_address_t::wait.
vlc_clock_t * sout_ClockCreate | ( | vlc_clock_main_t * | main_clock, |
const es_format_t * | fmt | ||
) |
References es_format_t::i_cat, and vlc_clock_main_CreateSlave().
void sout_ClockDelete | ( | vlc_clock_t * | clock | ) |
References vlc_clock_Delete().
vlc_clock_main_t * sout_ClockMainCreate | ( | sout_stream_t * | p_stream | ) |
References vlc_object_t::logger, sout_stream_t::obj, vlc_clock_main_New(), and vlc_object_get_tracer().
void sout_ClockMainDelete | ( | vlc_clock_main_t * | main_clock | ) |
References vlc_clock_main_Delete().
void sout_ClockMainSetFirstPcr | ( | vlc_clock_main_t * | main_clock, |
vlc_tick_t | pcr | ||
) |
References vlc_clock_main_Reset(), vlc_clock_main_SetFirstPcr(), and vlc_tick_now().
encoder_t * sout_EncoderCreate | ( | vlc_object_t * | p_this, |
size_t | owner_size | ||
) |
References msg_Err, and vlc_custom_create.
void sout_StreamChainDelete | ( | sout_stream_t * | first, |
sout_stream_t * | end | ||
) |
References sout_stream_t::p_next, sout_StreamDelete(), and vlc_assert_unreachable.
Referenced by DestroySout(), and EsOutSetRecord().
sout_stream_t * sout_StreamChainNew | ( | vlc_object_t * | parent, |
const char * | psz_chain, | ||
sout_stream_t * | p_next | ||
) |
References config_ChainCreate(), config_ChainDestroy(), name, sout_stream_t::p_next, psz_name, sout_StreamDelete(), sout_StreamNew(), strdup(), vlc_array_append_or_abort(), vlc_array_clear(), vlc_array_count(), vlc_array_init(), vlc_array_item_at_index, and vlc_assert_unreachable.
Referenced by sout_NewInstance().
|
inlinestatic |
References sout_StreamControlVa().
Referenced by sout_InputControlVa(), and sout_StreamIsSynchronous().
int sout_StreamControlVa | ( | sout_stream_t * | s, |
int | i_query, | ||
va_list | args | ||
) |
References sout_stream_operations::control, sout_stream_t::ops, sout_StreamLock(), sout_StreamUnlock(), and VLC_EGENERIC.
Referenced by sout_StreamControl().
void sout_StreamFlush | ( | sout_stream_t * | s, |
void * | id | ||
) |
References sout_stream_operations::flush, sout_stream_t::ops, sout_StreamLock(), and sout_StreamUnlock().
Referenced by sout_InputFlush().
void * sout_StreamIdAdd | ( | sout_stream_t * | s, |
const es_format_t * | fmt | ||
) |
References sout_stream_operations::add, sout_stream_t::ops, sout_StreamLock(), and sout_StreamUnlock().
Referenced by sout_InputNew().
void sout_StreamIdDel | ( | sout_stream_t * | s, |
void * | id | ||
) |
References sout_stream_operations::del, sout_stream_t::ops, sout_StreamLock(), and sout_StreamUnlock().
Referenced by sout_InputDelete().
int sout_StreamIdSend | ( | sout_stream_t * | s, |
void * | id, | ||
block_t * | b | ||
) |
References sout_stream_t::ops, sout_stream_operations::send, sout_StreamLock(), and sout_StreamUnlock().
Referenced by sout_InputSendBuffer().
|
inlinestatic |
References SOUT_STREAM_IS_SYNCHRONOUS, and sout_StreamControl().
Referenced by EsOutSend(), and Init().
void sout_StreamSetPCR | ( | sout_stream_t * | s, |
vlc_tick_t | pcr | ||
) |
References sout_stream_t::ops, sout_stream_operations::set_pcr, sout_StreamLock(), and sout_StreamUnlock().
Referenced by EsOutVaControlLocked().