FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
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)
 

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().

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 99 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. ...
Definition: internal.h:176
static int xa_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: xa.c:99
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:514
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int xa_read_header(AVFormatContext *s)
Definition: xa.c:65

Definition at line 124 of file xa.c.