libavformat/paf.c File Reference
#include "libavutil/channel_layout.h"
#include "libavcodec/paf.h"
#include "avformat.h"
#include "internal.h"
Include dependency graph for libavformat/paf.c:

Go to the source code of this file.

Data Structures

struct  PAFDemuxContext
 

Macros

#define MAGIC   "Packed Animation File V1.0\n(c) 1992-96 Amazing Studio\x0a\x1a"
 

Functions

static int read_probe (AVProbeData *p)
 
static int read_close (AVFormatContext *s)
 
static void read_table (AVFormatContext *s, uint32_t *table, uint32_t count)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_paf_demuxer
 

Macro Definition Documentation

#define MAGIC   "Packed Animation File V1.0\n(c) 1992-96 Amazing Studio\x0a\x1a"

Definition at line 27 of file libavformat/paf.c.

Referenced by read_probe().

Function Documentation

static int read_close ( AVFormatContext s)
static

Definition at line 64 of file libavformat/paf.c.

Referenced by read_header().

static int read_header ( AVFormatContext s)
static

Definition at line 88 of file libavformat/paf.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 187 of file libavformat/paf.c.

static int read_probe ( AVProbeData p)
static

Definition at line 56 of file libavformat/paf.c.

static void read_table ( AVFormatContext s,
uint32_t *  table,
uint32_t  count 
)
static

Definition at line 78 of file libavformat/paf.c.

Referenced by read_header().

Variable Documentation

AVInputFormat ff_paf_demuxer
Initial value:
= {
.name = "paf",
.long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File"),
.priv_data_size = sizeof(PAFDemuxContext),
}
static int read_header(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_packet(AVFormatContext *s, AVPacket *pkt)
static int read_probe(AVProbeData *p)
static int read_close(AVFormatContext *s)

Definition at line 253 of file libavformat/paf.c.