FFmpeg
aiff.h
Go to the documentation of this file.
1 /*
2  * AIFF/AIFF-C muxer/demuxer common header
3  * Copyright (c) 2006 Patrick Guimond
4  *
5  * This file is part of FFmpeg.
6  *
7  * FFmpeg is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * FFmpeg is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with FFmpeg; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
22 /**
23  * @file
24  * common header for AIFF muxer and demuxer
25  */
26 
27 #ifndef AVFORMAT_AIFF_H
28 #define AVFORMAT_AIFF_H
29 
30 #include "avformat.h"
31 #include "internal.h"
32 
33 static const AVCodecTag ff_codec_aiff_tags[] = {
34  { AV_CODEC_ID_PCM_S16BE, MKTAG('N','O','N','E') },
35  { AV_CODEC_ID_PCM_S8, MKTAG('N','O','N','E') },
36  { AV_CODEC_ID_PCM_U8, MKTAG('r','a','w',' ') },
37  { AV_CODEC_ID_PCM_S24BE, MKTAG('N','O','N','E') },
38  { AV_CODEC_ID_PCM_S32BE, MKTAG('N','O','N','E') },
39  { AV_CODEC_ID_PCM_F32BE, MKTAG('f','l','3','2') },
40  { AV_CODEC_ID_PCM_F64BE, MKTAG('f','l','6','4') },
41  { AV_CODEC_ID_PCM_ALAW, MKTAG('a','l','a','w') },
42  { AV_CODEC_ID_PCM_MULAW, MKTAG('u','l','a','w') },
43  { AV_CODEC_ID_PCM_S24BE, MKTAG('i','n','2','4') },
44  { AV_CODEC_ID_PCM_S32BE, MKTAG('i','n','3','2') },
45  { AV_CODEC_ID_MACE3, MKTAG('M','A','C','3') },
46  { AV_CODEC_ID_MACE6, MKTAG('M','A','C','6') },
47  { AV_CODEC_ID_GSM, MKTAG('G','S','M',' ') },
48  { AV_CODEC_ID_ADPCM_G722, MKTAG('G','7','2','2') },
49  { AV_CODEC_ID_ADPCM_G726LE, MKTAG('G','7','2','6') },
50  { AV_CODEC_ID_PCM_S16BE, MKTAG('t','w','o','s') },
51  { AV_CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },
52  { AV_CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },
53  { AV_CODEC_ID_QDMC, MKTAG('Q','D','M','C') },
54  { AV_CODEC_ID_QDM2, MKTAG('Q','D','M','2') },
55  { AV_CODEC_ID_QCELP, MKTAG('Q','c','l','p') },
56  { AV_CODEC_ID_SDX2_DPCM, MKTAG('S','D','X','2') },
57  { AV_CODEC_ID_ADPCM_IMA_WS, MKTAG('A','D','P','4') },
58  { AV_CODEC_ID_NONE, 0 },
59 };
60 
61 #endif /* AVFORMAT_AIFF_H */
AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition: avcodec.h:463
AV_CODEC_ID_MACE6
@ AV_CODEC_ID_MACE6
Definition: avcodec.h:574
AV_CODEC_ID_PCM_F32BE
@ AV_CODEC_ID_PCM_F32BE
Definition: avcodec.h:483
AV_CODEC_ID_ADPCM_IMA_QT
@ AV_CODEC_ID_ADPCM_IMA_QT
Definition: avcodec.h:502
MKTAG
#define MKTAG(a, b, c, d)
Definition: common.h:366
AV_CODEC_ID_ADPCM_G722
@ AV_CODEC_ID_ADPCM_G722
Definition: avcodec.h:530
AV_CODEC_ID_PCM_S16BE
@ AV_CODEC_ID_PCM_S16BE
Definition: avcodec.h:464
AV_CODEC_ID_PCM_S8
@ AV_CODEC_ID_PCM_S8
Definition: avcodec.h:467
AV_CODEC_ID_MACE3
@ AV_CODEC_ID_MACE3
Definition: avcodec.h:573
AVCodecTag
Definition: internal.h:44
AV_CODEC_ID_PCM_MULAW
@ AV_CODEC_ID_PCM_MULAW
Definition: avcodec.h:469
AV_CODEC_ID_PCM_ALAW
@ AV_CODEC_ID_PCM_ALAW
Definition: avcodec.h:470
internal.h
AV_CODEC_ID_ADPCM_IMA_WS
@ AV_CODEC_ID_ADPCM_IMA_WS
Definition: avcodec.h:506
ff_codec_aiff_tags
static const AVCodecTag ff_codec_aiff_tags[]
Definition: aiff.h:33
AV_CODEC_ID_QDM2
@ AV_CODEC_ID_QDM2
Definition: avcodec.h:583
AV_CODEC_ID_GSM
@ AV_CODEC_ID_GSM
as in Berlin toast format
Definition: avcodec.h:582
AV_CODEC_ID_QCELP
@ AV_CODEC_ID_QCELP
Definition: avcodec.h:588
AV_CODEC_ID_QDMC
@ AV_CODEC_ID_QDMC
Definition: avcodec.h:614
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: avcodec.h:216
AV_CODEC_ID_PCM_F64BE
@ AV_CODEC_ID_PCM_F64BE
Definition: avcodec.h:485
AV_CODEC_ID_PCM_S32BE
@ AV_CODEC_ID_PCM_S32BE
Definition: avcodec.h:472
avformat.h
AV_CODEC_ID_ADPCM_G726LE
@ AV_CODEC_ID_ADPCM_G726LE
Definition: avcodec.h:538
AV_CODEC_ID_PCM_U8
@ AV_CODEC_ID_PCM_U8
Definition: avcodec.h:468
AV_CODEC_ID_SDX2_DPCM
@ AV_CODEC_ID_SDX2_DPCM
Definition: avcodec.h:560
AV_CODEC_ID_PCM_S24BE
@ AV_CODEC_ID_PCM_S24BE
Definition: avcodec.h:476