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

◆ read_index()

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

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

Referenced by ifv_read_header().

◆ ifv_read_header()

static int ifv_read_header ( AVFormatContext s)
static

Definition at line 129 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:151
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
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:550
ifv_probe
static int ifv_probe(const AVProbeData *p)
Definition: ifv.c:43
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:106
ifv_read_header
static int ifv_read_header(AVFormatContext *s)
Definition: ifv.c:129
IFVContext
Definition: ifv.c:29
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:29