#include "avformat.h"
#include "avio_internal.h"
#include "rtp.h"
#include "rtpdec.h"
#include "isom.h"
#include "libavcodec/get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | PayloadContext |
RTP/H264 specific private data. More... | |
Defines | |
#define | MKTAG16(a, b) MKTAG(a,b,0,0) |
#define | RTP_QT_HANDLER(m, n, s, t) |
Functions | |
static int | qt_rtp_parse_packet (AVFormatContext *s, PayloadContext *qt, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags) |
static PayloadContext * | qt_rtp_new (void) |
static void | qt_rtp_free (PayloadContext *qt) |
RTP_QT_HANDLER (qt, vid,"X-QT", AVMEDIA_TYPE_VIDEO) | |
RTP_QT_HANDLER (qt, aud,"X-QT", AVMEDIA_TYPE_AUDIO) | |
RTP_QT_HANDLER (quicktime, vid,"X-QUICKTIME", AVMEDIA_TYPE_VIDEO) | |
RTP_QT_HANDLER (quicktime, aud,"X-QUICKTIME", AVMEDIA_TYPE_AUDIO) |
Definition in file rtpdec_qt.c.
#define MKTAG16 | ( | a, | |||
b | ) | MKTAG(a,b,0,0) |
Referenced by qt_rtp_parse_packet().
#define RTP_QT_HANDLER | ( | m, | |||
n, | |||||
s, | |||||
t | ) |
Value:
RTPDynamicProtocolHandler ff_ ## m ## _rtp_ ## n ## _handler = { \ .enc_name = s, \ .codec_type = t, \ .codec_id = CODEC_ID_NONE, \ .alloc = qt_rtp_new, \ .free = qt_rtp_free, \ .parse_packet = qt_rtp_parse_packet, \ }
Definition at line 242 of file rtpdec_qt.c.
static void qt_rtp_free | ( | PayloadContext * | qt | ) | [static] |
Definition at line 236 of file rtpdec_qt.c.
static PayloadContext* qt_rtp_new | ( | void | ) | [static] |
Definition at line 231 of file rtpdec_qt.c.
static int qt_rtp_parse_packet | ( | AVFormatContext * | s, | |
PayloadContext * | qt, | |||
AVStream * | st, | |||
AVPacket * | pkt, | |||
uint32_t * | timestamp, | |||
const uint8_t * | buf, | |||
int | len, | |||
int | flags | |||
) | [static] |
The RTP payload is described in: http://developer.apple.com/quicktime/icefloe/dispatch026.html
Definition at line 41 of file rtpdec_qt.c.
RTP_QT_HANDLER | ( | quicktime | , | |
aud | , | |||
"X-QUICKTIME" | , | |||
AVMEDIA_TYPE_AUDIO | ||||
) |
RTP_QT_HANDLER | ( | quicktime | , | |
vid | , | |||
"X-QUICKTIME" | , | |||
AVMEDIA_TYPE_VIDEO | ||||
) |
RTP_QT_HANDLER | ( | qt | , | |
aud | , | |||
"X-QT" | , | |||
AVMEDIA_TYPE_AUDIO | ||||
) |
RTP_QT_HANDLER | ( | qt | , | |
vid | , | |||
"X-QT" | , | |||
AVMEDIA_TYPE_VIDEO | ||||
) |