VLC 4.0.0-dev
|
Real-Time Protocol MPEG 1/2 payload format parser. More...
Data Structures | |
struct | rtp_mpa |
struct | rtp_mpv |
Macros | |
#define | MAX_PACKET_SIZE (1u << 18) |
#define | MPV_TWO_BIT 0x04000000u |
#define | MPV_TR_MASK 0x03ff0000u |
#define | MPV_AN_BIT 0x00008000u |
#define | MPV_N_BIT 0x00004000u |
#define | MPV_S_BIT 0x00002000u |
#define | MPV_BS_BIT 0x00001000u |
#define | MPV_ES_BIT 0x00000800u |
#define | MPV_PT_MASK 0x00000700u |
#define | MPV_FBV_BIT 0x00000080u |
#define | MPV_FBC_MASK 0x00000070u |
#define | MPV_FFV_BIT 0x00000008u |
#define | MPV_FFC_MASK 0x00000007u |
#define | EXTRACT(x, mask) (((x) & (mask)) >> stdc_trailing_zeros(mask)) |
Functions | |
static void * | rtp_mpa_init (struct vlc_rtp_pt *pt) |
static void | rtp_mpa_send (struct rtp_mpa *sys) |
static void | rtp_mpa_destroy (struct vlc_rtp_pt *pt, void *data) |
static void | rtp_mpa_decode (struct vlc_rtp_pt *pt, void *data, block_t *block, const struct vlc_rtp_pktinfo *restrict info) |
static void * | rtp_mpv_init (struct vlc_rtp_pt *pt) |
static void | rtp_mpv_send (struct rtp_mpv *sys) |
static void | rtp_mpv_destroy (struct vlc_rtp_pt *pt, void *data) |
static void | rtp_mpv_decode (struct vlc_rtp_pt *pt, void *data, block_t *block, const struct vlc_rtp_pktinfo *restrict info) |
static void * | rtp_mp2p_init (struct vlc_rtp_pt *pt) |
static void | rtp_mp2p_destroy (struct vlc_rtp_pt *pt, void *data) |
static void | rtp_mp2p_decode (struct vlc_rtp_pt *pt, void *data, block_t *block, const struct vlc_rtp_pktinfo *restrict info) |
static void * | rtp_mp2t_init (struct vlc_rtp_pt *pt) |
static void | rtp_mp2t_destroy (struct vlc_rtp_pt *pt, void *data) |
static void | rtp_mp2t_decode (struct vlc_rtp_pt *pt, void *data, block_t *block, const struct vlc_rtp_pktinfo *restrict info) |
static int | rtp_mpeg12_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_mpa_ops |
static const unsigned short | pic_types [8] |
static const struct vlc_rtp_pt_operations | rtp_mpv_ops |
static const struct vlc_rtp_pt_operations | rtp_mp2p_ops |
static const struct vlc_rtp_pt_operations | rtp_mp2t_ops |
Real-Time Protocol MPEG 1/2 payload format parser.
#define EXTRACT | ( | x, | |
mask | |||
) | (((x) & (mask)) >> stdc_trailing_zeros(mask)) |
#define MAX_PACKET_SIZE (1u << 18) |
#define MPV_AN_BIT 0x00008000u |
#define MPV_BS_BIT 0x00001000u |
#define MPV_ES_BIT 0x00000800u |
#define MPV_FBC_MASK 0x00000070u |
#define MPV_FBV_BIT 0x00000080u |
#define MPV_FFC_MASK 0x00000007u |
#define MPV_FFV_BIT 0x00000008u |
#define MPV_N_BIT 0x00004000u |
#define MPV_PT_MASK 0x00000700u |
#define MPV_S_BIT 0x00002000u |
#define MPV_TR_MASK 0x03ff0000u |
#define MPV_TWO_BIT 0x04000000u |
|
static |
References BLOCK_FLAG_DISCONTINUITY, vlc_frame_t::i_flags, and vlc_rtp_es_send().
|
static |
References vlc_rtp_es_destroy().
|
static |
References vlc_rtp_pt_request_mux().
|
static |
References BLOCK_FLAG_DISCONTINUITY, vlc_frame_t::i_buffer, vlc_frame_t::i_flags, and vlc_rtp_es_send().
|
static |
References vlc_rtp_es_destroy().
|
static |
References vlc_rtp_pt_request_mux().
|
static |
References block_Alloc, block_ChainExtract, BLOCK_FLAG_CORRUPTED, BLOCK_FLAG_DISCONTINUITY, block_Release, rtp_mpa::es, rtp_mpa::frag_end, rtp_mpa::frags, GetWBE, vlc_frame_t::i_buffer, vlc_frame_t::i_flags, vlc_frame_t::i_pts, likely, MAX_PACKET_SIZE, ntoh32, rtp_mpa::offset, vlc_rtp_pt::opaque, vlc_frame_t::p_buffer, vlc_frame_t::p_next, rtp_mpa_send(), unlikely, vlc_rtp_es_send(), VLC_TICK_INVALID, and vlc_warning.
|
static |
References rtp_mpa::es, rtp_mpa::frags, rtp_mpa_send(), unlikely, and vlc_rtp_es_destroy().
|
static |
References AUDIO_ES, rtp_mpa::es, es_format_Init(), rtp_mpa::frag_end, rtp_mpa::frags, rtp_mpa::offset, unlikely, VLC_CODEC_MPGA, and vlc_rtp_pt_request_es().
|
static |
References block_ChainGather, block_ChainRelease, rtp_mpa::es, rtp_mpa::frag_end, rtp_mpa::frags, likely, rtp_mpa::offset, and vlc_rtp_es_send().
Referenced by rtp_mpa_decode(), and rtp_mpa_destroy().
|
static |
|
static |
References BLOCK_FLAG_HEADER, block_Release, EXTRACT, rtp_mpv::frag_end, GetDWBE, vlc_frame_t::i_buffer, vlc_frame_t::i_flags, MAX_PACKET_SIZE, MPV_PT_MASK, MPV_S_BIT, MPV_TWO_BIT, vlc_rtp_pt::opaque, vlc_frame_t::p_buffer, vlc_frame_t::p_next, pic_types, rtp_mpv_send(), rtp_mpv::size, unlikely, and vlc_warning.
|
static |
References rtp_mpv::es, rtp_mpv::frags, rtp_mpv_send(), unlikely, and vlc_rtp_es_destroy().
|
static |
References rtp_mpv::es, es_format_Init(), rtp_mpv::frag_end, rtp_mpv::frags, rtp_mpv::size, unlikely, VIDEO_ES, VLC_CODEC_MPGV, and vlc_rtp_pt_request_es().
|
static |
References block_ChainGather, block_ChainRelease, rtp_mpv::es, rtp_mpv::frag_end, rtp_mpv::frags, likely, rtp_mpv::size, and vlc_rtp_es_send().
Referenced by rtp_mpv_decode(), and rtp_mpv_destroy().
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_mpv_decode().
|
static |
Referenced by rtp_mpeg12_open().
|
static |
Referenced by rtp_mpeg12_open().
|
static |
Referenced by rtp_mpeg12_open().
|
static |
Referenced by rtp_mpeg12_open().