Interplay MVE Video Decoder by Mike Melanson (melan) For more information about the Interplay MVE format, visit: son@ pcisy s.ne thttp://www.pcisys.net/~melanson/codecs/interplay-mve.txt This code is written in such a way that the identifiers match up with the encoding descriptions in the document. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "avcodec.h"
#include "bytestream.h"
#include "dsputil.h"
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | IpvideoContext |
Macros | |
#define | BITSTREAM_READER_LE |
#define | PALETTE_COUNT 256 |
#define | CHECK_STREAM_PTR(stream_ptr, stream_end, n) |
Typedefs | |
typedef struct IpvideoContext | IpvideoContext |
Variables | |
static int(*const | ipvideo_decode_block [])(IpvideoContext *s) |
static int(*const | ipvideo_decode_block16 [])(IpvideoContext *s) |
AVCodec | ff_interplay_video_decoder |
Interplay MVE Video Decoder by Mike Melanson (melan) For more information about the Interplay MVE format, visit: son@ pcisy s.ne thttp://www.pcisys.net/~melanson/codecs/interplay-mve.txt This code is written in such a way that the identifiers match up with the encoding descriptions in the document.
This decoder presently only supports a PAL8 output colorspace.
An Interplay video frame consists of 2 parts: The decoding map and the video data. A demuxer must load these 2 parts together in a single buffer before sending it through the stream to this decoder.
Definition in file interplayvideo.c.
#define BITSTREAM_READER_LE |
Definition at line 44 of file interplayvideo.c.
#define CHECK_STREAM_PTR | ( | stream_ptr, | |
stream_end, | |||
n | |||
) |
Definition at line 75 of file interplayvideo.c.
Referenced by ipvideo_decode_block_opcode_0x2(), ipvideo_decode_block_opcode_0x3(), ipvideo_decode_block_opcode_0x4(), ipvideo_decode_block_opcode_0x5(), ipvideo_decode_block_opcode_0x6_16(), ipvideo_decode_block_opcode_0x7(), ipvideo_decode_block_opcode_0x7_16(), ipvideo_decode_block_opcode_0x8(), ipvideo_decode_block_opcode_0x8_16(), ipvideo_decode_block_opcode_0x9(), ipvideo_decode_block_opcode_0x9_16(), ipvideo_decode_block_opcode_0xA(), ipvideo_decode_block_opcode_0xA_16(), ipvideo_decode_block_opcode_0xB(), ipvideo_decode_block_opcode_0xB_16(), ipvideo_decode_block_opcode_0xC(), ipvideo_decode_block_opcode_0xC_16(), ipvideo_decode_block_opcode_0xD(), ipvideo_decode_block_opcode_0xD_16(), ipvideo_decode_block_opcode_0xE(), ipvideo_decode_block_opcode_0xE_16(), and ipvideo_decode_block_opcode_0xF().
#define PALETTE_COUNT 256 |
Definition at line 47 of file interplayvideo.c.
typedef struct IpvideoContext IpvideoContext |
|
static |
Definition at line 82 of file interplayvideo.c.
Referenced by decode_frame(), ipvideo_decode_block_opcode_0x0(), ipvideo_decode_block_opcode_0x1(), ipvideo_decode_block_opcode_0x2(), ipvideo_decode_block_opcode_0x3(), ipvideo_decode_block_opcode_0x4(), ipvideo_decode_block_opcode_0x5(), and ipvideo_decode_block_opcode_0x6_16().
|
static |
Definition at line 104 of file interplayvideo.c.
|
static |
Definition at line 109 of file interplayvideo.c.
|
static |
Definition at line 114 of file interplayvideo.c.
|
static |
Definition at line 140 of file interplayvideo.c.
|
static |
Definition at line 168 of file interplayvideo.c.
|
static |
Definition at line 191 of file interplayvideo.c.
|
static |
Definition at line 206 of file interplayvideo.c.
|
static |
Definition at line 573 of file interplayvideo.c.
|
static |
Definition at line 215 of file interplayvideo.c.
|
static |
Definition at line 587 of file interplayvideo.c.
|
static |
Definition at line 260 of file interplayvideo.c.
|
static |
Definition at line 630 of file interplayvideo.c.
|
static |
Definition at line 337 of file interplayvideo.c.
|
static |
Definition at line 709 of file interplayvideo.c.
|
static |
Definition at line 411 of file interplayvideo.c.
|
static |
Definition at line 784 of file interplayvideo.c.
|
static |
Definition at line 473 of file interplayvideo.c.
|
static |
Definition at line 847 of file interplayvideo.c.
|
static |
Definition at line 490 of file interplayvideo.c.
|
static |
Definition at line 865 of file interplayvideo.c.
|
static |
Definition at line 511 of file interplayvideo.c.
|
static |
Definition at line 887 of file interplayvideo.c.
|
static |
Definition at line 533 of file interplayvideo.c.
|
static |
Definition at line 910 of file interplayvideo.c.
|
static |
Definition at line 551 of file interplayvideo.c.
|
static |
Definition at line 1078 of file interplayvideo.c.
|
static |
Definition at line 1028 of file interplayvideo.c.
|
static |
Definition at line 1011 of file interplayvideo.c.
|
static |
Definition at line 952 of file interplayvideo.c.
Referenced by ipvideo_decode_frame().
AVCodec ff_interplay_video_decoder |
Definition at line 1091 of file interplayvideo.c.
|
static |
Definition at line 930 of file interplayvideo.c.
Referenced by ipvideo_decode_opcodes().
|
static |
Definition at line 941 of file interplayvideo.c.
Referenced by ipvideo_decode_opcodes().