#include "avformat.h"
#include "avi.h"
#include "riff.h"
Go to the source code of this file.
Data Structures | |
struct | AVIIentry |
struct | AVIIndex |
struct | AVIContext |
Defines | |
#define | AVI_INDEX_CLUSTER_SIZE 16384 |
Typedefs | |
typedef struct AVIIentry | AVIIentry |
typedef struct AVIIndex | AVIIndex |
Functions | |
static AVIIentry * | avi_get_ientry (AVIIndex *idx, int ent_id) |
static int64_t | avi_start_new_riff (AVIContext *avi, ByteIOContext *pb, const char *riff_tag, const char *list_tag) |
static char * | avi_stream2fourcc (char *tag, int index, enum CodecType type) |
static void | avi_write_info_tag (ByteIOContext *pb, const char *tag, const char *str) |
static void | avi_write_info_tag2 (AVFormatContext *s, const char *fourcc, const char *key1, const char *key2) |
static int | avi_write_counters (AVFormatContext *s, int riff_id) |
static int | avi_write_header (AVFormatContext *s) |
static int | avi_write_ix (AVFormatContext *s) |
static int | avi_write_idx1 (AVFormatContext *s) |
static int | avi_write_packet (AVFormatContext *s, AVPacket *pkt) |
static int | avi_write_trailer (AVFormatContext *s) |
Variables | |
AVOutputFormat | avi_muxer |
#define AVI_INDEX_CLUSTER_SIZE 16384 |
Definition at line 34 of file avienc.c.
Referenced by avi_get_ientry(), avi_write_packet(), and avi_write_trailer().
Definition at line 53 of file avienc.c.
Referenced by avi_write_idx1(), and avi_write_ix().
static int64_t avi_start_new_riff | ( | AVIContext * | avi, | |
ByteIOContext * | pb, | |||
const char * | riff_tag, | |||
const char * | list_tag | |||
) | [static] |
Definition at line 60 of file avienc.c.
Referenced by avi_write_header(), and avi_write_packet().
static char* avi_stream2fourcc | ( | char * | tag, | |
int | index, | |||
enum CodecType | type | |||
) | [static] |
Definition at line 77 of file avienc.c.
Referenced by avi_write_header(), avi_write_idx1(), avi_write_ix(), and avi_write_packet().
static int avi_write_counters | ( | AVFormatContext * | s, | |
int | riff_id | |||
) | [static] |
Definition at line 114 of file avienc.c.
Referenced by avi_write_idx1(), and avi_write_trailer().
static int avi_write_header | ( | AVFormatContext * | s | ) | [static] |
static int avi_write_idx1 | ( | AVFormatContext * | s | ) | [static] |
Definition at line 425 of file avienc.c.
Referenced by avi_write_packet(), and avi_write_trailer().
static void avi_write_info_tag | ( | ByteIOContext * | pb, | |
const char * | tag, | |||
const char * | str | |||
) | [static] |
Definition at line 92 of file avienc.c.
Referenced by avi_write_info_tag2().
static void avi_write_info_tag2 | ( | AVFormatContext * | s, | |
const char * | fourcc, | |||
const char * | key1, | |||
const char * | key2 | |||
) | [static] |
static int avi_write_ix | ( | AVFormatContext * | s | ) | [static] |
Definition at line 368 of file avienc.c.
Referenced by avi_write_packet(), and avi_write_trailer().
static int avi_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int avi_write_trailer | ( | AVFormatContext * | s | ) | [static] |
{ "avi", NULL_IF_CONFIG_SMALL("AVI format"), "video/x-msvideo", "avi", sizeof(AVIContext), CODEC_ID_MP2, CODEC_ID_MPEG4, avi_write_header, avi_write_packet, avi_write_trailer, .codec_tag= (const AVCodecTag* const []){codec_bmp_tags, codec_wav_tags, 0}, .flags= AVFMT_VARIABLE_FPS, }