FFmpeg  4.0
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 (AVProbeData *p)
 
static int vpk_read_header (AVFormatContext *s)
 
static int vpk_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_vpk_demuxer
 

Function Documentation

◆ vpk_probe()

static int vpk_probe ( AVProbeData p)
static

Definition at line 32 of file vpk.c.

◆ vpk_read_header()

static int vpk_read_header ( AVFormatContext s)
static

Definition at line 40 of file vpk.c.

◆ vpk_read_packet()

static int vpk_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 75 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",
}
static int vpk_read_header(AVFormatContext *s)
Definition: vpk.c:40
static int vpk_probe(AVProbeData *p)
Definition: vpk.c:32
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int vpk_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vpk.c:75
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42

Definition at line 109 of file vpk.c.