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

AVInputFormat ff_vpk_demuxer
 

Function Documentation

◆ vpk_probe()

static int vpk_probe ( const AVProbeData p)
static

Definition at line 33 of file vpk.c.

◆ vpk_read_header()

static int vpk_read_header ( AVFormatContext s)
static

Definition at line 41 of file vpk.c.

◆ vpk_read_packet()

static int vpk_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 80 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 114 of file vpk.c.

Variable Documentation

◆ ff_vpk_demuxer

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

Definition at line 137 of file vpk.c.

vpk_read_packet
static int vpk_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vpk.c:80
vpk_read_seek
static int vpk_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: vpk.c:114
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
vpk_read_header
static int vpk_read_header(AVFormatContext *s)
Definition: vpk.c:41
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
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
vpk_probe
static int vpk_probe(const AVProbeData *p)
Definition: vpk.c:33
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
VPKDemuxContext
Definition: vpk.c:26