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

Go to the source code of this file.

Data Structures

struct  PMPContext
 

Functions

static int pmp_probe (const AVProbeData *p)
 
static int pmp_header (AVFormatContext *s)
 
static int pmp_packet (AVFormatContext *s, AVPacket *pkt)
 
static int pmp_seek (AVFormatContext *s, int stream_index, int64_t ts, int flags)
 
static int pmp_close (AVFormatContext *s)
 

Variables

const FFInputFormat ff_pmp_demuxer
 

Function Documentation

◆ pmp_probe()

static int pmp_probe ( const AVProbeData p)
static

Definition at line 37 of file pmpdec.c.

◆ pmp_header()

static int pmp_header ( AVFormatContext s)
static

Definition at line 44 of file pmpdec.c.

◆ pmp_packet()

static int pmp_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 131 of file pmpdec.c.

◆ pmp_seek()

static int pmp_seek ( AVFormatContext s,
int  stream_index,
int64_t  ts,
int  flags 
)
static

Definition at line 173 of file pmpdec.c.

◆ pmp_close()

static int pmp_close ( AVFormatContext s)
static

Definition at line 181 of file pmpdec.c.

Variable Documentation

◆ ff_pmp_demuxer

const FFInputFormat ff_pmp_demuxer
Initial value:
= {
.p.name = "pmp",
.p.long_name = NULL_IF_CONFIG_SMALL("Playstation Portable PMP"),
.priv_data_size = sizeof(PMPContext),
}

Definition at line 188 of file pmpdec.c.

pmp_close
static int pmp_close(AVFormatContext *s)
Definition: pmpdec.c:181
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:151
read_close
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:143
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
pmp_probe
static int pmp_probe(const AVProbeData *p)
Definition: pmpdec.c:37
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
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
pmp_header
static int pmp_header(AVFormatContext *s)
Definition: pmpdec.c:44
pmp_seek
static int pmp_seek(AVFormatContext *s, int stream_index, int64_t ts, int flags)
Definition: pmpdec.c:173
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30
PMPContext
Definition: pmpdec.c:28
pmp_packet
static int pmp_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pmpdec.c:131