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

Variables

const 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

◆ XA00_TAG

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

Definition at line 34 of file xa.c.

◆ XAI0_TAG

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

Definition at line 35 of file xa.c.

◆ XAJ0_TAG

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

Definition at line 36 of file xa.c.

Function Documentation

◆ xa_probe()

static int xa_probe ( const AVProbeData p)
static

Definition at line 43 of file xa.c.

◆ xa_read_header()

static int xa_read_header ( AVFormatContext s)
static

Definition at line 65 of file xa.c.

◆ xa_read_packet()

static int xa_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 99 of file xa.c.

Variable Documentation

◆ ff_xa_demuxer

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

Definition at line 124 of file xa.c.

xa_probe
static int xa_probe(const AVProbeData *p)
Definition: xa.c:43
xa_read_header
static int xa_read_header(AVFormatContext *s)
Definition: xa.c:65
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
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:117
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
MaxisXADemuxContext
Definition: xa.c:38
xa_read_packet
static int xa_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: xa.c:99