American Laser Games MM Video Decoder by Peter Ross (pross.nosp@m.@xvi.nosp@m.d.org)
More...
Go to the source code of this file.
American Laser Games MM Video Decoder 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
Definition in file mmvideo.c.
◆ MM_PREAMBLE_SIZE
#define MM_PREAMBLE_SIZE 6 |
◆ MM_TYPE_INTER
#define MM_TYPE_INTER 0x5 |
◆ MM_TYPE_INTRA
#define MM_TYPE_INTRA 0x8 |
◆ MM_TYPE_INTRA_HH
#define MM_TYPE_INTRA_HH 0xc |
◆ MM_TYPE_INTER_HH
#define MM_TYPE_INTER_HH 0xd |
◆ MM_TYPE_INTRA_HHV
#define MM_TYPE_INTRA_HHV 0xe |
◆ MM_TYPE_INTER_HHV
#define MM_TYPE_INTER_HHV 0xf |
◆ MM_TYPE_PALETTE
#define MM_TYPE_PALETTE 0x31 |
◆ mm_decode_init()
◆ mm_decode_pal()
◆ mm_decode_intra()
- Parameters
-
half_horiz | Half horizontal resolution (0 or 1) |
half_vert | Half vertical resolution (0 or 1) |
Definition at line 93 of file mmvideo.c.
Referenced by mm_decode_frame().
◆ mm_decode_inter()
- Parameters
-
half_horiz | Half horizontal resolution (0 or 1) |
half_vert | Half vertical resolution (0 or 1) |
Definition at line 137 of file mmvideo.c.
Referenced by mm_decode_frame().
◆ mm_decode_frame()
◆ mm_decode_end()
◆ ff_mmvideo_decoder
Initial value:= {
.name = "mmvideo",
}
static av_cold int init(AVCodecContext *avctx)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int mm_decode_init(AVCodecContext *avctx)
static av_cold int mm_decode_end(AVCodecContext *avctx)
static int mm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition at line 241 of file mmvideo.c.