CD Graphics Video Decoder.
More...
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
|
|
#define | CDG_FULL_WIDTH 300 |
| | default screen sizes
|
| |
|
#define | CDG_FULL_HEIGHT 216 |
| |
|
#define | CDG_DISPLAY_WIDTH 294 |
| |
|
#define | CDG_DISPLAY_HEIGHT 204 |
| |
|
#define | CDG_BORDER_WIDTH 6 |
| |
|
#define | CDG_BORDER_HEIGHT 12 |
| |
|
#define | CDG_COMMAND 0x09 |
| | masks
|
| |
|
#define | CDG_MASK 0x3F |
| |
|
#define | CDG_INST_MEMORY_PRESET 1 |
| | instruction codes
|
| |
|
#define | CDG_INST_BORDER_PRESET 2 |
| |
|
#define | CDG_INST_TILE_BLOCK 6 |
| |
|
#define | CDG_INST_SCROLL_PRESET 20 |
| |
|
#define | CDG_INST_SCROLL_COPY 24 |
| |
|
#define | CDG_INST_TRANSPARENT_COL 28 |
| |
|
#define | CDG_INST_LOAD_PAL_LO 30 |
| |
|
#define | CDG_INST_LOAD_PAL_HIGH 31 |
| |
|
#define | CDG_INST_TILE_BLOCK_XOR 38 |
| |
|
#define | CDG_PACKET_SIZE 24 |
| | data sizes
|
| |
|
#define | CDG_DATA_SIZE 16 |
| |
|
#define | CDG_TILE_HEIGHT 12 |
| |
|
#define | CDG_TILE_WIDTH 6 |
| |
|
#define | CDG_MINIMUM_PKT_SIZE 6 |
| |
|
#define | CDG_MINIMUM_SCROLL_SIZE 3 |
| |
|
#define | CDG_HEADER_SIZE 8 |
| |
|
#define | CDG_PALETTE_SIZE 16 |
| |
|
#define | UP 2 |
| |
|
#define | DOWN 1 |
| |
|
#define | LEFT 2 |
| |
|
#define | RIGHT 1 |
| |
§ ff_cdgraphics_decoder
Initial value:= {
.name = "cdgraphics",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_CDGRAPHICS,
.init = cdg_decode_init,
.close = cdg_decode_end,
.decode = cdg_decode_frame,
}
Definition: cdgraphics.c:67
#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