Encoder  4.4
VC-5 Sample Encoder
codeset.h
Go to the documentation of this file.
1 
11 #ifndef _CODESET_H
12 #define _CODESET_H
13 
25 typedef enum _codeset_flags
26 {
29 
31 
32 
41 typedef struct codeset {
42  const char *title;
43  const CODEBOOK *codebook;
44 #if _ENCODER
47 #endif
48  uint32_t flags;
49 
50 } CODESET;
51 
52 //TODO: Need to support other codesets in the reference decoder?
53 extern CODESET cs17;
54 
55 #endif
Table of codewords for coefficient magnitudes.
Definition: vlc.h:90
CODESET cs17
Define the codeset used by the reference codec.
Definition: codeset.c:27
Table of codewords for runs of zeros.
Definition: vlc.h:127
const CODEBOOK * codebook
Codebook for runs and magnitudes.
Definition: codeset.h:43
Do not apply a companding curve.
Definition: codeset.h:27
const RUNS_TABLE * runs_table
Table for encoding runs of zeros.
Definition: codeset.h:46
struct codeset CODESET
enum _codeset_flags CODESET_FLAGS
Codeset flags that determine how the codebook is used for encoding.
uint32_t flags
Encoding flags (see the codeset flags)
Definition: codeset.h:48
const MAGS_TABLE * mags_table
Table for encoding coefficient magnitudes.
Definition: codeset.h:45
Apply a cubic companding curve.
Definition: codeset.h:28
Definition: codeset.h:41
Declaration of a codebook.
Definition: vlc.h:52
_codeset_flags
Codeset flags that determine how the codebook is used for encoding.
Definition: codeset.h:25
const char * title
Identifying string for the codeset.
Definition: codeset.h:42