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 "riff.h" 00029 #include "caf.h" 00030 00034 const AVCodecTag ff_codec_caf_tags[] = { 00035 { CODEC_ID_AAC, MKBETAG('a','a','c',' ') }, 00036 { CODEC_ID_AC3, MKBETAG('a','c','-','3') }, 00037 { CODEC_ID_ALAC, MKBETAG('a','l','a','c') }, 00038 /* FIXME: use DV demuxer, as done in MOV */ 00039 /*{ CODEC_ID_DVAUDIO, MKBETAG('v','d','v','a') },*/ 00040 /*{ CODEC_ID_DVAUDIO, MKBETAG('d','v','c','a') },*/ 00041 { CODEC_ID_ADPCM_IMA_QT, MKBETAG('i','m','a','4') }, 00042 { CODEC_ID_MACE3, MKBETAG('M','A','C','3') }, 00043 { CODEC_ID_MACE6, MKBETAG('M','A','C','6') }, 00044 { CODEC_ID_MP3, MKBETAG('.','m','p','3') }, 00045 { CODEC_ID_MP2, MKBETAG('.','m','p','2') }, 00046 { CODEC_ID_MP1, MKBETAG('.','m','p','1') }, 00047 { CODEC_ID_PCM_ALAW, MKBETAG('a','l','a','w') }, 00048 { CODEC_ID_PCM_MULAW, MKBETAG('u','l','a','w') }, 00049 { CODEC_ID_QCELP, MKBETAG('Q','c','l','p') }, 00050 { CODEC_ID_QDM2, MKBETAG('Q','D','M','2') }, 00051 { CODEC_ID_QDM2, MKBETAG('Q','D','M','C') }, 00052 /* currently unsupported codecs */ 00053 /*{ AC-3 over S/PDIF MKBETAG('c','a','c','3') },*/ 00054 /*{ MPEG4CELP MKBETAG('c','e','l','p') },*/ 00055 /*{ MPEG4HVXC MKBETAG('h','v','x','c') },*/ 00056 /*{ MPEG4TwinVQ MKBETAG('t','w','v','q') },*/ 00057 { CODEC_ID_NONE, 0 }, 00058 };