FFmpeg
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 (const 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 ( const 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 170 of file rsd.c.

Variable Documentation

const AVCodecTag rsd_tags[]
static
Initial value:

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:366

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:170
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:186
static int rsd_read_header(AVFormatContext *s)
Definition: rsd.c:55
static int rsd_probe(const AVProbeData *p)
Definition: rsd.c:44
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468

Definition at line 212 of file rsd.c.