diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-17 15:23:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-12-18 16:17:39 +0100 |
commit | ee20b332c872b48cbcf914a2b4adc52aa3e94175 (patch) | |
tree | 096f00e5e7bbcce99aa3bae59bb0f5972c64eaa3 /libavformat/oma.h | |
parent | 08f7af0c379d9eaa931a93e6e733879237be054d (diff) | |
download | ffmpeg-ee20b332c872b48cbcf914a2b4adc52aa3e94175.tar.gz |
omadec: split data that will be used in the muxer to a separate file.
Diffstat (limited to 'libavformat/oma.h')
-rw-r--r-- | libavformat/oma.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libavformat/oma.h b/libavformat/oma.h new file mode 100644 index 0000000000..2830b34673 --- /dev/null +++ b/libavformat/oma.h @@ -0,0 +1,39 @@ +/* + * Sony OpenMG (OMA) common data + * + * This file is part of Libav. + * + * Libav is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * Libav is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Libav; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVFORMAT_OMA_H +#define AVFORMAT_OMA_H + +#define EA3_HEADER_SIZE 96 +#define ID3v2_EA3_MAGIC "ea3" +#define OMA_ENC_HEADER_SIZE 16 + +enum { + OMA_CODECID_ATRAC3 = 0, + OMA_CODECID_ATRAC3P = 1, + OMA_CODECID_MP3 = 3, + OMA_CODECID_LPCM = 4, + OMA_CODECID_WMA = 5, +}; + +extern const uint16_t ff_oma_srate_tab[6]; + +extern const AVCodecTag ff_oma_codec_tags[]; +#endif |