#include "avcodec.h"
#include "internal.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.
|
|
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, unsigned dest_stride, uint16_t *src, unsigned src_stride) |
|
static int | escape124_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
#define BITSTREAM_READER_LE |
Initialize the decoder.
- Parameters
-
- Returns
- 0 success, negative on error
Definition at line 57 of file escape124.c.
static void copy_superblock |
( |
uint16_t * |
dest, |
|
|
unsigned |
dest_stride, |
|
|
uint16_t * |
src, |
|
|
unsigned |
src_stride |
|
) |
| |
|
static |
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 193 of file escape124.c.
Referenced by compute_mask_matrix(), escape124_decode_frame(), and generate_mask().
Initial value:= {
.name = "escape124",
}
Definition at line 366 of file escape124.c.