#include "libavutil/mem.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
Go to the source code of this file.
|
static av_cold int | escape124_decode_init (AVCodecContext *avctx) |
| Initialize the decoder. More...
|
|
static av_cold int | escape124_decode_close (AVCodecContext *avctx) |
|
static CodeBook | unpack_codebook (GetBitContext *gb, unsigned depth, unsigned size) |
|
static unsigned | decode_skip_count (GetBitContext *gb) |
|
static MacroBlock | decode_macroblock (Escape124Context *s, GetBitContext *gb, int *codebook_index, int superblock_index) |
|
static void | insert_mb_into_sb (SuperBlock *sb, MacroBlock mb, unsigned index) |
|
static void | copy_superblock (uint16_t *dest, ptrdiff_t dest_stride, uint16_t *src, ptrdiff_t src_stride) |
|
static int | escape124_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
|
◆ BITSTREAM_READER_LE
#define BITSTREAM_READER_LE |
◆ escape124_decode_init()
Initialize the decoder.
- Parameters
-
- Returns
- 0 success, negative on error
Definition at line 58 of file escape124.c.
◆ escape124_decode_close()
◆ unpack_codebook()
◆ decode_skip_count()
◆ decode_macroblock()
◆ insert_mb_into_sb()
◆ copy_superblock()
static void copy_superblock |
( |
uint16_t * |
dest, |
|
|
ptrdiff_t |
dest_stride, |
|
|
uint16_t * |
src, |
|
|
ptrdiff_t |
src_stride |
|
) |
| |
|
static |
◆ escape124_decode_frame()
◆ mask_matrix
const uint16_t mask_matrix[] |
|
static |
Initial value:= {0x1, 0x2, 0x10, 0x20,
0x4, 0x8, 0x40, 0x80,
0x100, 0x200, 0x1000, 0x2000,
0x400, 0x800, 0x4000, 0x8000}
Definition at line 187 of file escape124.c.
Referenced by escape124_decode_frame().
◆ ff_escape124_decoder
Initial value:= {
.p.name = "escape124",
}
Definition at line 375 of file escape124.c.