FFmpeg  4.0
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 (AVProbeData *p)
 
static int r3d_seek (AVFormatContext *s, int stream_index, int64_t sample_time, int flags)
 
static int r3d_close (AVFormatContext *s)
 

Variables

AVInputFormat 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 114 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 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 337 of file r3d.c.

◆ r3d_probe()

static int r3d_probe ( AVProbeData p)
static

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

◆ r3d_close()

static int r3d_close ( AVFormatContext s)
static

Definition at line 403 of file r3d.c.

Variable Documentation

◆ ff_r3d_demuxer

AVInputFormat ff_r3d_demuxer
Initial value:
= {
.name = "r3d",
.long_name = NULL_IF_CONFIG_SMALL("REDCODE R3D"),
.priv_data_size = sizeof(R3DContext),
}
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
static int r3d_close(AVFormatContext *s)
Definition: r3d.c:403
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: r3d.c:28
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int r3d_probe(AVProbeData *p)
Definition: r3d.c:371
static int r3d_seek(AVFormatContext *s, int stream_index, int64_t sample_time, int flags)
Definition: r3d.c:378
static int r3d_read_header(AVFormatContext *s)
Definition: r3d.c:162
static int r3d_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: r3d.c:337

Definition at line 412 of file r3d.c.