FFmpeg
Data Structures | Functions | Variables
ifv.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/dict_internal.h"
#include "avformat.h"
#include "demux.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

const FFInputFormat ff_ifv_demuxer
 

Function Documentation

◆ ifv_probe()

static int ifv_probe ( const AVProbeData p)
static

Definition at line 44 of file ifv.c.

◆ read_index()

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

Definition at line 55 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 92 of file ifv.c.

Referenced by ifv_read_header().

◆ ifv_read_header()

static int ifv_read_header ( AVFormatContext s)
static

Definition at line 130 of file ifv.c.

◆ ifv_read_packet()

static int ifv_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 189 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 291 of file ifv.c.

Variable Documentation

◆ ff_ifv_demuxer

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

Definition at line 313 of file ifv.c.

read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:151
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
ifv_read_seek
static int ifv_read_seek(AVFormatContext *s, int stream_index, int64_t ts, int flags)
Definition: ifv.c:291
ifv_read_packet
static int ifv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ifv.c:189
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
ifv_probe
static int ifv_probe(const AVProbeData *p)
Definition: ifv.c:44
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:94
ifv_read_header
static int ifv_read_header(AVFormatContext *s)
Definition: ifv.c:130
IFVContext
Definition: ifv.c:30
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30