~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/gfxoutputdrv/ffmpeg/rtp.h

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2006-07-30 19:15:59 UTC
  • mto: (9.1.1 lenny) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20060730191559-g31ymd2mk102kzff
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef RTP_H
20
20
#define RTP_H
21
21
 
 
22
enum RTPPayloadType {
 
23
    RTP_PT_ULAW = 0,
 
24
    RTP_PT_GSM = 3,
 
25
    RTP_PT_G723 = 4,
 
26
    RTP_PT_ALAW = 8,
 
27
    RTP_PT_S16BE_STEREO = 10,
 
28
    RTP_PT_S16BE_MONO = 11,
 
29
    RTP_PT_MPEGAUDIO = 14,
 
30
    RTP_PT_JPEG = 26,
 
31
    RTP_PT_H261 = 31,
 
32
    RTP_PT_MPEGVIDEO = 32,
 
33
    RTP_PT_MPEG2TS = 33,
 
34
    RTP_PT_H263 = 34, /* old H263 encapsulation */
 
35
    RTP_PT_PRIVATE = 96,
 
36
};
 
37
 
22
38
#define RTP_MIN_PACKET_LENGTH 12
23
39
#define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */
24
40
 
25
41
int rtp_init(void);
26
42
int rtp_get_codec_info(AVCodecContext *codec, int payload_type);
27
43
int rtp_get_payload_type(AVCodecContext *codec);
28
 
int rtp_parse_packet(AVFormatContext *s1, AVPacket *pkt, 
29
 
                     const unsigned char *buf, int len);
 
44
 
 
45
typedef struct RTPDemuxContext RTPDemuxContext;
 
46
 
 
47
RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, int payload_type);
 
48
int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, 
 
49
                     const uint8_t *buf, int len);
 
50
void rtp_parse_close(RTPDemuxContext *s);
30
51
 
31
52
extern AVOutputFormat rtp_mux;
32
53
extern AVInputFormat rtp_demux;