FFmpeg
Data Structures | Functions | Variables
vpk.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  VPKDemuxContext
 

Functions

static int vpk_probe (const AVProbeData *p)
 
static int vpk_read_header (AVFormatContext *s)
 
static int vpk_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int vpk_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 

Variables

const FFInputFormat ff_vpk_demuxer
 

Function Documentation

◆ vpk_probe()

static int vpk_probe ( const AVProbeData p)
static

Definition at line 34 of file vpk.c.

◆ vpk_read_header()

static int vpk_read_header ( AVFormatContext s)
static

Definition at line 42 of file vpk.c.

◆ vpk_read_packet()

static int vpk_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 81 of file vpk.c.

◆ vpk_read_seek()

static int vpk_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 115 of file vpk.c.

Variable Documentation

◆ ff_vpk_demuxer

const FFInputFormat ff_vpk_demuxer
Initial value:
= {
.p.name = "vpk",
.p.long_name = NULL_IF_CONFIG_SMALL("Sony PS2 VPK"),
.p.extensions = "vpk",
.priv_data_size = sizeof(VPKDemuxContext),
}

Definition at line 138 of file vpk.c.

vpk_read_packet
static int vpk_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vpk.c:81
vpk_read_seek
static int vpk_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: vpk.c:115
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:151
vpk_read_header
static int vpk_read_header(AVFormatContext *s)
Definition: vpk.c:42
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
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
vpk_probe
static int vpk_probe(const AVProbeData *p)
Definition: vpk.c:34
VPKDemuxContext
Definition: vpk.c:27
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30