Go to the source code of this file.
|
static av_cold int | sga_decode_init (AVCodecContext *avctx) |
|
static int | decode_palette (GetByteContext *gb, uint32_t *pal) |
|
static int | decode_index_palmap (SGAVideoContext *s, AVFrame *frame) |
|
static int | decode_index_tilemap (SGAVideoContext *s, AVFrame *frame) |
|
static int | decode_index (SGAVideoContext *s, AVFrame *frame) |
|
static int | lzss_decompress (AVCodecContext *avctx, GetByteContext *gb, uint8_t *dst, int dst_size, int shift, int plus) |
|
static int | decode_palmapdata (AVCodecContext *avctx) |
|
static int | decode_tiledata (AVCodecContext *avctx) |
|
static int | sga_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | sga_decode_end (AVCodecContext *avctx) |
|
◆ PALDATA_FOLLOWS_TILEDATA
#define PALDATA_FOLLOWS_TILEDATA 4 |
Definition at line 28 of file sga.c.
◆ HAVE_COMPRESSED_TILEMAP
#define HAVE_COMPRESSED_TILEMAP 32 |
Definition at line 29 of file sga.c.
◆ HAVE_TILEMAP
Definition at line 30 of file sga.c.
◆ sga_decode_init()
Definition at line 61 of file sga.c.
◆ decode_palette()
◆ decode_index_palmap()
◆ decode_index_tilemap()
◆ decode_index()
◆ lzss_decompress()
◆ decode_palmapdata()
◆ decode_tiledata()
◆ sga_decode_frame()
◆ sga_decode_end()
◆ ff_sga_decoder
Initial value:= {
.name = "sga",
}
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 FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
static av_cold int sga_decode_end(AVCodecContext *avctx)
static av_cold int sga_decode_init(AVCodecContext *avctx)
static int sga_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 523 of file sga.c.