#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/bswap.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "libavutil/avstring.h"
#include "libavutil/avassert.h"
#include "avformat.h"
#include "internal.h"
#include "avi.h"
#include "dv.h"
#include "riff.h"
Go to the source code of this file.
#define MAX_ODML_DEPTH 1000 |
static int avi_load_index | ( | AVFormatContext * | s | ) | [static] |
static void avi_metadata_creation_time | ( | AVDictionary ** | metadata, | |
char * | date | |||
) | [static] |
static int avi_probe | ( | AVProbeData * | p | ) | [static] |
static int avi_read_close | ( | AVFormatContext * | s | ) | [static] |
static int avi_read_header | ( | AVFormatContext * | s | ) | [static] |
static int avi_read_idx1 | ( | AVFormatContext * | s, | |
int | size | |||
) | [static] |
static void avi_read_nikon | ( | 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 int avi_sync | ( | AVFormatContext * | s, | |
int | exit_early | |||
) | [static] |
exit_early | set to 1 to just gather packet position without making the changes needed to actually read & return the packet |
Definition at line 903 of file avidec.c.
Referenced by avi_read_idx1().
static void clean_index | ( | AVFormatContext * | s | ) | [static] |
Definition at line 118 of file avidec.c.
Referenced by avi_read_idx1(), avi_sync(), microdvd_read_header(), and read_braindead_odml_indx().
static int get_riff | ( | AVFormatContext * | s, | |
AVIOContext * | pb | |||
) | [static] |
static AVStream* get_subtitle_pkt | ( | AVFormatContext * | s, | |
AVStream * | next_st, | |||
AVPacket * | pkt | |||
) | [static] |
static int guess_ni_flag | ( | AVFormatContext * | s | ) | [static] |
static int read_braindead_odml_indx | ( | AVFormatContext * | s, | |
int | frame_num | |||
) | [static] |
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 93 of file avidec.c.
Referenced by avi_probe(), and get_riff().
const AVMetadataConv avi_metadata_conv[] [static] |
const AVClass demuxer_class [static] |
Initial value:
{ .class_name = "avi", .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT, .category = AV_CLASS_CATEGORY_DEMUXER, }
Initial value:
{ .name = "avi", .long_name = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"), .priv_data_size = sizeof(AVIContext), .read_probe = avi_probe, .read_header = avi_read_header, .read_packet = avi_read_packet, .read_close = avi_read_close, .read_seek = avi_read_seek, .priv_class = &demuxer_class, }
const char months[12][4] [static] |
Initial value:
{ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }
Definition at line 295 of file avidec.c.
Referenced by avi_metadata_creation_time().
Initial value:
{ { "use_odml", "use odml index", 0x42, AV_OPT_TYPE_INT, {.i64 = 1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM}, { NULL }, }