| FFmpeg
    | 
#include "libavutil/intreadwrite.h"#include "avcodec.h"#include "bytestream.h"#include "codec_internal.h"#include "decode.h"Go to the source code of this file.
| Data Structures | |
| struct | MmContext | 
| Macros | |
| #define | MM_PREAMBLE_SIZE 6 | 
| #define | MM_TYPE_RAW 0x2 | 
| #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_PALETTE 0x31 | 
| Functions | |
| static av_cold int | mm_decode_init (AVCodecContext *avctx) | 
| static int | mm_decode_raw (MmContext *s) | 
| static void | mm_decode_pal (MmContext *s) | 
| static int | mm_decode_intra (MmContext *s, int half_horiz, int half_vert) | 
| static int | mm_decode_inter (MmContext *s, int half_horiz, int half_vert) | 
| static int | mm_decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) | 
| static av_cold int | mm_decode_end (AVCodecContext *avctx) | 
| Variables | |
| const FFCodec | ff_mmvideo_decoder | 
American Laser Games MM Video Decoder by Peter Ross (pross@xvid.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.
| 
 | static | 
| 
 | static | 
Definition at line 80 of file mmvideo.c.
Referenced by mm_decode_frame().
| 
 | static | 
Definition at line 89 of file mmvideo.c.
Referenced by mm_decode_frame().
| 
 | static | 
| half_horiz | Half horizontal resolution (0 or 1) | 
| half_vert | Half vertical resolution (0 or 1) | 
Definition at line 101 of file mmvideo.c.
Referenced by mm_decode_frame().
| 
 | static | 
| half_horiz | Half horizontal resolution (0 or 1) | 
| half_vert | Half vertical resolution (0 or 1) | 
Definition at line 145 of file mmvideo.c.
Referenced by mm_decode_frame().
| 
 | static | 
| 
 | static | 
| const FFCodec ff_mmvideo_decoder | 
 1.8.17
 1.8.17