mov.c File Reference

Go to the source code of this file.

Classes

struct  MOV_stsc_t
struct  MOV_atom_t
struct  MOV_mdat_t
struct  MOVStreamContext
struct  MOVContext
struct  MOVParseTableEntry

Typedefs

typedef int(* mov_parse_function )(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom)

Functions

static int mov_read_default (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_hdlr (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mp4_read_descr_len (ByteIOContext *pb)
static int mp4_read_descr (MOVContext *c, ByteIOContext *pb, int *tag)
static int mov_read_esds (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_mdat (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_ftyp (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_moov (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_mdhd (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_mvhd (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_smi (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_enda (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_extradata (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_wave (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_avcC (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_stco (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_stsd (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_stsc (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_stss (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_stsz (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_stts (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_ctts (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_trak (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static void mov_parse_udta_string (ByteIOContext *pb, char *str, int size)
static int mov_read_udta (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_tkhd (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_wide (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_cmov (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_read_elst (MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
static int mov_probe (AVProbeData *p)
static void mov_build_index (MOVContext *mov, AVStream *st)
static int mov_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int mov_read_packet (AVFormatContext *s, AVPacket *pkt)
static int mov_seek_stream (AVStream *st, int64_t timestamp, int flags)
static int mov_read_seek (AVFormatContext *s, int stream_index, int64_t sample_time, int flags)
static int mov_read_close (AVFormatContext *s)

Variables

static const MOVParseTableEntry mov_default_parse_table []
AVInputFormat mov_demuxer


Typedef Documentation

typedef int(* mov_parse_function)(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom)

Definition at line 142 of file mov.c.


Function Documentation

static int mov_read_default ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

static int mov_read_hdlr ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 212 of file mov.c.

static int mp4_read_descr_len ( ByteIOContext pb  )  [static]

Definition at line 250 of file mov.c.

Referenced by mp4_read_descr().

static int mp4_read_descr ( MOVContext c,
ByteIOContext pb,
int *  tag 
) [static]

Definition at line 263 of file mov.c.

Referenced by mov_read_esds().

static int mov_read_esds ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 276 of file mov.c.

static int mov_read_mdat ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 317 of file mov.c.

Referenced by mov_read_wide().

static int mov_read_ftyp ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 333 of file mov.c.

static int mov_read_moov ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 346 of file mov.c.

static int mov_read_mdhd ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 360 of file mov.c.

static int mov_read_mvhd ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 391 of file mov.c.

static int mov_read_smi ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 427 of file mov.c.

static int mov_read_enda ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 450 of file mov.c.

static int mov_read_extradata ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 471 of file mov.c.

static int mov_read_wave ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 490 of file mov.c.

static int mov_read_avcC ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 514 of file mov.c.

static int mov_read_stco ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 534 of file mov.c.

static int mov_read_stsd ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 566 of file mov.c.

static int mov_read_stsc ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 862 of file mov.c.

static int mov_read_stss ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 890 of file mov.c.

static int mov_read_stsz ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 918 of file mov.c.

static int mov_read_stts ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 950 of file mov.c.

static int mov_read_ctts ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 994 of file mov.c.

static int mov_read_trak ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 1029 of file mov.c.

static void mov_parse_udta_string ( ByteIOContext pb,
char *  str,
int  size 
) [static]

Definition at line 1050 of file mov.c.

Referenced by mov_read_udta().

static int mov_read_udta ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 1058 of file mov.c.

static int mov_read_tkhd ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 1093 of file mov.c.

static int mov_read_wide ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 1138 of file mov.c.

static int mov_read_cmov ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 1159 of file mov.c.

static int mov_read_elst ( MOVContext c,
ByteIOContext pb,
MOV_atom_t  atom 
) [static]

Definition at line 1211 of file mov.c.

static int mov_probe ( AVProbeData p  )  [static]

Definition at line 1266 of file mov.c.

static void mov_build_index ( MOVContext mov,
AVStream st 
) [static]

Definition at line 1309 of file mov.c.

Referenced by mov_read_header().

static int mov_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 1423 of file mov.c.

static int mov_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 1492 of file mov.c.

static int mov_seek_stream ( AVStream st,
int64_t  timestamp,
int  flags 
) [static]

Definition at line 1559 of file mov.c.

Referenced by mov_read_seek().

static int mov_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  sample_time,
int  flags 
) [static]

Definition at line 1587 of file mov.c.

static int mov_read_close ( AVFormatContext s  )  [static]

Definition at line 1616 of file mov.c.


Variable Documentation

Definition at line 1228 of file mov.c.

Initial value:

 {
    "mov,mp4,m4a,3gp,3g2,mj2",
    "QuickTime/MPEG4/Motion JPEG 2000 format",
    sizeof(MOVContext),
    mov_probe,
    mov_read_header,
    mov_read_packet,
    mov_read_close,
    mov_read_seek,
}

Definition at line 1635 of file mov.c.


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5