Westwood Studios VQA & AUD file demuxers by Mike Melanson (melan) for more information on the Westwood file formats, visit: son@ pcisy s.ne thttp://www.pcisys.net/~melanson/codecs/ http://www.geocities.com/SiliconValley/8682/aud3.txt. More...
Go to the source code of this file.
Data Structures | |
struct | WsAudDemuxContext |
struct | WsVqaDemuxContext |
Macros | |
#define | AUD_HEADER_SIZE 12 |
#define | AUD_CHUNK_PREAMBLE_SIZE 8 |
#define | AUD_CHUNK_SIGNATURE 0x0000DEAF |
#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_FRAMERATE 15 |
#define | VQA_PREAMBLE_SIZE 8 |
Typedefs | |
typedef struct WsAudDemuxContext | WsAudDemuxContext |
typedef struct WsVqaDemuxContext | 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 | wsvqa_probe (AVProbeData *p) |
static int | wsvqa_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | wsvqa_read_packet (AVFormatContext *s, AVPacket *pkt) |
Westwood Studios VQA & AUD file demuxers by Mike Melanson (melan) for more information on the Westwood file formats, visit: son@ pcisy s.ne thttp://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.
#define AUD_CHUNK_PREAMBLE_SIZE 8 |
Definition at line 41 of file westwood.c.
Referenced by wsaud_probe(), and wsaud_read_packet().
#define AUD_CHUNK_SIGNATURE 0x0000DEAF |
Definition at line 42 of file westwood.c.
Referenced by wsaud_probe(), and wsaud_read_packet().
#define AUD_HEADER_SIZE 12 |
Definition at line 40 of file westwood.c.
Referenced by wsaud_probe(), and wsaud_read_header().
Definition at line 56 of file westwood.c.
Referenced by wsvqa_read_header().
Definition at line 54 of file westwood.c.
Referenced by wsvqa_read_header().
Definition at line 55 of file westwood.c.
Referenced by wsvqa_read_header().
Definition at line 60 of file westwood.c.
Referenced by wsvqa_read_header(), and wsvqa_read_packet().
Definition at line 47 of file westwood.c.
Referenced by wsvqa_read_header().
Definition at line 44 of file westwood.c.
Referenced by wsvqa_probe().
Definition at line 59 of file westwood.c.
Referenced by wsvqa_read_header().
Definition at line 57 of file westwood.c.
Referenced by wsvqa_read_header().
Definition at line 58 of file westwood.c.
Referenced by wsvqa_read_header().
Definition at line 48 of file westwood.c.
Referenced by wsvqa_read_packet().
Definition at line 49 of file westwood.c.
Referenced by wsvqa_read_packet().
Definition at line 50 of file westwood.c.
Referenced by wsvqa_read_packet().
#define VQA_FRAMERATE 15 |
Definition at line 63 of file westwood.c.
Referenced by wsvqa_read_header().
#define VQA_HEADER_SIZE 0x2A |
Definition at line 62 of file westwood.c.
Referenced by wsvqa_read_header().
#define VQA_PREAMBLE_SIZE 8 |
Definition at line 64 of file westwood.c.
Referenced by wsvqa_read_header(), and wsvqa_read_packet().
Definition at line 51 of file westwood.c.
Referenced by wsvqa_read_packet().
Definition at line 45 of file westwood.c.
Referenced by wsvqa_probe().
typedef struct WsAudDemuxContext WsAudDemuxContext |
typedef struct WsVqaDemuxContext WsVqaDemuxContext |
|
static |
Definition at line 86 of file westwood.c.
|
static |
Definition at line 126 of file westwood.c.
|
static |
Definition at line 168 of file westwood.c.
|
static |
Definition at line 199 of file westwood.c.
|
static |
Definition at line 213 of file westwood.c.
|
static |
Definition at line 311 of file westwood.c.