Xan video decoder for Wing Commander III computer game by Mario Brito (mbrit.nosp@m.o@st.nosp@m.udent.nosp@m..dei.nosp@m..uc.p.nosp@m.t) and Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t)
More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"
|
|
#define | BITSTREAM_READER_LE |
| |
|
#define | RUNTIME_GAMMA 0 |
| |
|
#define | VGA__TAG MKTAG('V', 'G', 'A', ' ') |
| |
|
#define | PALT_TAG MKTAG('P', 'A', 'L', 'T') |
| |
|
#define | SHOT_TAG MKTAG('S', 'H', 'O', 'T') |
| |
|
#define | PALETTE_COUNT 256 |
| |
|
#define | PALETTE_SIZE (PALETTE_COUNT * 3) |
| |
|
#define | PALETTES_MAX 256 |
| |
Xan video decoder for Wing Commander III computer game by Mario Brito (mbrit.nosp@m.o@st.nosp@m.udent.nosp@m..dei.nosp@m..uc.p.nosp@m.t) and Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t)
The xan_wc3 decoder outputs PAL8 data.
§ ff_xan_wc3_decoder
Initial value:= {
.name = "xan_wc3",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_XAN_WC3,
.init = xan_decode_init,
.close = xan_decode_end,
.decode = xan_decode_frame,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959