#include "avcodec.h"
#include "get_bits.h"
#include "internal.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, 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 56 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 escape124_decode_frame().
Initial value:= {
.name = "escape124",
}
static av_cold int init(AVCodecContext *avctx)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int escape124_decode_close(AVCodecContext *avctx)
static av_cold int escape124_decode_init(AVCodecContext *avctx)
Initialize the decoder.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static int escape124_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition at line 379 of file escape124.c.