Data Structures | Functions | Variables
ivfenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  IVFEncContext


static int ivf_init (AVFormatContext *s)
static int ivf_write_header (AVFormatContext *s)
static int ivf_write_packet (AVFormatContext *s, AVPacket *pkt)
static int ivf_write_trailer (AVFormatContext *s)


static const AVCodecTag codec_ivf_tags []
AVOutputFormat ff_ivf_muxer

Function Documentation

static int ivf_init ( AVFormatContext s)

Definition at line 29 of file ivfenc.c.

static int ivf_write_header ( AVFormatContext s)

Definition at line 59 of file ivfenc.c.

static int ivf_write_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 79 of file ivfenc.c.

static int ivf_write_trailer ( AVFormatContext s)

Definition at line 95 of file ivfenc.c.

Variable Documentation

const AVCodecTag codec_ivf_tags[]
Initial value:
= {
{ AV_CODEC_ID_VP8, MKTAG('V', 'P', '8', '0') },
{ AV_CODEC_ID_VP9, MKTAG('V', 'P', '9', '0') },
{ AV_CODEC_ID_AV1, MKTAG('A', 'V', '0', '1') },
#define MKTAG(a, b, c, d)
Definition: common.h:478

Definition at line 113 of file ivfenc.c.

AVOutputFormat ff_ivf_muxer
Initial value:
= {
.priv_data_size = sizeof(IVFEncContext),
.name = "ivf",
.long_name = NULL_IF_CONFIG_SMALL("On2 IVF"),
.extensions = "ivf",
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_VP8,
.init = ivf_init,
.write_header = ivf_write_header,
.write_packet = ivf_write_packet,
.write_trailer = ivf_write_trailer,
.codec_tag = (const AVCodecTag* const []){ codec_ivf_tags, 0 },
static int ivf_write_header(AVFormatContext *s)
Definition: ivfenc.c:59
static int ivf_init(AVFormatContext *s)
Definition: ivfenc.c:29
static int ivf_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ivfenc.c:79
static const AVCodecTag codec_ivf_tags[]
Definition: ivfenc.c:113
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:115
static int ivf_write_trailer(AVFormatContext *s)
Definition: ivfenc.c:95
const char * name
Definition: opengl_enc.c:102

Definition at line 120 of file ivfenc.c.