idroqdec.c File Reference

id RoQ format file demuxer by Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t) for more information on the .roq file format, visit: http://www.csse.monash.edu.au/~timf/ More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  RoqDemuxContext

Macros

#define RoQ_MAGIC_NUMBER   0x1084
#define RoQ_CHUNK_PREAMBLE_SIZE   8
#define RoQ_AUDIO_SAMPLE_RATE   22050
#define RoQ_CHUNKS_TO_SCAN   30
#define RoQ_INFO   0x1001
#define RoQ_QUAD_CODEBOOK   0x1002
#define RoQ_QUAD_VQ   0x1011
#define RoQ_SOUND_MONO   0x1020
#define RoQ_SOUND_STEREO   0x1021

Typedefs

typedef struct RoqDemuxContext RoqDemuxContext

Functions

static int roq_probe (AVProbeData *p)
static int roq_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int roq_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_roq_demuxer

Detailed Description

id RoQ format file demuxer by Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t) for more information on the .roq file format, visit: http://www.csse.monash.edu.au/~timf/

Definition in file idroqdec.c.

Macro Definition Documentation

#define RoQ_AUDIO_SAMPLE_RATE   22050

Definition at line 36 of file idroqdec.c.

Referenced by roq_read_packet().

#define RoQ_CHUNK_PREAMBLE_SIZE   8

Definition at line 35 of file idroqdec.c.

Referenced by roq_read_header(), and roq_read_packet().

#define RoQ_CHUNKS_TO_SCAN   30

Definition at line 37 of file idroqdec.c.

#define RoQ_INFO   0x1001

Definition at line 39 of file idroqdec.c.

Referenced by roq_read_packet().

#define RoQ_MAGIC_NUMBER   0x1084

Definition at line 34 of file idroqdec.c.

Referenced by roq_probe().

#define RoQ_QUAD_CODEBOOK   0x1002

Definition at line 40 of file idroqdec.c.

Referenced by roq_read_packet().

#define RoQ_QUAD_VQ   0x1011

Definition at line 41 of file idroqdec.c.

Referenced by roq_read_packet().

#define RoQ_SOUND_MONO   0x1020

Definition at line 42 of file idroqdec.c.

Referenced by roq_read_packet().

#define RoQ_SOUND_STEREO   0x1021

Definition at line 43 of file idroqdec.c.

Referenced by roq_read_packet().

Typedef Documentation

Function Documentation

static int roq_probe ( AVProbeData p)
static

Definition at line 60 of file idroqdec.c.

static int roq_read_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 69 of file idroqdec.c.

static int roq_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 93 of file idroqdec.c.

Variable Documentation

AVInputFormat ff_roq_demuxer
Initial value:
{
.name = "RoQ",
.long_name = NULL_IF_CONFIG_SMALL("id RoQ format"),
.priv_data_size = sizeof(RoqDemuxContext),
}

Definition at line 227 of file idroqdec.c.