Mercurial > libavformat.hg
annotate dv.h @ 294:6091b76cfc2a libavformat
added MPEG2TS support in RTP, SDP and RTSP - replaced fake RTP demux by a specific API
author | bellard |
---|---|
date | Wed, 29 Oct 2003 14:25:27 +0000 |
parents | f174d9c00bce |
children | 252946de6d3f |
rev | line source |
---|---|
262
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
1 /* |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
2 * General DV muxer/demuxer |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
3 * Copyright (c) 2003 Roman Shaposhnick |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
4 * |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
5 * Many thanks to Dan Dennedy <dan@dennedy.org> for providing wealth |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
6 * of DV technical info. |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
7 * |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
8 * Raw DV format |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
9 * Copyright (c) 2002 Fabrice Bellard. |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
10 * |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
11 * This library is free software; you can redistribute it and/or |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
12 * modify it under the terms of the GNU Lesser General Public |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
13 * License as published by the Free Software Foundation; either |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
14 * version 2 of the License, or (at your option) any later version. |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
15 * |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
16 * This library is distributed in the hope that it will be useful, |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
19 * Lesser General Public License for more details. |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
20 * |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
21 * You should have received a copy of the GNU Lesser General Public |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
22 * License along with this library; if not, write to the Free Software |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
24 */ |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
25 |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
26 void* dv_init_demux(AVFormatContext *s, int vid, int aid); |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
27 int dv_get_packet(void*, AVPacket *); |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
28 int dv_produce_packet(void*, AVPacket*, uint8_t*, int); |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
29 |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
30 void* dv_init_mux(AVFormatContext* s); |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
31 int dv_assemble_frame(void *c, AVStream*, const uint8_t*, int, uint8_t**); |
f174d9c00bce
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
diff
changeset
|
32 void dv_delete_mux(void*); |