FFmpeg
Loading...
Searching...
No Matches
ifv.c File Reference
#include "libavutil/channel_layout.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 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 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),
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
Definition cdg.c:30
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
static int ifv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition ifv.c:188
static int ifv_probe(const AVProbeData *p)
Definition ifv.c:43
static int ifv_read_header(AVFormatContext *s)
Definition ifv.c:129
static int ifv_read_seek(AVFormatContext *s, int stream_index, int64_t ts, int flags)
Definition ifv.c:290
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition libcdio.c:151

Definition at line 312 of file ifv.c.