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 135 of file rsd.c.

Variable Documentation

const AVCodecTag rsd_tags[]
static
Initial value:
= {
{ AV_CODEC_ID_ADPCM_THP, MKTAG('G','A','D','P') },
{ AV_CODEC_ID_ADPCM_IMA_RAD, MKTAG('R','A','D','P') },
{ AV_CODEC_ID_PCM_S16BE, MKTAG('P','C','M','B') },
{ AV_CODEC_ID_PCM_S16LE, MKTAG('P','C','M',' ') },
}

Definition at line 28 of file rsd.c.

const uint32_t rsd_unsupported_tags[]
static
Initial value:
= {
MKTAG('O','G','G',' '),
MKTAG('V','A','G',' '),
MKTAG('W','A','D','P'),
MKTAG('X','A','D','P'),
MKTAG('X','M','A',' '),
}

Definition at line 36 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},
}

Definition at line 160 of file rsd.c.