libavformat/caf.c
Go to the documentation of this file.
00001 /*
00002  * CAF common code
00003  * Copyright (c) 2007  Justin Ruggles
00004  *
00005  * This file is part of FFmpeg.
00006  *
00007  * FFmpeg is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * FFmpeg is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with FFmpeg; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00020  */
00021 
00027 #include "avformat.h"
00028 #include "internal.h"
00029 #include "caf.h"
00030 
00034 const AVCodecTag ff_codec_caf_tags[] = {
00035     { CODEC_ID_AAC,             MKTAG('a','a','c',' ') },
00036     { CODEC_ID_AC3,             MKTAG('a','c','-','3') },
00037     { CODEC_ID_ADPCM_IMA_QT,    MKTAG('i','m','a','4') },
00038     { CODEC_ID_ADPCM_IMA_WAV,   MKTAG('m','s', 0, 17 ) },
00039     { CODEC_ID_ADPCM_MS,        MKTAG('m','s', 0,  2 ) },
00040     { CODEC_ID_ALAC,            MKTAG('a','l','a','c') },
00041     { CODEC_ID_AMR_NB,          MKTAG('s','a','m','r') },
00042   /* FIXME: use DV demuxer, as done in MOV */
00043   /*{ CODEC_ID_DVAUDIO,         MKTAG('v','d','v','a') },*/
00044   /*{ CODEC_ID_DVAUDIO,         MKTAG('d','v','c','a') },*/
00045     { CODEC_ID_GSM,             MKTAG('a','g','s','m') },
00046     { CODEC_ID_GSM_MS,          MKTAG('m','s', 0, '1') },
00047     { CODEC_ID_MACE3,           MKTAG('M','A','C','3') },
00048     { CODEC_ID_MACE6,           MKTAG('M','A','C','6') },
00049     { CODEC_ID_MP1,             MKTAG('.','m','p','1') },
00050     { CODEC_ID_MP2,             MKTAG('.','m','p','2') },
00051     { CODEC_ID_MP3,             MKTAG('.','m','p','3') },
00052     { CODEC_ID_MP3,             MKTAG('m','s', 0 ,'U') },
00053     { CODEC_ID_PCM_ALAW,        MKTAG('a','l','a','w') },
00054     { CODEC_ID_PCM_MULAW,       MKTAG('u','l','a','w') },
00055     { CODEC_ID_QCELP,           MKTAG('Q','c','l','p') },
00056     { CODEC_ID_QDM2,            MKTAG('Q','D','M','2') },
00057     { CODEC_ID_QDM2,            MKTAG('Q','D','M','C') },
00058   /* currently unsupported codecs */
00059   /*{ AC-3 over S/PDIF          MKTAG('c','a','c','3') },*/
00060   /*{ MPEG4CELP                 MKTAG('c','e','l','p') },*/
00061   /*{ MPEG4HVXC                 MKTAG('h','v','x','c') },*/
00062   /*{ MPEG4TwinVQ               MKTAG('t','w','v','q') },*/
00063     { CODEC_ID_NONE,            0 },
00064 };
00065