FFmpeg
Macros | Variables
mpc8huff.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define MPC8_MAX_VLC_SIZE   256
 
#define MPC8_BANDS_SIZE   33
 
#define MPC8_BANDS_BITS   9
 
#define MPC8_DSCF0_BITS   9
 
#define MPC8_DSCF1_BITS   9
 
#define MPC8_RES_BITS   9
 
#define MPC8_Q1_BITS   9
 
#define MPC8_Q9UP_BITS   9
 
#define MPC8_Q2_BITS   9
 
#define MPC8_Q3_BITS   9
 
#define MPC8_Q4_BITS   9
 

Variables

static const uint8_t mpc8_bands_syms [MPC8_BANDS_SIZE]
 
static const uint8_t mpc8_bands_len_counts [16]
 
static const uint8_t mpc8_scfi_syms []
 
static const uint8_t mpc8_scfi_len_counts [2][16]
 
static const uint8_t mpc8_dscf_syms []
 
static const uint8_t mpc8_dscf_len_counts [2][16]
 
static const uint8_t mpc8_res_syms []
 
static const uint8_t mpc8_res_len_counts [2][16]
 
static const uint8_t mpc8_q1_len_counts [16]
 
static const uint8_t mpc8_q9up_len_counts [16]
 
static const uint8_t mpc8_q2_len_counts [2][16]
 
static const uint8_t mpc8_q34_len_counts [2][16]
 
static const uint8_t mpc8_q5_8_len_counts [2][4][16]
 
static const uint8_t mpc8_q_syms []
 

Macro Definition Documentation

◆ MPC8_MAX_VLC_SIZE

#define MPC8_MAX_VLC_SIZE   256

Definition at line 27 of file mpc8huff.h.

◆ MPC8_BANDS_SIZE

#define MPC8_BANDS_SIZE   33

Definition at line 29 of file mpc8huff.h.

◆ MPC8_BANDS_BITS

#define MPC8_BANDS_BITS   9

Definition at line 30 of file mpc8huff.h.

◆ MPC8_DSCF0_BITS

#define MPC8_DSCF0_BITS   9

Definition at line 52 of file mpc8huff.h.

◆ MPC8_DSCF1_BITS

#define MPC8_DSCF1_BITS   9

Definition at line 53 of file mpc8huff.h.

◆ MPC8_RES_BITS

#define MPC8_RES_BITS   9

Definition at line 73 of file mpc8huff.h.

◆ MPC8_Q1_BITS

#define MPC8_Q1_BITS   9

Definition at line 87 of file mpc8huff.h.

◆ MPC8_Q9UP_BITS

#define MPC8_Q9UP_BITS   9

Definition at line 93 of file mpc8huff.h.

◆ MPC8_Q2_BITS

#define MPC8_Q2_BITS   9

Definition at line 99 of file mpc8huff.h.

◆ MPC8_Q3_BITS

#define MPC8_Q3_BITS   9

Definition at line 106 of file mpc8huff.h.

◆ MPC8_Q4_BITS

#define MPC8_Q4_BITS   9

Definition at line 107 of file mpc8huff.h.

Variable Documentation

◆ mpc8_bands_syms

const uint8_t mpc8_bands_syms[MPC8_BANDS_SIZE]
static
Initial value:
= {
13, 19, 10, 11, 12, 14, 15, 16, 17, 18, 20, 21, 22, 9, 23, 24, 25, 8, 26,
27, 7, 28, 5, 6, 29, 4, 3, 30, 2, 31, 1, 32, 0
}

Definition at line 32 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_bands_len_counts

const uint8_t mpc8_bands_len_counts[16]
static
Initial value:
= {
1, 1, 1, 0, 2, 2, 1, 3, 2, 3, 4, 11, 2, 0, 0, 0
}

Definition at line 36 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_scfi_syms

const uint8_t mpc8_scfi_syms[]
static
Initial value:
= {
0, 1, 3, 2,
1, 4, 0, 2, 3, 8, 12, 5, 6, 7, 9, 13, 11, 14, 10, 15
}

Definition at line 40 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_scfi_len_counts

