FFmpeg
Data Structures | Functions | Variables
r3d.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  R3DContext
 
struct  Atom
 

Functions

static int read_atom (AVFormatContext *s, Atom *atom)
 
static int r3d_read_red1 (AVFormatContext *s)
 
static int r3d_read_rdvo (AVFormatContext *s, Atom *atom)
 
static void r3d_read_reos (AVFormatContext *s)
 
static int r3d_read_header (AVFormatContext *s)
 
static int r3d_read_redv (AVFormatContext *s, AVPacket *pkt, Atom *atom)
 
static int r3d_read_reda (AVFormatContext *s, AVPacket *pkt, Atom *atom)
 
static int r3d_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int r3d_probe (const AVProbeData *p)
 
static int r3d_seek (AVFormatContext *s, int stream_index, int64_t sample_time, int flags)
 

Variables

const FFInputFormat ff_r3d_demuxer
 

Function Documentation

◆ read_atom()

static int read_atom ( AVFormatContext s,
Atom atom 
)
static

Definition at line 42 of file r3d.c.

Referenced by r3d_read_header(), and r3d_read_packet().

◆ r3d_read_red1()

static int r3d_read_red1 ( AVFormatContext s)
static

Definition at line 54 of file r3d.c.

Referenced by r3d_read_header().

◆ r3d_read_rdvo()

static int r3d_read_rdvo ( AVFormatContext s,
Atom atom 
)
static

Definition at line 117 of file r3d.c.

Referenced by r3d_read_header().

◆ r3d_read_reos()

static void r3d_read_reos ( AVFormatContext s)
static

Definition at line 143 of file r3d.c.

Referenced by r3d_read_header().

◆ r3d_read_header()

static int r3d_read_header ( AVFormatContext s)
static

Definition at line 162 of file r3d.c.

◆ r3d_read_redv()

static int r3d_read_redv ( AVFormatContext s,
AVPacket pkt,
Atom atom 
)
static

Definition at line 219 of file r3d.c.

Referenced by r3d_read_packet().

◆ r3d_read_reda()

static int r3d_read_reda ( AVFormatContext s,
AVPacket pkt,
Atom atom 
)
static

Definition at line 274 of file r3d.c.

Referenced by r3d_read_packet().

◆ r3d_read_packet()

static int r3d_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 339 of file r3d.c.

◆ r3d_probe()

static int r3d_probe ( const AVProbeData p)
static

Definition at line 373 of file r3d.c.

◆ r3d_seek()

static int r3d_seek ( AVFormatContext s,
int  stream_index,
int64_t  sample_time,
int  flags 
)
static

Definition at line 380 of file r3d.c.

Variable Documentation

◆ ff_r3d_demuxer

const FFInputFormat ff_r3d_demuxer
Initial value:
= {
.p.name = "r3d",
.p.long_name = NULL_IF_CONFIG_SMALL("REDCODE R3D"),
.priv_data_size = sizeof(R3DContext),
}

Definition at line 405 of file r3d.c.

r3d_seek
static int r3d_seek(AVFormatContext *s, int stream_index, int64_t sample_time, int flags)
Definition: r3d.c:380
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:151
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
r3d_probe
static int r3d_probe(const AVProbeData *p)
Definition: r3d.c:373
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
R3DContext
Definition: r3d.c:29
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:94
r3d_read_packet
static int r3d_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: r3d.c:339
r3d_read_header
static int r3d_read_header(AVFormatContext *s)
Definition: r3d.c:162
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30