Libav
Macros | Functions | Variables
rsodec.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.h"
#include "rso.h"

Go to the source code of this file.

Macros

#define BLOCK_SIZE   1024 /* in samples */
 

Functions

static int rso_read_header (AVFormatContext *s)
 
static int rso_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_rso_demuxer
 

Macro Definition Documentation

§ BLOCK_SIZE

#define BLOCK_SIZE   1024 /* in samples */

Definition at line 74 of file rsodec.c.

Referenced by rso_read_packet().

Function Documentation

§ rso_read_header()

static int rso_read_header ( AVFormatContext s)
static

Definition at line 30 of file rsodec.c.

§ rso_read_packet()

static int rso_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 76 of file rsodec.c.

Variable Documentation

§ ff_rso_demuxer

AVInputFormat ff_rso_demuxer
Initial value:
= {
.name = "rso",
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"),
.extensions = "rso",
.read_header = rso_read_header,
.read_packet = rso_read_packet,
.read_seek = ff_pcm_read_seek,
.codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0},
}
static int rso_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rsodec.c:76
static int rso_read_header(AVFormatContext *s)
Definition: rsodec.c:30
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:145
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:26
const AVCodecTag ff_codec_rso_tags[]
Definition: rso.c:26

Definition at line 92 of file rsodec.c.