libavformat/isom.c File Reference
#include "avformat.h"
#include "internal.h"
#include "isom.h"
#include "riff.h"
#include "libavcodec/mpeg4audio.h"
#include "libavcodec/mpegaudiodata.h"

Go to the source code of this file.

Functions

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)
int ff_mp4_read_dec_config_descr (AVFormatContext *fc, AVStream *st, AVIOContext *pb)

Variables

const AVCodecTag ff_mp4_obj_type []
const AVCodecTag codec_movvideo_tags []
const AVCodecTag codec_movaudio_tags []
const AVCodecTag ff_codec_movsubtitle_tags []
static const char mov_mdhd_language_map [][4]
static const AVCodecTag mp4_audio_types []

Function Documentation

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

Definition at line 310 of file isom.c.

Referenced by mov_write_header(), mov_write_string_data_tag(), and mov_write_string_metadata().

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

Definition at line 337 of file isom.c.

Referenced by mov_read_mdhd(), and mov_read_udta_string().

void ff_mp4_parse_es_descr ( AVIOContext pb,
int *  es_id 
)

Definition at line 381 of file isom.c.

Referenced by ff_mov_read_esds(), and parse_MP4ESDescrTag().

Definition at line 406 of file isom.c.

Referenced by ff_mov_read_esds(), ff_parse_mpeg2_descriptor(), and m4sl_cb().

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

Definition at line 372 of file isom.c.

Referenced by ff_mov_read_esds(), ff_mp4_read_dec_config_descr(), and parse_mp4_descr().

Definition at line 359 of file isom.c.

Referenced by ff_mp4_read_descr(), and read_pakt_chunk().


Variable Documentation

Definition at line 231 of file isom.c.

Referenced by ff_mov_read_stsd_entries(), and mov_get_codec_tag().

Initial value:
 {
    { CODEC_ID_MOV_TEXT, MKTAG('t', 'e', 'x', 't') },
    { CODEC_ID_MOV_TEXT, MKTAG('t', 'x', '3', 'g') },
    { CODEC_ID_NONE, 0 },
}

Definition at line 278 of file isom.c.

Referenced by ff_mov_read_stsd_entries(), and mov_get_codec_tag().

Definition at line 35 of file isom.c.

Referenced by mov_write_esds_tag(), and mp4_get_codec_tag().

const char mov_mdhd_language_map[][4] [static]
Initial value:
 {
    
    "eng", "fra", "ger", "ita", "dut", "sve", "spa", "dan", "por", "nor",
    "heb", "jpn", "ara", "fin", "gre", "ice", "mlt", "tur", "hr ", "chi",
    "urd", "hin", "tha", "kor", "lit", "pol", "hun", "est", "lav",    "",
    "fo ",    "", "rus", "chi",    "", "iri", "alb", "ron", "ces", "slk",
    "slv", "yid", "sr ", "mac", "bul", "ukr", "bel", "uzb", "kaz", "aze",
    
    "aze", "arm", "geo", "mol", "kir", "tgk", "tuk", "mon",    "", "pus",
    "kur", "kas", "snd", "tib", "nep", "san", "mar", "ben", "asm", "guj",
    "pa ", "ori", "mal", "kan", "tam", "tel",    "", "bur", "khm", "lao",
    
    "vie", "ind", "tgl", "may", "may", "amh", "tir", "orm", "som", "swa",
    
       "", "run",    "", "mlg", "epo",    "",    "",    "",    "",    "",
    
       "",    "",    "",    "",    "",    "",    "",    "",    "",    "",
       "",    "",    "",    "",    "",    "",    "",    "",    "",    "",
       "",    "",    "",    "",    "",    "",    "",    "", "wel", "baq",
    "cat", "lat", "que", "grn", "aym", "tat", "uig", "dzo", "jav"
}

Definition at line 288 of file isom.c.

Referenced by ff_mov_iso639_to_lang(), and ff_mov_lang_to_iso639().

const AVCodecTag mp4_audio_types[] [static]
Initial value:

Definition at line 397 of file isom.c.