| 
    FFmpeg
    
   | 
 
#include <stddef.h>#include "libavutil/channel_layout.h"#include "avcodec.h"#include "bytestream.h"#include "codec_internal.h"#include "decode.h"#include "get_bits.h"Go to the source code of this file.
Data Structures | |
| struct | SmackVContext | 
| struct | HuffEntry | 
| struct | HuffContext | 
| Context used for code reconstructing.  More... | |
| struct | DBCtx | 
Macros | |
| #define | SMKTREE_BITS 9 | 
| #define | SMK_NODE 0x80000000 | 
| #define | SMKTREE_DECODE_MAX_RECURSION FFMIN(32, 3 * SMKTREE_BITS) | 
| #define | SMKTREE_DECODE_BIG_MAX_RECURSION 500 | 
| #define | UNCHECKED_BITSTREAM_READER 1 | 
| #define | BITSTREAM_READER_LE | 
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] | 
| const FFCodec | ff_smacker_decoder | 
| const FFCodec | ff_smackaud_decoder | 
Smacker decoder
Definition in file smacker.c.
| #define SMKTREE_DECODE_MAX_RECURSION FFMIN(32, 3 * SMKTREE_BITS) | 
| enum SmkBlockTypes | 
      
  | 
  static | 
Decode local frame tree.
Can read SMKTREE_DECODE_MAX_RECURSION before the first check; does not overread gb on success.
Definition at line 110 of file smacker.c.
Referenced by smacker_decode_header_tree(), and smka_decode_frame().
      
  | 
  static | 
Decode header tree.
Checks before the first read, can overread by 6 * SMKTREE_BITS on success.
Definition at line 141 of file smacker.c.
Referenced by smacker_decode_header_tree().
      
  | 
  static | 
Store large tree as FFmpeg's vlc codes.
Can read FFMAX(1 + SMKTREE_DECODE_MAX_RECURSION, 2 + 3 * 16) bits before the first check; can overread by 6 * SMKTREE_BITS + 1 on success.
Definition at line 197 of file smacker.c.
Referenced by decode_header_trees().
      
  | 
  static | 
Definition at line 273 of file smacker.c.
Referenced by decode_init().
      
  | 
  static | 
Definition at line 345 of file smacker.c.
Referenced by decode_frame().
      
  | 
  static | 
Definition at line 351 of file smacker.c.
Referenced by decode_frame().
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Definition at line 88 of file smacker.c.
Referenced by decode_frame().
| const FFCodec ff_smacker_decoder | 
| const FFCodec ff_smackaud_decoder | 
 1.8.17