#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
Go to the source code of this file.
|
static av_cold int | decode_end (AVCodecContext *avctx) |
|
static av_cold int | decode_init (AVCodecContext *avctx) |
|
static int | copy_block (AVCodecContext *avctx, uint8_t *to, uint8_t *from, int offset, int height, int stride) |
|
static void | draw_n_color (uint8_t *out, int stride, int width, int height, int bpp, uint8_t cols[4], uint8_t grps[4], uint32_t col) |
|
static int | decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
|
◆ WIDTH
Definition at line 44 of file c93.c.
◆ HEIGHT
Definition at line 45 of file c93.c.
◆ C93_HAS_PALETTE
#define C93_HAS_PALETTE 0x01 |
Definition at line 47 of file c93.c.
◆ C93_FIRST_FRAME
#define C93_FIRST_FRAME 0x02 |
Definition at line 48 of file c93.c.
◆ C93BlockType
Enumerator |
---|
C93_8X8_FROM_PREV | |
C93_4X4_FROM_PREV | |
C93_4X4_FROM_CURR | |
C93_8X8_2COLOR | |
C93_4X4_2COLOR | |
C93_4X4_4COLOR_GRP | |
C93_4X4_4COLOR | |
C93_NOOP | |
C93_8X8_INTRA | |
Definition at line 32 of file c93.c.
◆ decode_end()
Definition at line 50 of file c93.c.
◆ decode_init()
Definition at line 60 of file c93.c.
◆ copy_block()
static int copy_block |
( |
AVCodecContext * |
avctx, |
|
|
uint8_t * |
to, |
|
|
uint8_t * |
from, |
|
|
int |
offset, |
|
|
int |
height, |
|
|
int |
stride |
|
) |
| |
|
inlinestatic |
◆ draw_n_color()
static void draw_n_color |
( |
uint8_t * |
out, |
|
|
int |
stride, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
bpp, |
|
|
uint8_t |
cols[4], |
|
|
uint8_t |
grps[4], |
|
|
uint32_t |
col |
|
) |
| |
|
inlinestatic |
◆ decode_frame()
◆ ff_c93_decoder
Initial value:
Definition at line 266 of file c93.c.