annotate voc.h @ 5671:4a65c87ff3fd libavformat

Remove stale function declaration. Patch by Martin Storsj <$firstname $firstname st>.
author rbultje
date Fri, 19 Feb 2010 17:26:33 +0000
parents 3528d151a57e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
1 /*
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
2 * Creative Voice File demuxer.
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
3 * Copyright (c) 2006 Aurelien Jacobs <aurel@gnuage.org>
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
4 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 937
diff changeset
5 * This file is part of FFmpeg.
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 937
diff changeset
6 *
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 937
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 937
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
11 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 937
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
15 * Lesser General Public License for more details.
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
16 *
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 937
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
2217
06083249909c license header consistency cosmetics
diego
parents: 1677
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
20 */
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
21
3852
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3764
diff changeset
22 #ifndef AVFORMAT_VOC_H
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3764
diff changeset
23 #define AVFORMAT_VOC_H
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
24
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
25 #include "avformat.h"
1536
6dc55143f99f move common voc muxer and demuxer data to voc.c
aurel
parents: 1535
diff changeset
26 #include "riff.h" /* for CodecTag */
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
27
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
28 typedef struct voc_dec_context {
5384
3528d151a57e Determine VOC block length when length field is zero, fixes issue1538.
pross
parents: 4081
diff changeset
29 int64_t remaining_size;
4081
3d6e7901bf05 avoid POSIX reserved _t suffix
aurel
parents: 3852
diff changeset
30 } VocDecContext;
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
31
1535
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
32 typedef enum voc_type {
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
33 VOC_TYPE_EOF = 0x00,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
34 VOC_TYPE_VOICE_DATA = 0x01,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
35 VOC_TYPE_VOICE_DATA_CONT = 0x02,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
36 VOC_TYPE_SILENCE = 0x03,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
37 VOC_TYPE_MARKER = 0x04,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
38 VOC_TYPE_ASCII = 0x05,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
39 VOC_TYPE_REPETITION_START = 0x06,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
40 VOC_TYPE_REPETITION_END = 0x07,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
41 VOC_TYPE_EXTENDED = 0x08,
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
42 VOC_TYPE_NEW_VOICE_DATA = 0x09,
4081
3d6e7901bf05 avoid POSIX reserved _t suffix
aurel
parents: 3852
diff changeset
43 } VocType;
1535
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
44
3764
9cff515fd4c6 voc: add ff_ prefix to some global const data
aurel
parents: 2620
diff changeset
45 extern const unsigned char ff_voc_magic[21];
9cff515fd4c6 voc: add ff_ prefix to some global const data
aurel
parents: 2620
diff changeset
46 extern const AVCodecTag ff_voc_codec_tags[];
1535
a3fbb2b1fccf split voc.c into vocdec.c and vocenc.c
aurel
parents: 1358
diff changeset
47
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
48 int voc_get_packet(AVFormatContext *s, AVPacket *pkt,
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
49 AVStream *st, int max_size);
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
50
3852
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3764
diff changeset
51 #endif /* AVFORMAT_VOC_H */