FFmpeg  4.0
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

◆ rsd_probe()

static int rsd_probe ( AVProbeData p)
static

Definition at line 44 of file rsd.c.

◆ rsd_read_header()

static int rsd_read_header ( AVFormatContext s)
static

Definition at line 55 of file rsd.c.

◆ rsd_read_packet()

static int rsd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 170 of file rsd.c.

Variable Documentation

◆ rsd_tags

const AVCodecTag rsd_tags[]
static
Initial value:

Definition at line 28 of file rsd.c.

◆ rsd_unsupported_tags

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().

◆ ff_rsd_demuxer

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

Definition at line 212 of file rsd.c.