libavformat/avidec.c File Reference

#include "avformat.h"
#include "avi.h"
#include "dv.h"
#include "riff.h"
#include <assert.h>

Go to the source code of this file.

Data Structures

struct  AVIStream
struct  AVIContext

Functions

static int avi_load_index (AVFormatContext *s)
static int guess_ni_flag (AVFormatContext *s)
static int get_riff (AVIContext *avi, ByteIOContext *pb)
static int read_braindead_odml_indx (AVFormatContext *s, int frame_num)
static void clean_index (AVFormatContext *s)
static int avi_read_tag (ByteIOContext *pb, char *buf, int maxlen, unsigned int size)
static int avi_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int avi_read_packet (AVFormatContext *s, AVPacket *pkt)
static int avi_read_idx1 (AVFormatContext *s, int size)
static int avi_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
static int avi_read_close (AVFormatContext *s)
static int avi_probe (AVProbeData *p)

Variables

static const char avi_headers [][8]
AVInputFormat avi_demuxer


Function Documentation

static int avi_load_index ( AVFormatContext s  )  [static]

Definition at line 915 of file avidec.c.

Referenced by avi_read_header(), and avi_read_seek().

static int avi_probe ( AVProbeData p  )  [static]

Definition at line 1056 of file avidec.c.

static int avi_read_close ( AVFormatContext s  )  [static]

Definition at line 1038 of file avidec.c.

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

Definition at line 225 of file avidec.c.

static int avi_read_idx1 ( AVFormatContext s,
int  size 
) [static]

Definition at line 844 of file avidec.c.

Referenced by avi_load_index().

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

Definition at line 608 of file avidec.c.

static int avi_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
) [static]

Definition at line 958 of file avidec.c.

static int avi_read_tag ( ByteIOContext pb,
char *  buf,
int  maxlen,
unsigned int  size 
) [static]

Definition at line 216 of file avidec.c.

Referenced by avi_read_header().

static void clean_index ( AVFormatContext s  )  [static]

Definition at line 190 of file avidec.c.

Referenced by avi_read_header().

static int get_riff ( AVIContext avi,
ByteIOContext pb 
) [static]

Definition at line 84 of file avidec.c.

Referenced by avi_read_header().

static int guess_ni_flag ( AVFormatContext s  )  [static]

Definition at line 895 of file avidec.c.

Referenced by avi_read_header().

static int read_braindead_odml_indx ( AVFormatContext s,
int  frame_num 
) [static]

Definition at line 107 of file avidec.c.

Referenced by avi_read_header().


Variable Documentation

Initial value:

Definition at line 1069 of file avidec.c.

const char avi_headers[][8] [static]

Initial value:

 {
    { 'R', 'I', 'F', 'F',    'A', 'V', 'I', ' ' },
    { 'R', 'I', 'F', 'F',    'A', 'V', 'I', 'X' },
    { 'R', 'I', 'F', 'F',    'A', 'V', 'I', 0x19},
    { 'O', 'N', '2', ' ',    'O', 'N', '2', 'f' },
    { 'R', 'I', 'F', 'F',    'A', 'M', 'V', ' ' },
    { 0 }
}

Definition at line 60 of file avidec.c.

Referenced by avi_probe(), and get_riff().


Generated on Thu Apr 2 07:15:43 2009 for ffmpeg by  doxygen 1.5.6