xa.c File Reference

Maxis XA File Demuxer by Robert Marston (rmars.nosp@m.ton@.nosp@m.gmail.nosp@m..com) for more information on the XA audio format see http://wiki.multimedia.cx/index.php?title=Maxis_XA. More...

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

Go to the source code of this file.

Data Structures

struct  MaxisXADemuxContext

Macros

#define XA00_TAG   MKTAG('X', 'A', 0, 0)
#define XAI0_TAG   MKTAG('X', 'A', 'I', 0)
#define XAJ0_TAG   MKTAG('X', 'A', 'J', 0)

Typedefs

typedef struct MaxisXADemuxContext MaxisXADemuxContext

Functions

static int xa_probe (AVProbeData *p)
static int xa_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int xa_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_xa_demuxer

Detailed Description

Maxis XA File Demuxer by Robert Marston (rmars.nosp@m.ton@.nosp@m.gmail.nosp@m..com) for more information on the XA audio format see http://wiki.multimedia.cx/index.php?title=Maxis_XA.

Definition in file xa.c.

Macro Definition Documentation

#define XA00_TAG   MKTAG('X', 'A', 0, 0)

Definition at line 34 of file xa.c.

Referenced by xa_probe().

#define XAI0_TAG   MKTAG('X', 'A', 'I', 0)

Definition at line 35 of file xa.c.

Referenced by xa_probe().

#define XAJ0_TAG   MKTAG('X', 'A', 'J', 0)

Definition at line 36 of file xa.c.

Referenced by xa_probe().

Typedef Documentation

Function Documentation

static int xa_probe ( AVProbeData p)
static

Definition at line 44 of file xa.c.

static int xa_read_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 66 of file xa.c.

static int xa_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 95 of file xa.c.

Variable Documentation

AVInputFormat ff_xa_demuxer
Initial value:
{
.name = "xa",
.long_name = NULL_IF_CONFIG_SMALL("Maxis XA File Format"),
.priv_data_size = sizeof(MaxisXADemuxContext),
}

Definition at line 122 of file xa.c.