const uint8_t mpc8_scfi_len_counts[2][16]
static
Initial value:
= {
{ 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 2, 2, 0, 5, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 47 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_dscf_syms

const uint8_t mpc8_dscf_syms[]
static
Initial value:
= {
58, 59, 60, 61, 62, 63, 55, 56, 57, 0, 1, 2, 53, 54, 3, 4, 5, 50, 51,
52, 6, 7, 8, 9, 10, 31, 47, 48, 49, 11, 12, 13, 14, 44, 45, 46, 15, 16,
17, 18, 41, 42, 43, 19, 20, 21, 22, 40, 23, 24, 38, 39, 25, 28, 37, 26, 27,
29, 30, 32, 36, 33, 34, 35,
0, 59, 60, 61, 62, 63, 1, 2, 56, 57, 58, 3, 4, 5, 53, 54, 55, 6, 7,
8, 9, 49, 50, 51, 52, 64, 10, 11, 12, 13, 46, 47, 48, 14, 15, 16, 17, 43,
44, 45, 18, 19, 20, 41, 42, 21, 22, 39, 40, 23, 24, 38, 25, 37, 26, 35, 36,
27, 28, 34, 29, 30, 31, 32, 33,
}

Definition at line 55 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_dscf_len_counts

const uint8_t mpc8_dscf_len_counts[2][16]
static
Initial value:
= {
{ 0, 0, 3, 6, 3, 4, 5, 7, 7, 9, 6, 5, 3, 6, 0, 0 },
{ 0, 0, 5, 3, 3, 2, 3, 4, 5, 7, 7, 9, 6, 5, 6, 0 },
}

Definition at line 68 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_res_syms

const uint8_t mpc8_res_syms[]
static
Initial value:
= {
13, 14, 12, 11, 10, 9, 8, 7, 6, 15, 5, 4, 3, 2, 16, 1, 0,
8, 9, 10, 11, 7, 12, 6, 13, 5, 4, 14, 3, 15, 2, 0, 1, 16,
}

Definition at line 75 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_res_len_counts

const uint8_t mpc8_res_len_counts[2][16]
static
Initial value:
= {
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2 },
{ 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 4, 0, 0 },
}

Definition at line 82 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_q1_len_counts

const uint8_t mpc8_q1_len_counts[16]
static
Initial value:
= {
0, 0, 5, 5, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0
}

Definition at line 89 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_q9up_len_counts

const uint8_t mpc8_q9up_len_counts[16]
static
Initial value:
= {
0, 0, 0, 0, 0, 2, 38, 134, 71, 9, 2, 0, 0, 0, 0, 0
}

Definition at line 95 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_q2_len_counts

const uint8_t mpc8_q2_len_counts[2][16]
static
Initial value:
= {
{ 0, 0, 1, 6, 0, 17, 9, 24, 24, 9, 27, 4, 4, 0, 0, 0 },
{ 0, 0, 0, 1, 16, 10, 6, 48, 9, 27, 4, 4, 0, 0, 0, 0 },
}

Definition at line 101 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_q34_len_counts

const uint8_t mpc8_q34_len_counts[2][16]
static
Initial value:
= {
{ 0, 0, 1, 6, 6, 11, 13, 8, 4, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 1, 12, 23, 14, 19, 8, 4, 0, 0, 0, 0, 0, 0 },
}

Definition at line 109 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_q5_8_len_counts

const uint8_t mpc8_q5_8_len_counts[2][4][16]
static
Initial value:
= {
{
{ 0, 1, 4, 2, 2, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 1, 2, 4, 3, 7, 2, 4, 8, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 1, 2, 2, 4, 6, 10, 10, 12, 16, 0, 0, 0, 0, 0, 0 },
{ 0, 1, 2, 1, 3, 8, 8, 15, 24, 42, 17, 6, 0, 0, 0, 0 },
},
{
{ 0, 0, 5, 4, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 11, 6, 4, 6, 4, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 20, 15, 10, 14, 4, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 26, 55, 38, 8, 0, 0, 0, 0, 0, 0, 0 },
}
}

Definition at line 114 of file mpc8huff.h.

Referenced by mpc8_init_static().

◆ mpc8_q_syms

const uint8_t mpc8_q_syms[]
static

Definition at line 129 of file mpc8huff.h.

Referenced by mpc8_init_static().