Mercurial > mplayer.hg
annotate libmpdemux/demux_rtp.h @ 22768:7989c3586b9e
add mf://bmp wish, remove deinterlace filter during playback
author | compn |
---|---|
date | Fri, 23 Mar 2007 01:48:54 +0000 |
parents | 4d81dbdf46b9 |
children | 3f0d00abc073 |
rev | line source |
---|---|
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
1 #ifndef _DEMUX_RTP_H |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
2 #define _DEMUX_RTP_H |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
3 |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
4 #include <stdlib.h> |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
5 #include <stdio.h> |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
6 |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
7 #ifndef __STREAM_H |
22605
4d81dbdf46b9
Add explicit location for headers from the stream/ directory.
diego
parents:
15585
diff
changeset
|
8 #include "stream/stream.h" |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
9 #endif |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
10 #ifndef __DEMUXER_H |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
11 #include "demuxer.h" |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
12 #endif |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
13 |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
14 // Open a RTP demuxer (which was initiated either from a SDP file, |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
15 // or from a RTSP URL): |
11983
1615952c26a8
Added support for handling multiplexed audio+video RTP streams.
rsf
parents:
10475
diff
changeset
|
16 demuxer_t* demux_open_rtp(demuxer_t* demuxer); |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
17 |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
18 // Test whether a RTP demuxer is for a MPEG stream: |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
19 int demux_is_mpeg_rtp_stream(demuxer_t* demuxer); |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
20 |
10475
99d459e7fdb9
Added support for checking whether a RTP demuxer contains a combined audio_video stream.
rsf
parents:
6910
diff
changeset
|
21 // Test whether a RTP demuxer contains combined (multiplexed) |
99d459e7fdb9
Added support for checking whether a RTP demuxer contains a combined audio_video stream.
rsf
parents:
6910
diff
changeset
|
22 // audio+video (and so needs to be demuxed by higher-level code): |
99d459e7fdb9
Added support for checking whether a RTP demuxer contains a combined audio_video stream.
rsf
parents:
6910
diff
changeset
|
23 int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer); |
99d459e7fdb9
Added support for checking whether a RTP demuxer contains a combined audio_video stream.
rsf
parents:
6910
diff
changeset
|
24 |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
25 // Read from a RTP demuxer: |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
26 int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds); |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
27 |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
28 // Close a RTP demuxer |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
29 void demux_close_rtp(demuxer_t* demuxer); |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
30 |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
diff
changeset
|
31 #endif |