libavformat/idroq.c File Reference

Id RoQ format file demuxer by Mike Melanson (melanson@pcisys.net) for more information on the .roq file format, visit: http://www.csse.monash.edu.au/~timf/. More...

#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  RoqDemuxContext

Defines

#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

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)
static int roq_read_close (AVFormatContext *s)

Variables

AVInputFormat roq_demuxer


Detailed Description

Id RoQ format file demuxer by Mike Melanson (melanson@pcisys.net) for more information on the .roq file format, visit: http://www.csse.monash.edu.au/~timf/.

Definition in file idroq.c.


Define Documentation

#define RoQ_AUDIO_SAMPLE_RATE   22050

Definition at line 34 of file idroq.c.

Referenced by roq_read_header(), and roq_read_packet().

#define RoQ_CHUNK_PREAMBLE_SIZE   8

Definition at line 33 of file idroq.c.

Referenced by roq_read_header(), and roq_read_packet().

#define RoQ_CHUNKS_TO_SCAN   30

Definition at line 35 of file idroq.c.

Referenced by roq_read_header().

#define RoQ_INFO   0x1001

Definition at line 37 of file idroq.c.

#define RoQ_MAGIC_NUMBER   0x1084

Definition at line 32 of file idroq.c.

Referenced by roq_probe().

#define RoQ_QUAD_CODEBOOK   0x1002

Definition at line 38 of file idroq.c.

#define RoQ_QUAD_VQ   0x1011

Definition at line 39 of file idroq.c.

#define RoQ_SOUND_MONO   0x1020

Definition at line 40 of file idroq.c.

#define RoQ_SOUND_STEREO   0x1021

Definition at line 41 of file idroq.c.


Function Documentation

static int roq_probe ( AVProbeData p  )  [static]

Definition at line 59 of file idroq.c.

static int roq_read_close ( AVFormatContext s  )  [static]

Definition at line 273 of file idroq.c.

static int roq_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 68 of file idroq.c.

static int roq_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 173 of file idroq.c.


Variable Documentation

Initial value:

 {
    "RoQ",
    "Id RoQ format",
    sizeof(RoqDemuxContext),
    roq_probe,
    roq_read_header,
    roq_read_packet,
    roq_read_close,
}

Definition at line 280 of file idroq.c.


Generated on Sat Sep 6 21:25:09 2008 for ffmpeg by  doxygen 1.5.6