chromium/third_party/ffmpeg/libavformat/isom.c

/*
 * ISO Media common code
 * Copyright (c) 2001 Fabrice Bellard
 * Copyright (c) 2002 Francois Revol <[email protected]>
 * Copyright (c) 2006 Baptiste Coudurier <[email protected]>
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg 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.
 *
 * FFmpeg 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 FFmpeg; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "isom.h"
#include "libavcodec/mpeg4audio.h"
#include "libavcodec/mpegaudiodata.h"
#include "libavutil/channel_layout.h"

/* http://www.mp4ra.org */
/* ordered by muxing preference */
const AVCodecTag ff_mp4_obj_type[] =;

const AVCodecTag ff_codec_movsubtitle_tags[] =;

const AVCodecTag ff_codec_movdata_tags[] =;

/* map numeric codes from mdhd atom to ISO 639 */
/* cf. QTFileFormat.pdf p253, qtff.pdf p205 */
/* http://developer.apple.com/documentation/mac/Text/Text-368.html */
/* deprecated by putting the code as 3*5 bits ASCII */
static const char mov_mdhd_language_map[][4] =;

int ff_mov_iso639_to_lang(const char lang[4], int mp4)
{}

int ff_mov_lang_to_iso639(unsigned code, char to[4])
{}

int ff_mp4_read_descr_len(AVIOContext *pb)
{}

int ff_mp4_read_descr(AVFormatContext *fc, AVIOContext *pb, int *tag)
{}

void ff_mp4_parse_es_descr(AVIOContext *pb, int *es_id)
{}

static const AVCodecTag mp4_audio_types[] =;

int ff_mp4_read_dec_config_descr(AVFormatContext *fc, AVStream *st, AVIOContext *pb)
{}

MovChannelLayout;

static const MovChannelLayout mov_channel_layout[] =;

void ff_mov_write_chan(AVIOContext *pb, int64_t channel_layout)
{}

static const struct MP4TrackKindValueMapping dash_role_map[] =;

const struct MP4TrackKindMapping ff_mov_track_kind_table[] =;