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)
 

Variables

AVInputFormat ff_vpk_demuxer
 

Function Documentation

static int vpk_probe ( const AVProbeData p)
static

Definition at line 32 of file vpk.c.

static int vpk_read_header ( AVFormatContext s)
static

Definition at line 40 of file vpk.c.

static int vpk_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 78 of file vpk.c.

Variable Documentation

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
#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:78
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
static int vpk_probe(const AVProbeData *p)
Definition: vpk.c:32
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55

Definition at line 112 of file vpk.c.