OpenFFmpeg
Classes | Macros | Typedefs | Variables
mm.c File Reference

American Laser Games MM Format Demuxer by Peter Ross (pross.nosp@m.@xvi.nosp@m.d.org) More...

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

Classes

struct  MmDemuxContext
 

Macros

#define MM_PREAMBLE_SIZE   6
 
#define MM_TYPE_HEADER   0x0
 
#define MM_TYPE_INTER   0x5
 
#define MM_TYPE_INTRA   0x8
 
#define MM_TYPE_INTRA_HH   0xc
 
#define MM_TYPE_INTER_HH   0xd
 
#define MM_TYPE_INTRA_HHV   0xe
 
#define MM_TYPE_INTER_HHV   0xf
 
#define MM_TYPE_AUDIO   0x15
 
#define MM_TYPE_PALETTE   0x31
 
#define MM_HEADER_LEN_V   0x16 /* video only */
 
#define MM_HEADER_LEN_AV   0x18 /* video + audio */
 
#define MM_PALETTE_COUNT   128
 
#define MM_PALETTE_SIZE   (MM_PALETTE_COUNT*3)
 

Typedefs

typedef struct MmDemuxContext MmDemuxContext
 

Variables

AVInputFormat ff_mm_demuxer
 

Detailed Description

American Laser Games MM Format Demuxer by Peter Ross (pross.nosp@m.@xvi.nosp@m.d.org)

The MM format was used by IBM-PC ports of ALG's "arcade shooter" games, including Mad Dog McCree and Crime Patrol.

Technical details here: http://wiki.multimedia.cx/index.php?title=American_Laser_Games_MM

Variable Documentation

§ ff_mm_demuxer

AVInputFormat ff_mm_demuxer
Initial value:
= {
.name = "mm",
.long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM"),
.priv_data_size = sizeof(MmDemuxContext),
.read_probe = probe,
.read_header = read_header,
.read_packet = read_packet,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: mm.c:57