Logo Search packages:      
Sourcecode: blender version File versions  Download package

wc3movie.c File Reference


Detailed Description

Wing Commander III Movie file demuxer by Mike Melanson (melanson@pcisys.net) for more information on the WC3 .mve file format, visit: http://www.pcisys.net/~melanson/codecs/

Definition in file wc3movie.c.

#include "avformat.h"

Go to the source code of this file.

Classes

struct  Wc3DemuxContext

Defines

#define _PC__TAG   MKTAG('_', 'P', 'C', '_')
#define AUDI_TAG   MKTAG('A', 'U', 'D', 'I')
#define BNAM_TAG   MKTAG('B', 'N', 'A', 'M')
#define BRCH_TAG   MKTAG('B', 'R', 'C', 'H')
#define FORM_TAG   MKTAG('F', 'O', 'R', 'M')
#define INDX_TAG   MKTAG('I', 'N', 'D', 'X')
#define MOVE_TAG   MKTAG('M', 'O', 'V', 'E')
#define PALETTE_COUNT   256
#define PALETTE_SIZE   (256 * 3)
#define PALT_TAG   MKTAG('P', 'A', 'L', 'T')
#define SHOT_TAG   MKTAG('S', 'H', 'O', 'T')
#define SIZE_TAG   MKTAG('S', 'I', 'Z', 'E')
#define SOND_TAG   MKTAG('S', 'O', 'N', 'D')
#define TEXT_TAG   MKTAG('T', 'E', 'X', 'T')
#define VGA__TAG   MKTAG('V', 'G', 'A', ' ')
#define WC3_AUDIO_BITS   16
#define WC3_AUDIO_CHANNELS   1
#define WC3_DEFAULT_HEIGHT   165
#define WC3_DEFAULT_WIDTH   320
#define WC3_FRAME_PTS_INC   (90000 / 15)
#define WC3_PREAMBLE_SIZE   8
#define WC3_SAMPLE_RATE   22050

Functions

int wc3_init (void)
static int wc3_probe (AVProbeData *p)
static int wc3_read_close (AVFormatContext *s)
static int wc3_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int wc3_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

static AVInputFormat wc3_iformat
static const unsigned char wc3_pal_lookup []


Generated by  Doxygen 1.6.0   Back to index