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

ipmovie.c File Reference


Detailed Description

Interplay MVE file demuxer by Mike Melanson (melanson@pcisys.net) For more information regarding the Interplay MVE file format, visit: http://www.pcisys.net/~melanson/codecs/ The aforementioned site also contains a command line utility for parsing IP MVE files so that you can get a good idea of the typical structure of such files. This demuxer is not the best example to use if you are trying to write your own as it uses a rather roundabout approach for splitting up and sending out the chunks.

Definition in file ipmovie.c.

#include "avformat.h"

Go to the source code of this file.

Classes

struct  IPMVEContext

Defines

#define CHUNK_AUDIO_ONLY   0x0001
#define CHUNK_BAD   0xFFFF
#define CHUNK_DONE   0xFFFC
#define CHUNK_END   0x0005
#define CHUNK_EOF   0xFFFE
#define CHUNK_INIT_AUDIO   0x0000
#define CHUNK_INIT_VIDEO   0x0002
#define CHUNK_NOMEM   0xFFFD
#define CHUNK_PREAMBLE_SIZE   4
#define CHUNK_SHUTDOWN   0x0004
#define CHUNK_VIDEO   0x0003
#define DEBUG_IPMOVIE   0
#define IPMOVIE_SIGNATURE   "Interplay MVE File\x1A\0"
#define IPMOVIE_SIGNATURE_SIZE   20
#define OPCODE_AUDIO_FRAME   0x08
#define OPCODE_CREATE_GRADIENT   0x0B
#define OPCODE_CREATE_TIMER   0x02
#define OPCODE_END_OF_CHUNK   0x01
#define OPCODE_END_OF_STREAM   0x00
#define OPCODE_INIT_AUDIO_BUFFERS   0x03
#define OPCODE_INIT_VIDEO_BUFFERS   0x05
#define OPCODE_INIT_VIDEO_MODE   0x0A
#define OPCODE_PREAMBLE_SIZE   4
#define OPCODE_SEND_BUFFER   0x07
#define OPCODE_SET_DECODING_MAP   0x0F
#define OPCODE_SET_PALETTE   0x0C
#define OPCODE_SET_PALETTE_COMPRESSED   0x0D
#define OPCODE_SILENCE_FRAME   0x09
#define OPCODE_START_STOP_AUDIO   0x04
#define OPCODE_UNKNOWN_06   0x06
#define OPCODE_UNKNOWN_0E   0x0E
#define OPCODE_UNKNOWN_10   0x10
#define OPCODE_UNKNOWN_12   0x12
#define OPCODE_UNKNOWN_13   0x13
#define OPCODE_UNKNOWN_14   0x14
#define OPCODE_UNKNOWN_15   0x15
#define OPCODE_VIDEO_DATA   0x11
#define PALETTE_COUNT   256

Functions

static void debug_ipmovie (const char *format,...)
int ipmovie_init (void)
static int ipmovie_probe (AVProbeData *p)
static int ipmovie_read_close (AVFormatContext *s)
static int ipmovie_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int ipmovie_read_packet (AVFormatContext *s, AVPacket *pkt)
static int load_ipmovie_packet (IPMVEContext *s, ByteIOContext *pb, AVPacket *pkt)
static int process_ipmovie_chunk (IPMVEContext *s, ByteIOContext *pb, AVPacket *pkt)

Variables

static AVInputFormat ipmovie_iformat


Generated by  Doxygen 1.6.0   Back to index