FFmpeg
Loading...
Searching...
No Matches
ivfdec.c File Reference
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "riff.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Functions

static int probe (const AVProbeData *p)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_ivf_demuxer
 

Function Documentation

◆ probe()

static int probe ( const AVProbeData * p)
static

Definition at line 27 of file ivfdec.c.

◆ read_header()

static int read_header ( AVFormatContext * s)
static

Definition at line 36 of file ivfdec.c.

◆ read_packet()

static int read_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 79 of file ivfdec.c.

Variable Documentation

◆ ff_ivf_demuxer

const FFInputFormat ff_ivf_demuxer
Initial value:
= {
.p.name = "ivf",
.p.long_name = NULL_IF_CONFIG_SMALL("On2 IVF"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.codec_tag = (const AVCodecTag* const []){ ff_codec_bmp_tags, 0 },
.read_probe = probe,
.read_header = read_header,
.read_packet = read_packet,
}
static int probe(const AVProbeData *p)
Definition act.c:39
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition avformat.h:499
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
const AVCodecTag ff_codec_bmp_tags[]
Definition riff.c:36

Definition at line 92 of file ivfdec.c.