#include "libavutil/intreadwrite.h"
#include "libavutil/bswap.h"
#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 (AVFormatContext *s, ByteIOContext *pb) |
static int | read_braindead_odml_indx (AVFormatContext *s, int frame_num) |
static void | clean_index (AVFormatContext *s) |
static int | avi_read_tag (AVFormatContext *s, AVStream *st, uint32_t tag, uint32_t size) |
static void | avi_read_info (AVFormatContext *s, uint64_t end) |
static int | avi_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | get_stream_idx (int *d) |
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 |
static int avi_load_index | ( | AVFormatContext * | s | ) | [static] |
static int avi_probe | ( | AVProbeData * | p | ) | [static] |
static int avi_read_close | ( | AVFormatContext * | s | ) | [static] |
static int avi_read_header | ( | AVFormatContext * | s, | |
AVFormatParameters * | ap | |||
) | [static] |
static int avi_read_idx1 | ( | AVFormatContext * | s, | |
int | size | |||
) | [static] |
static void avi_read_info | ( | AVFormatContext * | s, | |
uint64_t | end | |||
) | [static] |
static int avi_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int avi_read_seek | ( | AVFormatContext * | s, | |
int | stream_index, | |||
int64_t | timestamp, | |||
int | flags | |||
) | [static] |
static int avi_read_tag | ( | AVFormatContext * | s, | |
AVStream * | st, | |||
uint32_t | tag, | |||
uint32_t | size | |||
) | [static] |
static void clean_index | ( | AVFormatContext * | s | ) | [static] |
static int get_riff | ( | AVFormatContext * | s, | |
ByteIOContext * | pb | |||
) | [static] |
static int guess_ni_flag | ( | AVFormatContext * | s | ) | [static] |
static int read_braindead_odml_indx | ( | AVFormatContext * | s, | |
int | frame_num | |||
) | [static] |
Initial value:
{ "avi", NULL_IF_CONFIG_SMALL("AVI format"), sizeof(AVIContext), avi_probe, avi_read_header, avi_read_packet, avi_read_close, avi_read_seek, .metadata_conv = ff_avi_metadata_conv, }
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 66 of file avidec.c.
Referenced by avi_probe(), and get_riff().