isom.h File Reference
#include "avio.h"
#include "internal.h"
#include "dv.h"

Go to the source code of this file.

Data Structures

struct  MOVStts
struct  MOVStsc
struct  MOVDref
struct  MOVAtom
struct  MOVFragment
struct  MOVTrackExt
struct  MOVStreamContext
struct  MOVContext

Macros

#define MP4ODescrTag   0x01
#define MP4IODescrTag   0x02
#define MP4ESDescrTag   0x03
#define MP4DecConfigDescrTag   0x04
#define MP4DecSpecificDescrTag   0x05
#define MP4SLDescrTag   0x06

Typedefs

typedef struct MOVStreamContext MOVStreamContext
typedef struct MOVContext MOVContext

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)
void ff_mp4_parse_es_descr (AVIOContext *pb, int *es_id)
int ff_mov_read_esds (AVFormatContext *fc, AVIOContext *pb, MOVAtom atom)
enum CodecID ff_mov_get_lpcm_codec_id (int bps, int flags)
 Compute codec id for 'lpcm' tag.
int ff_mov_read_stsd_entries (MOVContext *c, AVIOContext *pb, int entries)

Variables

const AVCodecTag ff_mp4_obj_type []
const AVCodecTag codec_movvideo_tags []
const AVCodecTag codec_movaudio_tags []
const AVCodecTag ff_codec_movsubtitle_tags []

Macro Definition Documentation

#define MP4DecConfigDescrTag   0x04

Definition at line 154 of file isom.h.

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

#define MP4DecSpecificDescrTag   0x05

Definition at line 155 of file isom.h.

Referenced by ff_mp4_read_dec_config_descr().

#define MP4ESDescrTag   0x03

Definition at line 153 of file isom.h.

Referenced by ff_mov_read_esds(), and parse_mp4_descr().

#define MP4IODescrTag   0x02

Definition at line 152 of file isom.h.

Referenced by mp4_read_iods(), and parse_mp4_descr().

#define MP4ODescrTag   0x01

Definition at line 151 of file isom.h.

Referenced by parse_mp4_descr().

#define MP4SLDescrTag   0x06

Definition at line 156 of file isom.h.

Referenced by parse_mp4_descr(), and parse_MP4ESDescrTag().

Typedef Documentation

typedef struct MOVContext MOVContext

Function Documentation

enum CodecID ff_mov_get_lpcm_codec_id ( int  bps,
int  flags 
)

Compute codec id for 'lpcm' tag.

See CoreAudioTypes and AudioStreamBasicDescription at Apple.

Definition at line 1060 of file mov.c.

Referenced by ff_mov_read_stsd_entries(), and read_desc_chunk().

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().

int ff_mov_read_esds ( AVFormatContext fc,
AVIOContext pb,
MOVAtom  atom 
)

Definition at line 518 of file mov.c.

Referenced by mov_read_esds(), and read_kuki_chunk().

int ff_mov_read_stsd_entries ( MOVContext c,
AVIOContext pb,
int  entries 
)

Definition at line 1091 of file mov.c.

Referenced by mov_read_stsd(), and qt_rtp_parse_packet().

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().

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

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().

int ff_mp4_read_descr_len ( AVIOContext pb)

Definition at line 359 of file isom.c.

Referenced by ff_mp4_read_descr(), and read_pakt_chunk().

Variable Documentation

const AVCodecTag codec_movaudio_tags[]

Definition at line 231 of file isom.c.

Referenced by ff_mov_read_stsd_entries(), and mov_get_codec_tag().

const AVCodecTag codec_movvideo_tags[]
const AVCodecTag ff_codec_movsubtitle_tags[]

Definition at line 278 of file isom.c.

Referenced by ff_mov_read_stsd_entries(), and mov_get_codec_tag().

const AVCodecTag ff_mp4_obj_type[]

Definition at line 35 of file isom.c.

Referenced by mov_write_esds_tag(), and mp4_get_codec_tag().