FFmpeg
|
Smacker decoder. More...
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
Go to the source code of this file.
Data Structures | |
struct | SmackVContext |
struct | HuffContext |
Context used for code reconstructing. More... | |
struct | DBCtx |
Macros | |
#define | BITSTREAM_READER_LE |
#define | SMKTREE_BITS 9 |
#define | SMK_NODE 0x80000000 |
#define | SMKTREE_DECODE_MAX_RECURSION 32 |
#define | SMKTREE_DECODE_BIG_MAX_RECURSION 500 |
Enumerations | |
enum | SmkBlockTypes { SMK_BLK_MONO = 0, SMK_BLK_FULL = 1, SMK_BLK_SKIP = 2, SMK_BLK_FILL = 3 } |
Variables | |
static const int | block_runs [64] |
AVCodec | ff_smacker_decoder |
AVCodec | ff_smackaud_decoder |
Smacker decoder.
Definition in file smacker.c.
#define SMKTREE_BITS 9 |
Definition at line 43 of file smacker.c.
Referenced by smacker_decode_bigtree(), smacker_decode_header_tree(), smacker_decode_tree(), and smka_decode_frame().
#define SMK_NODE 0x80000000 |
Definition at line 44 of file smacker.c.
Referenced by smacker_decode_bigtree(), and smk_get_code().
#define SMKTREE_DECODE_MAX_RECURSION 32 |
Definition at line 46 of file smacker.c.
Referenced by smacker_decode_tree().
#define SMKTREE_DECODE_BIG_MAX_RECURSION 500 |
Definition at line 47 of file smacker.c.
Referenced by smacker_decode_bigtree().
enum SmkBlockTypes |
|
static |
Decode local frame tree.
Definition at line 98 of file smacker.c.
Referenced by smacker_decode_header_tree(), and smka_decode_frame().
|
static |
Decode header tree.
Definition at line 135 of file smacker.c.
Referenced by smacker_decode_header_tree().
|
static |
Store large tree as FFmpeg's vlc codes.
Definition at line 187 of file smacker.c.
Referenced by decode_header_trees().
|
static |
Definition at line 319 of file smacker.c.
Referenced by decode_init().
|
static |
Definition at line 384 of file smacker.c.
Referenced by decode_frame().
|
static |
Definition at line 389 of file smacker.c.
Referenced by decode_frame().
|
static |
|
static |
Definition at line 561 of file smacker.c.
Referenced by decode_init().
|
static |
|
static |
|
static |
|
static |
Definition at line 79 of file smacker.c.
Referenced by decode_frame().
AVCodec ff_smacker_decoder |
AVCodec ff_smackaud_decoder |