VLC 4.0.0-dev
|
Real-Time Protocol (RTP) sample-based audio This files defines the same-based RTP payload formats (mostly from RFC3551) including linear, logarithmic and adaptive audio formats. More...
Data Structures | |
struct | rtp_pcm |
Macros | |
#define | RTP_MAX_CHANS 6 |
Functions | |
static void * | rtp_pcm_init (struct vlc_rtp_pt *pt) |
static void | rtp_pcm_destroy (struct vlc_rtp_pt *pt, void *data) |
static void | rtp_pcm_reorder (void *restrict out, const void *restrict in, size_t frames, size_t sample_size, size_t channels, const uint8_t *restrict map) |
static void | rtp_pcm_decode (struct vlc_rtp_pt *pt, void *data, block_t *block, const struct vlc_rtp_pktinfo *restrict info) |
static void | rtp_pcm_release (struct vlc_rtp_pt *pt) |
static void * | rtp_g722_init (struct vlc_rtp_pt *pt) |
static void * | rtp_g726_init (struct vlc_rtp_pt *pt) |
static int | rtp_pcm_open (vlc_object_t *obj, struct vlc_rtp_pt *pt, const struct vlc_sdp_pt *desc) |
int | vlc_entry__MODULE_NAME (vlc_set_cb vlc_set, void *opaque) |
const char * | vlc_entry_api_version__MODULE_NAME (void) |
Variables | |
static const struct vlc_rtp_pt_operations | rtp_pcm_ops |
static const struct vlc_rtp_pt_operations | rtp_g722_ops |
static const struct vlc_rtp_pt_operations | rtp_g726_ops |
static const uint32_t | channel_masks [] |
static const uint32_t | channel_order [] |
static const uint32_t | channel_order_3 [6] |
Real-Time Protocol (RTP) sample-based audio This files defines the same-based RTP payload formats (mostly from RFC3551) including linear, logarithmic and adaptive audio formats.
#define RTP_MAX_CHANS 6 |
|
static |
|
static |
References aout_FormatPrepare(), es_format_t::audio, AUDIO_ES, rtp_pcm::channel_count, rtp_pcm::channel_mask, es_format_Init(), rtp_pcm::fourcc, es_format_t::i_bitrate, audio_format_t::i_channels, audio_format_t::i_physical_channels, audio_format_t::i_rate, vlc_rtp_pt::opaque, rtp_pcm::sample_bits, and vlc_rtp_pt_request_es().
|
static |
References block_Alloc, block_CopyProperties, BLOCK_FLAG_DISCONTINUITY, block_Release, rtp_pcm::channel_count, rtp_pcm::channel_map, rtp_pcm::channel_reorder, vlc_frame_t::i_buffer, vlc_frame_t::i_dts, vlc_frame_t::i_flags, likely, vlc_rtp_pt::opaque, vlc_frame_t::p_buffer, rtp_pcm_reorder(), rtp_pcm::sample_bits, unlikely, vlc_rtp_es_send(), and VLC_TICK_INVALID.
|
static |
References vlc_rtp_es_destroy().
|
static |
References aout_FormatPrepare(), es_format_t::audio, AUDIO_ES, rtp_pcm::channel_count, rtp_pcm::channel_mask, es_format_Init(), rtp_pcm::fourcc, vlc_rtp_pt::frequency, audio_format_t::i_channels, audio_format_t::i_physical_channels, audio_format_t::i_rate, vlc_rtp_pt::opaque, and vlc_rtp_pt_request_es().
|
static |
References aout_CheckChannelReorder(), ARRAY_SIZE, rtp_pcm::channel_count, vlc_sdp_pt::channel_count, rtp_pcm::channel_map, rtp_pcm::channel_mask, channel_masks, channel_order, channel_order_3, rtp_pcm::channel_reorder, rtp_pcm::fourcc, msg_Warn, vlc_sdp_pt::name, vlc_rtp_pt::opaque, vlc_rtp_pt::ops, rtp_g722_ops, rtp_g726_ops, rtp_pcm_ops, rtp_pcm::sample_bits, unlikely, vlc_ascii_strcasecmp(), VLC_CODEC_ADPCM_G722, VLC_CODEC_ADPCM_G726, VLC_CODEC_ADPCM_G726_LE, VLC_CODEC_ALAW, VLC_CODEC_DAT12, VLC_CODEC_MULAW, VLC_CODEC_S16B, VLC_CODEC_S20B, VLC_CODEC_S24B, VLC_CODEC_U8, VLC_ENOMEM, VLC_ENOTSUP, vlc_popcount, and VLC_SUCCESS.
|
static |
References vlc_rtp_pt::opaque.
|
static |
References vlc_assert_unreachable.
Referenced by rtp_pcm_decode().
int vlc_entry__MODULE_NAME | ( | vlc_set_cb | vlc_set, |
void * | opaque | ||
) |
const char * vlc_entry_api_version__MODULE_NAME | ( | void | ) |
|
static |
Referenced by rtp_pcm_open().
|
static |
Referenced by ModuleThread_NewSpuBuffer(), and rtp_pcm_open().
|
static |
Referenced by rtp_pcm_open().
|
static |
Referenced by rtp_pcm_open().
|
static |
Referenced by rtp_pcm_open().
|
static |
Referenced by rtp_pcm_open().