FFmpeg
Data Structures | Functions | Variables
ifv.c File Reference
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"

Go to the source code of this file.

Data Structures

struct  IFVContext
 

Functions

static int ifv_probe (const AVProbeData *p)
 
static int read_index (AVFormatContext *s, enum AVMediaType frame_type, uint32_t start_index)
 
static int parse_header (AVFormatContext *s)
 
static int ifv_read_header (AVFormatContext *s)
 
static int ifv_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int ifv_read_seek (AVFormatContext *s, int stream_index, int64_t ts, int flags)
 

Variables

AVInputFormat ff_ifv_demuxer
 

Function Documentation

◆ ifv_probe()

static int ifv_probe ( const AVProbeData p)
static

Definition at line 41 of file ifv.c.

◆ read_index()

static int read_index ( AVFormatContext s,
enum AVMediaType  frame_type,
uint32_t  start_index 
)
static

Definition at line 52 of file ifv.c.

Referenced by ifv_read_header(), and ifv_read_packet().

◆ parse_header()

static int parse_header ( AVFormatContext s)
static

Definition at line 89 of file ifv.c.

Referenced by ifv_read_header().

◆ ifv_read_header()

static int ifv_read_header ( AVFormatContext s)
static

Definition at line 127 of file ifv.c.

◆ ifv_read_packet()

static int ifv_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 187 of file ifv.c.

◆ ifv_read_seek()

static int ifv_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  ts,
int  flags 
)
static

Definition at line 286 of file ifv.c.

Variable Documentation

◆ ff_ifv_demuxer

AVInputFormat ff_ifv_demuxer
Initial value:
= {
.name = "ifv",
.long_name = NULL_IF_CONFIG_SMALL("IFV CCTV DVR"),
.priv_data_size = sizeof(IFVContext),
.extensions = "ifv",
}

Definition at line 308 of file ifv.c.

read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
ifv_read_seek
static int ifv_read_seek(AVFormatContext *s, int stream_index, int64_t ts, int flags)
Definition: ifv.c:286
ifv_read_packet
static int ifv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ifv.c:187
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
ifv_probe
static int ifv_probe(const AVProbeData *p)
Definition: ifv.c:41
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
ifv_read_header
static int ifv_read_header(AVFormatContext *s)
Definition: ifv.c:127
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
IFVContext
Definition: ifv.c:27