FFmpeg
Classes | Macros | Typedefs | Variables
wc3movie.c File Reference

Wing Commander III Movie file demuxer by Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t) for more information on the WC3 .mve file format, visit: http://www.pcisys.net/~melanson/codecs/. More...

#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "internal.h"

Classes

struct  Wc3DemuxContext
 

Macros

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

Typedefs

typedef struct Wc3DemuxContext Wc3DemuxContext
 

Variables

AVInputFormat ff_wc3_demuxer
 

Detailed Description

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

Variable Documentation

§ ff_wc3_demuxer

AVInputFormat ff_wc3_demuxer
Initial value:
= {
.name = "wc3movie",
.long_name = NULL_IF_CONFIG_SMALL("Wing Commander III movie"),
.priv_data_size = sizeof(Wc3DemuxContext),
.read_probe = wc3_probe,
.read_header = wc3_read_header,
.read_packet = wc3_read_packet,
.read_close = wc3_read_close,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: wc3movie.c:65