westwood.c File Reference


Detailed Description

Westwood Studios VQA & AUD file demuxers 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.

Implementation note: There is no definite file signature for AUD files. The demuxer uses a probabilistic strategy for content detection. This entails performing sanity checks on certain header values in order to qualify a file. Refer to wsaud_probe() for the precise parameters.

Definition in file westwood.c.

Go to the source code of this file.

Classes

struct  WsAudDemuxContext
struct  WsVqaDemuxContext

Functions

static int wsaud_probe (AVProbeData *p)
static int wsaud_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int wsaud_read_packet (AVFormatContext *s, AVPacket *pkt)
static int wsaud_read_close (AVFormatContext *s)
static int wsvqa_probe (AVProbeData *p)
static int wsvqa_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int wsvqa_read_packet (AVFormatContext *s, AVPacket *pkt)
static int wsvqa_read_close (AVFormatContext *s)

Variables

AVInputFormat wsaud_demuxer
AVInputFormat wsvqa_demuxer


Function Documentation

static int wsaud_probe ( AVProbeData p  )  [static]

Definition at line 86 of file westwood.c.

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

Definition at line 117 of file westwood.c.

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

Definition at line 159 of file westwood.c.

static int wsaud_read_close ( AVFormatContext s  )  [static]

Definition at line 190 of file westwood.c.

static int wsvqa_probe ( AVProbeData p  )  [static]

Definition at line 198 of file westwood.c.

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

Definition at line 212 of file westwood.c.

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

Definition at line 314 of file westwood.c.

static int wsvqa_read_close ( AVFormatContext s  )  [static]

Definition at line 372 of file westwood.c.


Variable Documentation

Initial value:

 {
    "wsaud",
    "Westwood Studios audio format",
    sizeof(WsAudDemuxContext),
    wsaud_probe,
    wsaud_read_header,
    wsaud_read_packet,
    wsaud_read_close,
}

Definition at line 380 of file westwood.c.

Initial value:

 {
    "wsvqa",
    "Westwood Studios VQA format",
    sizeof(WsVqaDemuxContext),
    wsvqa_probe,
    wsvqa_read_header,
    wsvqa_read_packet,
    wsvqa_read_close,
}

Definition at line 391 of file westwood.c.


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5