Data Structures | Defines | Functions | Variables

libavformat/anm.c File Reference

Deluxe Paint Animation demuxer. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  Page
struct  AnmDemuxContext

Defines

#define MAX_PAGES   256
#define LPF_TAG   MKTAG('L','P','F',' ')
#define ANIM_TAG   MKTAG('A','N','I','M')

Functions

static int probe (AVProbeData *p)
static int find_record (const AnmDemuxContext *anm, int record)
static int read_header (AVFormatContext *s, AVFormatParameters *ap)
static int read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat anm_demuxer

Detailed Description

Deluxe Paint Animation demuxer.

Definition in file anm.c.


Define Documentation

#define ANIM_TAG   MKTAG('A','N','I','M')

Definition at line 47 of file anm.c.

Referenced by probe(), and read_header().

#define LPF_TAG   MKTAG('L','P','F',' ')

Definition at line 46 of file anm.c.

Referenced by probe().

#define MAX_PAGES   256

Definition at line 40 of file anm.c.

Referenced by read_header(), and read_packet().


Function Documentation

static int find_record ( const AnmDemuxContext anm,
int  record 
) [static]
Returns:
page containing the requested record or AVERROR_XXX

Definition at line 62 of file anm.c.

Referenced by read_header(), and read_packet().

static int probe ( AVProbeData p  )  [static]

Definition at line 49 of file anm.c.

static int read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 78 of file anm.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 176 of file anm.c.

Referenced by av_alloc_put_byte(), and init_put_byte().


Variable Documentation

Initial value:
 {
    "anm",
    NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
    sizeof(AnmDemuxContext),
    probe,
    read_header,
    read_packet,
}

Definition at line 228 of file anm.c.