annotate aiff.h @ 5441:eada8bccc620 libavformat

Add avg_frame_rate.
author michael
date Sun, 13 Dec 2009 15:52:11 +0000
parents af65f63f2063
children 178de7695c6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
1 /*
5283
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
2 * AIFF/AIFF-C muxer/demuxer common header
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
3 * Copyright (c) 2006 Patrick Guimond
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
4 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1172
diff changeset
5 * This file is part of FFmpeg.
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1172
diff changeset
6 *
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1172
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
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: 1172
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
11 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1172
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
15 * Lesser General Public License for more details.
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
16 *
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
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: 1172
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
20 */
3286
6f61c3b36632 Use full path for #includes from another directory.
diego
parents: 3111
diff changeset
21
5283
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
22 /**
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
23 * @file libavformat/aiff.h
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
24 * common header for AIFF muxer and demuxer
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
25 */
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
26
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
27 #ifndef AVFORMAT_AIFF_H
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
28 #define AVFORMAT_AIFF_H
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
29
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
30 #include "avformat.h"
1172
6a5e58d2114b move common stuff from avienc.c and wav.c to new file riff.c
mru
parents: 1170
diff changeset
31 #include "riff.h"
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
32
5283
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
33 static const AVCodecTag ff_codec_aiff_tags[] = {
3529
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
34 { CODEC_ID_PCM_S16BE, MKTAG('N','O','N','E') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
35 { CODEC_ID_PCM_S8, MKTAG('N','O','N','E') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
36 { CODEC_ID_PCM_S24BE, MKTAG('N','O','N','E') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
37 { CODEC_ID_PCM_S32BE, MKTAG('N','O','N','E') },
3739
d7fa8d9effe5 Make AIFF demuxer handle F32BE and F64BE PCM audio.
pross
parents: 3530
diff changeset
38 { CODEC_ID_PCM_F32BE, MKTAG('f','l','3','2') },
d7fa8d9effe5 Make AIFF demuxer handle F32BE and F64BE PCM audio.
pross
parents: 3530
diff changeset
39 { CODEC_ID_PCM_F64BE, MKTAG('f','l','6','4') },
3529
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
40 { CODEC_ID_PCM_ALAW, MKTAG('a','l','a','w') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
41 { CODEC_ID_PCM_MULAW, MKTAG('u','l','a','w') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
42 { CODEC_ID_MACE3, MKTAG('M','A','C','3') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
43 { CODEC_ID_MACE6, MKTAG('M','A','C','6') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
44 { CODEC_ID_GSM, MKTAG('G','S','M',' ') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
45 { CODEC_ID_ADPCM_G726, MKTAG('G','7','2','6') },
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
46 { CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },
3066
5a69d7493dab ima4 in aiff support
bcoudurier
parents: 2771
diff changeset
47 { CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },
3529
579f6524e344 cosmetics, align vertically
bcoudurier
parents: 3435
diff changeset
48 { CODEC_ID_QDM2, MKTAG('Q','D','M','2') },
5395
af65f63f2063 decode qcelp in aiff, implement #1524, patch by Vitor
bcoudurier
parents: 5359
diff changeset
49 { CODEC_ID_QCELP, MKTAG('Q','c','l','p') },
5359
16a2de6da57e Use CODEC_ID_NONE instead of 0 for enum CodecID.
cehoyos
parents: 5283
diff changeset
50 { CODEC_ID_NONE, 0 },
925
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
51 };
2d9a65a1d9ea AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
michael
parents:
diff changeset
52
5283
63c52dca959b Split up the AIFF muxer and demuxer into separate files.
jbr
parents: 5279
diff changeset
53 #endif /* AVFORMAT_AIFF_H */