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)
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 297 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 324 of file isom.c.

Referenced by mov_read_mdhd(), and mov_read_udta_string().

int ff_mp4_read_dec_config_descr ( AVFormatContext fc,
AVStream st,
AVIOContext pb 
)

Definition at line 377 of file isom.c.

Referenced by ff_mov_read_esds(), and ff_parse_mpeg2_descriptor().

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

Definition at line 359 of file isom.c.

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

int ff_mp4_read_descr_len ( AVIOContext pb  ) 

Definition at line 346 of file isom.c.

Referenced by ff_mp4_read_descr(), and read_pakt_chunk().


Variable Documentation

Definition at line 209 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 265 of file isom.c.

Referenced by ff_mov_read_stsd_entries(), and mov_get_codec_tag().

Initial value:

 {
    { CODEC_ID_MOV_TEXT  , 0x08 },
    { CODEC_ID_MPEG4     , 0x20 },
    { CODEC_ID_H264      , 0x21 },
    { CODEC_ID_AAC       , 0x40 },
    { CODEC_ID_MP4ALS    , 0x40 }, 
    { CODEC_ID_MPEG2VIDEO, 0x61 }, 
    { CODEC_ID_MPEG2VIDEO, 0x60 }, 
    { CODEC_ID_MPEG2VIDEO, 0x62 }, 
    { CODEC_ID_MPEG2VIDEO, 0x63 }, 
    { CODEC_ID_MPEG2VIDEO, 0x64 }, 
    { CODEC_ID_MPEG2VIDEO, 0x65 }, 
    { CODEC_ID_AAC       , 0x66 }, 
    { CODEC_ID_AAC       , 0x67 }, 
    { CODEC_ID_AAC       , 0x68 }, 
    { CODEC_ID_MP3       , 0x69 }, 
    { CODEC_ID_MP2       , 0x69 }, 
    { CODEC_ID_MPEG1VIDEO, 0x6A }, 
    { CODEC_ID_MP3       , 0x6B }, 
    { CODEC_ID_MJPEG     , 0x6C }, 
    { CODEC_ID_PNG       , 0x6D },
    { CODEC_ID_JPEG2000  , 0x6E }, 
    { CODEC_ID_VC1       , 0xA3 },
    { CODEC_ID_DIRAC     , 0xA4 },
    { CODEC_ID_AC3       , 0xA5 },
    { CODEC_ID_VORBIS    , 0xDD }, 
    { CODEC_ID_DVD_SUBTITLE, 0xE0 }, 
    { CODEC_ID_QCELP     , 0xE1 },
    { CODEC_ID_NONE      ,    0 },
}

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 275 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 368 of file isom.c.


Generated on Mon May 2 19:50:26 2011 for FFmpeg by  doxygen 1.5.6