#include <math.h>
#include "avformat.h"
#include "internal.h"
#include "avi.h"
#include "avio_internal.h"
#include "config_components.h"
#include "riff.h"
#include "mpegts.h"
#include "mux.h"
#include "rawutils.h"
#include "libavformat/avlanguage.h"
#include "libavutil/avstring.h"
#include "libavutil/avutil.h"
#include "libavutil/internal.h"
#include "libavutil/dict.h"
#include "libavutil/avassert.h"
#include "libavutil/timestamp.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavcodec/raw.h"
Go to the source code of this file.
|
static int | avi_write_packet_internal (AVFormatContext *s, AVPacket *pkt) |
|
static AVIIentry * | avi_get_ientry (const AVIIndex *idx, int ent_id) |
|
static int | avi_add_ientry (AVFormatContext *s, int stream_index, char *tag, unsigned int flags, unsigned int size) |
|
static av_cold int | avi_init (struct AVFormatContext *s) |
|
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 int | avi_write_counters (AVFormatContext *s, int riff_id) |
|
static void | write_odml_master (AVFormatContext *s, int stream_index) |
|
static int | avi_write_header (AVFormatContext *s) |
|
static void | update_odml_entry (AVFormatContext *s, int stream_index, int64_t ix, int size) |
|
static int | avi_write_ix (AVFormatContext *s) |
|
static int | avi_write_idx1 (AVFormatContext *s) |
|
static int | write_skip_frames (AVFormatContext *s, int stream_index, int64_t dts) |
|
static int | avi_write_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int | avi_write_trailer (AVFormatContext *s) |
|
static void | avi_deinit (AVFormatContext *s) |
|
◆ AVI_INDEX_CLUSTER_SIZE
#define AVI_INDEX_CLUSTER_SIZE 16384 |
◆ AVI_MASTER_INDEX_PREFIX_SIZE
#define AVI_MASTER_INDEX_PREFIX_SIZE (8+2+1+1+4+8+4+4) |
◆ AVI_MASTER_INDEX_ENTRY_SIZE
#define AVI_MASTER_INDEX_ENTRY_SIZE 16 /* bytes per entry */ |
◆ AVI_MASTER_INDEX_SIZE_DEFAULT
#define AVI_MASTER_INDEX_SIZE_DEFAULT 256 /* number of entries */ |
◆ OFFSET
◆ ENC
◆ avi_write_packet_internal()
◆ avi_get_ientry()
◆ avi_add_ientry()
◆ avi_init()
◆ avi_start_new_riff()
◆ avi_stream2fourcc()
static char* avi_stream2fourcc |
( |
char * |
tag, |
|
|
int |
index, |
|
|
enum AVMediaType |
type |
|
) |
| |
|
static |
◆ avi_write_counters()
◆ write_odml_master()
◆ avi_write_header()
◆ update_odml_entry()
◆ avi_write_ix()
◆ avi_write_idx1()
◆ write_skip_frames()
◆ avi_write_packet()
◆ avi_write_trailer()
◆ avi_deinit()
◆ options
Initial value:= {
{
"reserve_index_space",
"reserve space (in bytes) at the beginning of the file for each stream index",
OFFSET(reserve_index_space),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX,
ENC },
{
"write_channel_mask",
"write channel mask into wave format header",
OFFSET(write_channel_mask),
AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1,
ENC },
{
"flipped_raw_rgb",
"Raw RGB bitmaps are stored bottom-up",
OFFSET(flipped_raw_rgb),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
ENC },
}
Definition at line 993 of file avienc.c.
◆ avi_muxer_class
Initial value:= {
.class_name = "AVI muxer",
}
Definition at line 1000 of file avienc.c.
◆ ff_avi_muxer
Initial value:= {
.p.name = "avi",
.p.mime_type = "video/x-msvideo",
.p.extensions = "avi",
}
Definition at line 1007 of file avienc.c.