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

const AVInputFormat ff_ifv_demuxer
 

Function Documentation

◆ ifv_probe()

static int ifv_probe ( const AVProbeData p)
static

Definition at line 42 of file ifv.c.

◆ read_index()

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

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

Referenced by ifv_read_header().

◆ ifv_read_header()

static int ifv_read_header ( AVFormatContext s)
static

Definition at line 128 of file ifv.c.

◆ ifv_read_packet()

static int ifv_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

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

Variable Documentation

◆ ff_ifv_demuxer

const 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 312 of file ifv.c.

read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:149
ifv_read_seek
static int ifv_read_seek(AVFormatContext *s, int stream_index, int64_t ts, int flags)
Definition: ifv.c:290
ifv_read_packet
static int ifv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ifv.c:188
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:42
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:128
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
IFVContext
Definition: ifv.c:28