FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
redspark.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.

Data Structures

struct  RedSparkContext
 

Macros

#define HEADER_SIZE   4096
 

Functions

static int redspark_probe (AVProbeData *p)
 
static int redspark_read_header (AVFormatContext *s)
 
static int redspark_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_redspark_demuxer
 

Macro Definition Documentation

#define HEADER_SIZE   4096

Definition at line 28 of file redspark.c.

Referenced by redspark_read_header().

Function Documentation

static int redspark_probe ( AVProbeData p)
static

Definition at line 34 of file redspark.c.

static int redspark_read_header ( AVFormatContext s)
static

Definition at line 54 of file redspark.c.

static int redspark_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 139 of file redspark.c.

Variable Documentation

AVInputFormat ff_redspark_demuxer
Initial value:
= {
.name = "redspark",
.long_name = NULL_IF_CONFIG_SMALL("RedSpark"),
.priv_data_size = sizeof(RedSparkContext),
.extensions = "rsd",
}
static int redspark_probe(AVProbeData *p)
Definition: redspark.c:34
static int redspark_read_header(AVFormatContext *s)
Definition: redspark.c:54
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:620
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int redspark_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: redspark.c:139

Definition at line 162 of file redspark.c.