FFmpeg
Data Structures | Macros | Functions | Variables
xa.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.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 (const AVProbeData *p)
 
static int xa_read_header (AVFormatContext *s)
 
static int xa_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat 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

◆ XA00_TAG

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

Definition at line 35 of file xa.c.

◆ XAI0_TAG

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

Definition at line 36 of file xa.c.

◆ XAJ0_TAG

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

Definition at line 37 of file xa.c.

Function Documentation

◆ xa_probe()

static int xa_probe ( const AVProbeData p)
static

Definition at line 44 of file xa.c.

◆ xa_read_header()

static int xa_read_header ( AVFormatContext s)
static

Definition at line 66 of file xa.c.

◆ xa_read_packet()

static int xa_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 100 of file xa.c.

Variable Documentation

◆ ff_xa_demuxer

const FFInputFormat ff_xa_demuxer
Initial value:
= {
.p.name = "xa",
.p.long_name = NULL_IF_CONFIG_SMALL("Maxis XA"),
.priv_data_size = sizeof(MaxisXADemuxContext),
}

Definition at line 125 of file xa.c.

xa_probe
static int xa_probe(const AVProbeData *p)
Definition: xa.c:44
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
xa_read_header
static int xa_read_header(AVFormatContext *s)
Definition: xa.c:66
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
MaxisXADemuxContext
Definition: xa.c:39
xa_read_packet
static int xa_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: xa.c:100
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30