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 "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 AVInputFormat ff_r3d_demuxer
 

Function Documentation

◆ read_atom()

static int read_atom ( AVFormatContext s,
Atom atom 
)
static

Definition at line 41 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 53 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 116 of file r3d.c.

Referenced by r3d_read_header().

◆ r3d_read_reos()

static void r3d_read_reos ( AVFormatContext s)
static

Definition at line 142 of file r3d.c.

Referenced by r3d_read_header().

◆ r3d_read_header()

static int r3d_read_header ( AVFormatContext s)
static

Definition at line 161 of file r3d.c.

◆ r3d_read_redv()

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

Definition at line 218 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 273 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 338 of file r3d.c.

◆ r3d_probe()

static int r3d_probe ( const AVProbeData p)
static

Definition at line 372 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 379 of file r3d.c.

Variable Documentation

◆ ff_r3d_demuxer

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

Definition at line 404 of file r3d.c.

r3d_seek
static int r3d_seek(AVFormatContext *s, int stream_index, int64_t sample_time, int flags)
Definition: r3d.c:379
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:149
r3d_probe
static int r3d_probe(const AVProbeData *p)
Definition: r3d.c:372
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
R3DContext
Definition: r3d.c:28
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
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:117
r3d_read_packet
static int r3d_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: r3d.c:338
r3d_read_header
static int r3d_read_header(AVFormatContext *s)
Definition: r3d.c:161
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42