libavformat/westwood_vqa.c File Reference

Westwood Studios VQA file demuxer by Mike Melanson (melanson@pcisys.net) for more information on the Westwood file formats, visit: http://www.pcisys.net/~melanson/codecs/ http://www.geocities.com/SiliconValley/8682/aud3.txt. More...

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

Go to the source code of this file.

Data Structures

struct  WsVqaDemuxContext

Defines

#define FORM_TAG   MKBETAG('F', 'O', 'R', 'M')
#define WVQA_TAG   MKBETAG('W', 'V', 'Q', 'A')
#define VQHD_TAG   MKBETAG('V', 'Q', 'H', 'D')
#define FINF_TAG   MKBETAG('F', 'I', 'N', 'F')
#define SND0_TAG   MKBETAG('S', 'N', 'D', '0')
#define SND1_TAG   MKBETAG('S', 'N', 'D', '1')
#define SND2_TAG   MKBETAG('S', 'N', 'D', '2')
#define VQFR_TAG   MKBETAG('V', 'Q', 'F', 'R')
#define CINF_TAG   MKBETAG('C', 'I', 'N', 'F')
#define CINH_TAG   MKBETAG('C', 'I', 'N', 'H')
#define CIND_TAG   MKBETAG('C', 'I', 'N', 'D')
#define PINF_TAG   MKBETAG('P', 'I', 'N', 'F')
#define PINH_TAG   MKBETAG('P', 'I', 'N', 'H')
#define PIND_TAG   MKBETAG('P', 'I', 'N', 'D')
#define CMDS_TAG   MKBETAG('C', 'M', 'D', 'S')
#define VQA_HEADER_SIZE   0x2A
#define VQA_PREAMBLE_SIZE   8

Functions

static int wsvqa_probe (AVProbeData *p)
static int wsvqa_read_header (AVFormatContext *s)
static int wsvqa_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_wsvqa_demuxer


Detailed Description

Westwood Studios VQA file demuxer by Mike Melanson (melanson@pcisys.net) for more information on the Westwood file formats, visit: http://www.pcisys.net/~melanson/codecs/ http://www.geocities.com/SiliconValley/8682/aud3.txt.

Definition in file westwood_vqa.c.


Define Documentation

#define CIND_TAG   MKBETAG('C', 'I', 'N', 'D')

Definition at line 47 of file westwood_vqa.c.

Referenced by wsvqa_read_header().

#define CINF_TAG   MKBETAG('C', 'I', 'N', 'F')

Definition at line 45 of file westwood_vqa.c.

Referenced by wsvqa_read_header().

#define CINH_TAG   MKBETAG('C', 'I', 'N', 'H')

Definition at line 46 of file westwood_vqa.c.

Referenced by wsvqa_read_header().

#define CMDS_TAG   MKBETAG('C', 'M', 'D', 'S')

Definition at line 51 of file westwood_vqa.c.

Referenced by wsvqa_read_header(), and wsvqa_read_packet().

#define FINF_TAG   MKBETAG('F', 'I', 'N', 'F')

Definition at line 38 of file westwood_vqa.c.

Referenced by wsvqa_read_header().

#define FORM_TAG   MKBETAG('F', 'O', 'R', 'M')

Definition at line 35 of file westwood_vqa.c.

#define PIND_TAG   MKBETAG('P', 'I', 'N', 'D')

Definition at line 50 of file westwood_vqa.c.

Referenced by wsvqa_read_header().

#define PINF_TAG   MKBETAG('P', 'I', 'N', 'F')

Definition at line 48 of file westwood_vqa.c.

Referenced by wsvqa_read_header().

#define PINH_TAG   MKBETAG('P', 'I', 'N', 'H')

Definition at line 49 of file westwood_vqa.c.

Referenced by wsvqa_read_header().

#define SND0_TAG   MKBETAG('S', 'N', 'D', '0')

Definition at line 39 of file westwood_vqa.c.

Referenced by wsvqa_read_packet().

#define SND1_TAG   MKBETAG('S', 'N', 'D', '1')

Definition at line 40 of file westwood_vqa.c.

Referenced by wsvqa_read_packet().

#define SND2_TAG   MKBETAG('S', 'N', 'D', '2')

Definition at line 41 of file westwood_vqa.c.

Referenced by wsvqa_read_packet().

#define VQA_HEADER_SIZE   0x2A

Definition at line 53 of file westwood_vqa.c.

#define VQA_PREAMBLE_SIZE   8

Definition at line 54 of file westwood_vqa.c.

Referenced by wsvqa_read_header(), and wsvqa_read_packet().

#define VQFR_TAG   MKBETAG('V', 'Q', 'F', 'R')

Definition at line 42 of file westwood_vqa.c.

Referenced by wsvqa_read_packet().

#define VQHD_TAG   MKBETAG('V', 'Q', 'H', 'D')

Definition at line 37 of file westwood_vqa.c.

#define WVQA_TAG   MKBETAG('W', 'V', 'Q', 'A')

Definition at line 36 of file westwood_vqa.c.

Referenced by wsvqa_probe().


Function Documentation

static int wsvqa_probe ( AVProbeData p  )  [static]

Definition at line 65 of file westwood_vqa.c.

static int wsvqa_read_header ( AVFormatContext s  )  [static]

Definition at line 79 of file westwood_vqa.c.

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

Definition at line 164 of file westwood_vqa.c.


Variable Documentation

Initial value:

 {
    .name           = "wsvqa",
    .long_name      = NULL_IF_CONFIG_SMALL("Westwood Studios VQA format"),
    .priv_data_size = sizeof(WsVqaDemuxContext),
    .read_probe     = wsvqa_probe,
    .read_header    = wsvqa_read_header,
    .read_packet    = wsvqa_read_packet,
}

Definition at line 269 of file westwood_vqa.c.


Generated on Fri Oct 26 02:48:02 2012 for FFmpeg by  doxygen 1.5.8