FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
rsd.c File Reference
#include "libavcodec/bytestream.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int rsd_probe (AVProbeData *p)
 
static int rsd_read_header (AVFormatContext *s)
 
static int rsd_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const AVCodecTag rsd_tags []
 
static const uint32_t rsd_unsupported_tags []
 
AVInputFormat ff_rsd_demuxer
 

Function Documentation

static int rsd_probe ( AVProbeData p)
static

Definition at line 44 of file rsd.c.

static int rsd_read_header ( AVFormatContext s)
static

Definition at line 55 of file rsd.c.

static int rsd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 172 of file rsd.c.

Variable Documentation

const AVCodecTag rsd_tags[]
static
Initial value:
= {
{ AV_CODEC_ID_ADPCM_PSX, MKTAG('V','A','G',' ') },
{ AV_CODEC_ID_ADPCM_THP_LE, MKTAG('G','A','D','P') },
{ AV_CODEC_ID_ADPCM_THP, MKTAG('W','A','D','P') },
{ AV_CODEC_ID_ADPCM_IMA_RAD, MKTAG('R','A','D','P') },
{ AV_CODEC_ID_ADPCM_IMA_WAV, MKTAG('X','A','D','P') },
{ AV_CODEC_ID_PCM_S16BE, MKTAG('P','C','M','B') },
{ AV_CODEC_ID_PCM_S16LE, MKTAG('P','C','M',' ') },
{ AV_CODEC_ID_XMA2, MKTAG('X','M','A',' ') },
}
#define MKTAG(a, b, c, d)
Definition: common.h:342

Definition at line 28 of file rsd.c.

const uint32_t rsd_unsupported_tags[]
static
Initial value:
= {
MKTAG('O','G','G',' '),
}
#define MKTAG(a, b, c, d)
Definition: common.h:342

Definition at line 40 of file rsd.c.

Referenced by rsd_read_header().

AVInputFormat ff_rsd_demuxer
Initial value:
= {
.name = "rsd",
.long_name = NULL_IF_CONFIG_SMALL("GameCube RSD"),
.read_probe = rsd_probe,
.read_header = rsd_read_header,
.read_packet = rsd_read_packet,
.extensions = "rsd",
.codec_tag = (const AVCodecTag* const []){rsd_tags, 0},
}
static int rsd_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rsd.c:172
static int rsd_probe(AVProbeData *p)
Definition: rsd.c:44
static const AVCodecTag rsd_tags[]
Definition: rsd.c:28
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static int rsd_read_header(AVFormatContext *s)
Definition: rsd.c:55
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:487

Definition at line 214 of file rsd.c.