#include "avformat.h"
#include "internal.h"
#include "avi.h"
#include "avio_internal.h"
#include "riff.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
Go to the source code of this file.
Data Structures | |
struct | AVIIentry |
struct | AVIIndex |
struct | AVIContext |
struct | AVIStream |
Defines | |
#define | AVI_INDEX_CLUSTER_SIZE 16384 |
Functions | |
static AVIIentry * | avi_get_ientry (AVIIndex *idx, int ent_id) |
static int64_t | avi_start_new_riff (AVFormatContext *s, AVIOContext *pb, const char *riff_tag, const char *list_tag) |
static char * | avi_stream2fourcc (char *tag, int index, enum AVMediaType type) |
static void | avi_write_info_tag (AVIOContext *pb, const char *tag, const char *str) |
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 | ff_avi_muxer |
#define AVI_INDEX_CLUSTER_SIZE 16384 |
Definition at line 38 of file avienc.c.
Referenced by avi_get_ientry(), avi_write_packet(), and avi_write_trailer().
static int64_t avi_start_new_riff | ( | AVFormatContext * | s, | |
AVIOContext * | pb, | |||
const char * | riff_tag, | |||
const char * | list_tag | |||
) | [static] |
static char* avi_stream2fourcc | ( | char * | tag, | |
int | index, | |||
enum AVMediaType | type | |||
) | [static] |
Definition at line 89 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] |
static int avi_write_header | ( | AVFormatContext * | s | ) | [static] |
static int avi_write_idx1 | ( | AVFormatContext * | s | ) | [static] |
static void avi_write_info_tag | ( | AVIOContext * | pb, | |
const char * | tag, | |||
const char * | str | |||
) | [static] |
static int avi_write_ix | ( | AVFormatContext * | s | ) | [static] |
static int avi_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int avi_write_trailer | ( | AVFormatContext * | s | ) | [static] |
Initial value:
{ .name = "avi", .long_name = NULL_IF_CONFIG_SMALL("AVI format"), .mime_type = "video/x-msvideo", .extensions = "avi", .priv_data_size = sizeof(AVIContext), .audio_codec = CODEC_ID_AC3, .video_codec = CODEC_ID_MPEG4, .write_header = avi_write_header, .write_packet = avi_write_packet, .write_trailer = avi_write_trailer, .codec_tag= (const AVCodecTag* const []){ff_codec_bmp_tags, ff_codec_wav_tags, 0}, .flags= AVFMT_VARIABLE_FPS, }