FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/base64.h"
#include "libavcodec/bytestream.h"
#include "internal.h"
#include "rtpdec.h"
#include "rtpdec_formats.h"
Go to the source code of this file.
Data Structures | |
struct | PayloadContext |
RTP/JPEG specific private data. More... | |
Functions | |
static PayloadContext * | xiph_new_context (void) |
static void | free_fragment_if_needed (PayloadContext *data) |
static void | xiph_free_context (PayloadContext *data) |
static av_cold int | xiph_vorbis_init (AVFormatContext *ctx, int st_index, PayloadContext *data) |
static int | xiph_handle_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) |
static int | get_base128 (const uint8_t **buf, const uint8_t *buf_end) |
Length encoding described in RFC5215 section 3.1.1. | |
static int | parse_packed_headers (const uint8_t *packed_headers, const uint8_t *packed_headers_end, AVCodecContext *codec, PayloadContext *xiph_data) |
Based off parse_packed_headers in Vorbis RTP. | |
static int | xiph_parse_fmtp_pair (AVStream *stream, PayloadContext *xiph_data, char *attr, char *value) |
static int | xiph_parse_sdp_line (AVFormatContext *s, int st_index, PayloadContext *data, const char *line) |
Variables | |
RTPDynamicProtocolHandler | ff_theora_dynamic_handler |
RTPDynamicProtocolHandler | ff_vorbis_dynamic_handler |
Xiph / RTP Code.
Definition in file rtpdec_xiph.c.
|
static |
Definition at line 52 of file rtpdec_xiph.c.
|
inlinestatic |
Definition at line 57 of file rtpdec_xiph.c.
Referenced by xiph_free_context(), and xiph_handle_packet().
|
static |
Definition at line 67 of file rtpdec_xiph.c.
|
static |
Definition at line 74 of file rtpdec_xiph.c.
|
static |
Definition at line 84 of file rtpdec_xiph.c.
Length encoding described in RFC5215 section 3.1.1.
Definition at line 231 of file rtpdec_xiph.c.
Referenced by parse_packed_headers().
|
static |
Based off parse_packed_headers in Vorbis RTP.
Definition at line 249 of file rtpdec_xiph.c.
Referenced by xiph_parse_fmtp_pair().
|
static |
Definition at line 309 of file rtpdec_xiph.c.
Referenced by xiph_parse_sdp_line().
|
static |
Definition at line 376 of file rtpdec_xiph.c.
RTPDynamicProtocolHandler ff_theora_dynamic_handler |
Definition at line 392 of file rtpdec_xiph.c.
Referenced by ff_register_rtp_dynamic_payload_handlers().
RTPDynamicProtocolHandler ff_vorbis_dynamic_handler |
Definition at line 402 of file rtpdec_xiph.c.
Referenced by ff_register_rtp_dynamic_payload_handlers().