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
 
#define rol(value, bits)   (((value) << (bits)) | ((value) >> (32 - (bits))))
 

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

#define rol (   value,
  bits 
)    (((value) << (bits)) | ((value) >> (32 - (bits))))

Definition at line 29 of file redspark.c.

Referenced by redspark_probe(), and redspark_read_header().

Function Documentation

static int redspark_probe ( AVProbeData p)
static

Definition at line 35 of file redspark.c.

static int redspark_read_header ( AVFormatContext s)
static

Definition at line 57 of file redspark.c.

static int redspark_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 131 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:35
static int redspark_read_header(AVFormatContext *s)
Definition: redspark.c:57
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
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 redspark_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: redspark.c:131

Definition at line 154 of file redspark.c.