FFmpeg
libavformat
aiff.c
Go to the documentation of this file.
1
/*
2
* AIFF/AIFF-C muxer/demuxer common data
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
#include <stddef.h>
23
#include "
libavcodec/codec_id.h
"
24
#include "
internal.h
"
25
26
const
AVCodecTag
ff_codec_aiff_tags
[] = {
27
{
AV_CODEC_ID_PCM_S16BE
,
MKTAG
(
'N'
,
'O'
,
'N'
,
'E'
) },
28
{
AV_CODEC_ID_PCM_S8
,
MKTAG
(
'N'
,
'O'
,
'N'
,
'E'
) },
29
{
AV_CODEC_ID_PCM_U8
,
MKTAG
(
'r'
,
'a'
,
'w'
,
' '
) },
30
{
AV_CODEC_ID_PCM_S24BE
,
MKTAG
(
'N'
,
'O'
,
'N'
,
'E'
) },
31
{
AV_CODEC_ID_PCM_S32BE
,
MKTAG
(
'N'
,
'O'
,
'N'
,
'E'
) },
32
{
AV_CODEC_ID_PCM_F32BE
,
MKTAG
(
'f'
,
'l'
,
'3'
,
'2'
) },
33
{
AV_CODEC_ID_PCM_F64BE
,
MKTAG
(
'f'
,
'l'
,
'6'
,
'4'
) },
34
{
AV_CODEC_ID_PCM_ALAW
,
MKTAG
(
'a'
,
'l'
,
'a'
,
'w'
) },
35
{
AV_CODEC_ID_PCM_MULAW
,
MKTAG
(
'u'
,
'l'
,
'a'
,
'w'
) },
36
{
AV_CODEC_ID_PCM_S24BE
,
MKTAG
(
'i'
,
'n'
,
'2'
,
'4'
) },
37
{
AV_CODEC_ID_PCM_S32BE
,
MKTAG
(
'i'
,
'n'
,
'3'
,
'2'
) },
38
{
AV_CODEC_ID_MACE3
,
MKTAG
(
'M'
,
'A'
,
'C'
,
'3'
) },
39
{
AV_CODEC_ID_MACE6
,
MKTAG
(
'M'
,
'A'
,
'C'
,
'6'
) },
40
{
AV_CODEC_ID_GSM
,
MKTAG
(
'G'
,
'S'
,
'M'
,
' '
) },
41
{
AV_CODEC_ID_ADPCM_G722
,
MKTAG
(
'G'
,
'7'
,
'2'
,
'2'
) },
42
{
AV_CODEC_ID_ADPCM_G726LE
,
MKTAG
(
'G'
,
'7'
,
'2'
,
'6'
) },
43
{
AV_CODEC_ID_PCM_S16BE
,
MKTAG
(
't'
,
'w'
,
'o'
,
's'
) },
44
{
AV_CODEC_ID_PCM_S16LE
,
MKTAG
(
's'
,
'o'
,
'w'
,
't'
) },
45
{
AV_CODEC_ID_ADPCM_IMA_QT
,
MKTAG
(
'i'
,
'm'
,
'a'
,
'4'
) },
46
{
AV_CODEC_ID_QDMC
,
MKTAG
(
'Q'
,
'D'
,
'M'
,
'C'
) },
47
{
AV_CODEC_ID_QDM2
,
MKTAG
(
'Q'
,
'D'
,
'M'
,
'2'
) },
48
{
AV_CODEC_ID_QCELP
,
MKTAG
(
'Q'
,
'c'
,
'l'
,
'p'
) },
49
{
AV_CODEC_ID_CBD2_DPCM
,
MKTAG
(
'C'
,
'B'
,
'D'
,
'2'
) },
50
{
AV_CODEC_ID_SDX2_DPCM
,
MKTAG
(
'S'
,
'D'
,
'X'
,
'2'
) },
51
{
AV_CODEC_ID_ADPCM_IMA_WS
,
MKTAG
(
'A'
,
'D'
,
'P'
,
'4'
) },
52
{
AV_CODEC_ID_NONE
, 0 },
53
};
54
55
const
AVCodecTag
*
const
ff_aiff_codec_tags_list
[] = {
ff_codec_aiff_tags
,
NULL
};
AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition:
codec_id.h:334
AV_CODEC_ID_MACE6
@ AV_CODEC_ID_MACE6
Definition:
codec_id.h:457
AV_CODEC_ID_PCM_F32BE
@ AV_CODEC_ID_PCM_F32BE
Definition:
codec_id.h:354
AV_CODEC_ID_ADPCM_IMA_QT
@ AV_CODEC_ID_ADPCM_IMA_QT
Definition:
codec_id.h:373
AV_CODEC_ID_ADPCM_G722
@ AV_CODEC_ID_ADPCM_G722
Definition:
codec_id.h:401
AV_CODEC_ID_PCM_S16BE
@ AV_CODEC_ID_PCM_S16BE
Definition:
codec_id.h:335
AV_CODEC_ID_PCM_S8
@ AV_CODEC_ID_PCM_S8
Definition:
codec_id.h:338
AV_CODEC_ID_MACE3
@ AV_CODEC_ID_MACE3
Definition:
codec_id.h:456
AVCodecTag
Definition:
internal.h:42
codec_id.h
ff_codec_aiff_tags
const AVCodecTag ff_codec_aiff_tags[]
Definition:
aiff.c:26
AV_CODEC_ID_PCM_MULAW
@ AV_CODEC_ID_PCM_MULAW
Definition:
codec_id.h:340
AV_CODEC_ID_PCM_ALAW
@ AV_CODEC_ID_PCM_ALAW
Definition:
codec_id.h:341
internal.h
NULL
#define NULL
Definition:
coverity.c:32
AV_CODEC_ID_ADPCM_IMA_WS
@ AV_CODEC_ID_ADPCM_IMA_WS
Definition:
codec_id.h:377
AV_CODEC_ID_QDM2
@ AV_CODEC_ID_QDM2
Definition:
codec_id.h:466
AV_CODEC_ID_GSM
@ AV_CODEC_ID_GSM
as in Berlin toast format
Definition:
codec_id.h:465
AV_CODEC_ID_QCELP
@ AV_CODEC_ID_QCELP
Definition:
codec_id.h:471
AV_CODEC_ID_QDMC
@ AV_CODEC_ID_QDMC
Definition:
codec_id.h:497
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition:
codec_id.h:50
AV_CODEC_ID_PCM_F64BE
@ AV_CODEC_ID_PCM_F64BE
Definition:
codec_id.h:356
AV_CODEC_ID_PCM_S32BE
@ AV_CODEC_ID_PCM_S32BE
Definition:
codec_id.h:343
AV_CODEC_ID_CBD2_DPCM
@ AV_CODEC_ID_CBD2_DPCM
Definition:
codec_id.h:444
AV_CODEC_ID_ADPCM_G726LE
@ AV_CODEC_ID_ADPCM_G726LE
Definition:
codec_id.h:408
AV_CODEC_ID_PCM_U8
@ AV_CODEC_ID_PCM_U8
Definition:
codec_id.h:339
AV_CODEC_ID_SDX2_DPCM
@ AV_CODEC_ID_SDX2_DPCM
Definition:
codec_id.h:440
ff_aiff_codec_tags_list
const AVCodecTag *const ff_aiff_codec_tags_list[]
Definition:
aiff.c:55
MKTAG
#define MKTAG(a, b, c, d)
Definition:
macros.h:55
AV_CODEC_ID_PCM_S24BE
@ AV_CODEC_ID_PCM_S24BE
Definition:
codec_id.h:347
Generated on Wed Dec 25 2024 19:22:41 for FFmpeg by
1.8.17