libavformat/rtp_internal.h File Reference

#include <stdint.h>
#include "avcodec.h"
#include "rtp.h"

Go to the source code of this file.

Data Structures

struct  RTPStatistics
struct  RTPDynamicProtocolHandler_s
struct  RTPDemuxContext

Typedefs

typedef int(* DynamicPayloadPacketHandlerProc )(struct RTPDemuxContext *s, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags)
 Packet parsing for "private" payloads in the RTP specs.
typedef struct
RTPDynamicProtocolHandler_s 
RTPDynamicProtocolHandler

Functions

int rtsp_next_attr_and_value (const char **p, char *attr, int attr_size, char *value, int value_size)
 from rtsp.c, but used by rtp dynamic protocol handlers.
void ff_rtp_send_data (AVFormatContext *s1, const uint8_t *buf1, int len, int m)
const char * ff_rtp_enc_name (int payload_type)
enum CodecID ff_rtp_codec_id (const char *buf, enum CodecType codec_type)
void av_register_rtp_dynamic_payload_handlers (void)

Variables

RTPDynamicProtocolHandlerRTPFirstDynamicPayloadHandler


Typedef Documentation

typedef int(* DynamicPayloadPacketHandlerProc)(struct RTPDemuxContext *s, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags)

Packet parsing for "private" payloads in the RTP specs.

Parameters:
s stream context
pkt packet in which to write the parsed data
timestamp pointer in which to write the timestamp of this RTP packet
buf pointer to raw RTP packet data
len length of buf
flags flags from the RTP packet header (PKT_FLAG_*)

Definition at line 54 of file rtp_internal.h.


Function Documentation

void av_register_rtp_dynamic_payload_handlers ( void   ) 

Definition at line 54 of file rtpdec.c.

Referenced by av_register_all().

enum CodecID ff_rtp_codec_id ( const char *  buf,
enum CodecType  codec_type 
)

Definition at line 220 of file rtp.c.

Referenced by sdp_parse_rtpmap().

const char* ff_rtp_enc_name ( int  payload_type  ) 

Definition at line 208 of file rtp.c.

Referenced by rtp_parse_close(), rtp_parse_open(), and sdp_parse_line().

void ff_rtp_send_data ( AVFormatContext s1,
const uint8_t buf1,
int  len,
int  m 
)

int rtsp_next_attr_and_value ( const char **  p,
char *  attr,
int  attr_size,
char *  value,
int  value_size 
)

from rtsp.c, but used by rtp dynamic protocol handlers.

from rtsp.c, but used by rtp dynamic protocol handlers.

This is broken out as a function because it is used in rtp_h264.c, which is forthcoming.

Definition at line 287 of file rtsp.c.

Referenced by parse_h264_sdp_line(), and sdp_parse_fmtp().


Variable Documentation

Definition at line 43 of file rtpdec.c.

Referenced by sdp_parse_rtpmap().


Generated on Thu Apr 2 07:15:43 2009 for ffmpeg by  doxygen 1.5.6