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"
Include dependency graph for xa.c:

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)
 
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 43 of file xa.c.

static int xa_read_header ( AVFormatContext s)
static

Definition at line 65 of file xa.c.

static int xa_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 96 of file xa.c.

Variable Documentation

AVInputFormat ff_xa_demuxer
Initial value:
= {
.name = "xa",
.long_name = NULL_IF_CONFIG_SMALL("Maxis XA"),
.priv_data_size = sizeof(MaxisXADemuxContext),
}
static int xa_probe(AVProbeData *p)
Definition: xa.c:43
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int xa_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: xa.c:96
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int xa_read_header(AVFormatContext *s)
Definition: xa.c:65
struct MaxisXADemuxContext MaxisXADemuxContext

Definition at line 121 of file xa.c.