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

Go to the source code of this file.

Macros

#define MPC8_BANDS_SIZE   33
 
#define MPC8_BANDS_BITS   9
 
#define MPC8_SCFI0_SIZE   4
 
#define MPC8_SCFI0_BITS   3
 
#define MPC8_SCFI1_SIZE   16
 
#define MPC8_SCFI1_BITS   7
 
#define MPC8_DSCF0_SIZE   64
 
#define MPC8_DSCF0_BITS   9
 
#define MPC8_DSCF1_SIZE   65
 
#define MPC8_DSCF1_BITS   9
 
#define MPC8_RES_SIZE   17
 
#define MPC8_RES_BITS   9
 
#define MPC8_Q1_SIZE   19
 
#define MPC8_Q1_BITS   9
 
#define MPC8_Q9UP_SIZE   256
 
#define MPC8_Q9UP_BITS   9
 
#define MPC8_Q2_SIZE   125
 
#define MPC8_Q2_BITS   9
 
#define MPC8_Q3_SIZE   49
 
#define MPC8_Q3_BITS   9
 
#define MPC8_Q3_OFFSET   -48
 
#define MPC8_Q4_SIZE   81
 
#define MPC8_Q4_BITS   9
 
#define MPC8_Q4_OFFSET   -64
 
#define MPC8_Q5_SIZE   15
 
#define MPC8_Q5_BITS   7
 
#define MPC8_Q5_OFFSET   -7
 
#define MPC8_Q6_SIZE   31
 
#define MPC8_Q6_BITS   9
 
#define MPC8_Q6_OFFSET   -15
 
#define MPC8_Q7_SIZE   63
 
#define MPC8_Q7_BITS   9
 
#define MPC8_Q7_OFFSET   -31
 
#define MPC8_Q8_SIZE   127
 
#define MPC8_Q8_BITS   9
 
#define MPC8_Q8_OFFSET   -63
 

Variables

static const uint8_t mpc8_bands_codes [MPC8_BANDS_SIZE]
 
static const int8_t mpc8_bands_bits [MPC8_BANDS_SIZE]
 
static const uint8_t mpc8_scfi0_codes [MPC8_SCFI0_SIZE]
 
static const int8_t mpc8_scfi0_bits [MPC8_SCFI0_SIZE]
 
static const uint8_t mpc8_scfi1_codes [MPC8_SCFI1_SIZE]
 
static const int8_t mpc8_scfi1_bits [MPC8_SCFI1_SIZE]
 
static const uint8_t mpc8_dscf0_codes [MPC8_DSCF0_SIZE]
 
static const int8_t mpc8_dscf0_bits [MPC8_DSCF0_SIZE]
 
static const uint8_t mpc8_dscf1_codes [MPC8_DSCF1_SIZE]
 
static const int8_t mpc8_dscf1_bits [MPC8_DSCF1_SIZE]
 
static const uint8_t mpc8_res_codes [2][MPC8_RES_SIZE]
 
static const int8_t mpc8_res_bits [2][MPC8_RES_SIZE]
 
static const uint8_t mpc8_q1_codes [MPC8_Q1_SIZE]
 
static const int8_t mpc8_q1_bits [MPC8_Q1_SIZE]
 
static const uint8_t mpc8_q9up_codes [MPC8_Q9UP_SIZE]
 
static const int8_t mpc8_q9up_bits [MPC8_Q9UP_SIZE]
 
static const uint8_t mpc8_q2_codes [2][MPC8_Q2_SIZE]
 
static const int8_t mpc8_q2_bits [2][MPC8_Q2_SIZE]
 
static const uint8_t mpc8_q3_codes [MPC8_Q3_SIZE]
 
static const int8_t mpc8_q3_bits [MPC8_Q3_SIZE]
 
static const int8_t mpc8_q3_syms [MPC8_Q3_SIZE]
 
static const uint8_t mpc8_q4_codes [MPC8_Q4_SIZE]
 
static const int8_t mpc8_q4_bits [MPC8_Q4_SIZE]
 
static const int8_t mpc8_q4_syms [MPC8_Q4_SIZE]
 
static const uint8_t mpc8_q5_codes [2][MPC8_Q5_SIZE]
 
static const int8_t mpc8_q5_bits [2][MPC8_Q5_SIZE]
 
static const uint8_t mpc8_q6_codes [2][MPC8_Q6_SIZE]
 
static const int8_t mpc8_q6_bits [2][MPC8_Q6_SIZE]
 
static const uint8_t mpc8_q7_codes [2][MPC8_Q7_SIZE]
 
static const int8_t mpc8_q7_bits [2][MPC8_Q7_SIZE]
 
static const uint8_t mpc8_q8_codes [2][MPC8_Q8_SIZE]
 
static const int8_t mpc8_q8_bits [2][MPC8_Q8_SIZE]
 

Macro Definition Documentation

◆ MPC8_BANDS_SIZE

#define MPC8_BANDS_SIZE   33

Definition at line 27 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_BANDS_BITS

#define MPC8_BANDS_BITS   9

Definition at line 28 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_SCFI0_SIZE

#define MPC8_SCFI0_SIZE   4

Definition at line 45 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_SCFI0_BITS

#define MPC8_SCFI0_BITS   3

Definition at line 46 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_SCFI1_SIZE

#define MPC8_SCFI1_SIZE   16

Definition at line 55 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_SCFI1_BITS

#define MPC8_SCFI1_BITS   7

Definition at line 56 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_DSCF0_SIZE

#define MPC8_DSCF0_SIZE   64

Definition at line 69 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_DSCF0_BITS

#define MPC8_DSCF0_BITS   9

Definition at line 70 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_DSCF1_SIZE

#define MPC8_DSCF1_SIZE   65

Definition at line 94 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_DSCF1_BITS

#define MPC8_DSCF1_BITS   9

Definition at line 95 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_RES_SIZE

#define MPC8_RES_SIZE   17

Definition at line 120 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_RES_BITS

#define MPC8_RES_BITS   9

Definition at line 121 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_Q1_SIZE

#define MPC8_Q1_SIZE   19

Definition at line 148 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q1_BITS

#define MPC8_Q1_BITS   9

Definition at line 149 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_Q9UP_SIZE

#define MPC8_Q9UP_SIZE   256

Definition at line 162 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q9UP_BITS

#define MPC8_Q9UP_BITS   9

Definition at line 163 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_Q2_SIZE

#define MPC8_Q2_SIZE   125

Definition at line 234 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q2_BITS

#define MPC8_Q2_BITS   9

Definition at line 235 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_Q3_SIZE

#define MPC8_Q3_SIZE   49

Definition at line 314 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q3_BITS

#define MPC8_Q3_BITS   9

Definition at line 315 of file mpc8huff.h.

Referenced by mpc8_decode_frame(), and mpc8_decode_init().

◆ MPC8_Q3_OFFSET

#define MPC8_Q3_OFFSET   -48

Definition at line 316 of file mpc8huff.h.

◆ MPC8_Q4_SIZE

#define MPC8_Q4_SIZE   81

Definition at line 346 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q4_BITS

#define MPC8_Q4_BITS   9

Definition at line 347 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q4_OFFSET

#define MPC8_Q4_OFFSET   -64

Definition at line 348 of file mpc8huff.h.

◆ MPC8_Q5_SIZE

#define MPC8_Q5_SIZE   15

Definition at line 390 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q5_BITS

#define MPC8_Q5_BITS   7

Definition at line 391 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q5_OFFSET

#define MPC8_Q5_OFFSET   -7

Definition at line 392 of file mpc8huff.h.

◆ MPC8_Q6_SIZE

#define MPC8_Q6_SIZE   31

Definition at line 415 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q6_BITS

#define MPC8_Q6_BITS   9

Definition at line 416 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q6_OFFSET

#define MPC8_Q6_OFFSET   -15

Definition at line 417 of file mpc8huff.h.

◆ MPC8_Q7_SIZE

#define MPC8_Q7_SIZE   63

Definition at line 448 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q7_BITS

#define MPC8_Q7_BITS   9

Definition at line 449 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q7_OFFSET

#define MPC8_Q7_OFFSET   -31

Definition at line 450 of file mpc8huff.h.

◆ MPC8_Q8_SIZE

#define MPC8_Q8_SIZE   127

Definition at line 497 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q8_BITS

#define MPC8_Q8_BITS   9

Definition at line 498 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ MPC8_Q8_OFFSET

#define MPC8_Q8_OFFSET   -63

Definition at line 499 of file mpc8huff.h.

Variable Documentation

◆ mpc8_bands_codes

const uint8_t mpc8_bands_codes[MPC8_BANDS_SIZE]
static
Initial value:
= {
0x01, 0x01, 0x02, 0x02, 0x03, 0x03, 0x04, 0x04,
0x05, 0x06, 0x01, 0x02, 0x03, 0x00, 0x04, 0x05,
0x06, 0x07, 0x08, 0x01, 0x09, 0x0A, 0x0B, 0x07,
0x08, 0x09, 0x06, 0x07, 0x05, 0x05, 0x03, 0x03,
0x01,
}

Definition at line 30 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_bands_bits

const int8_t mpc8_bands_bits[MPC8_BANDS_SIZE]
static
Initial value:
= {
1, 3, 5, 6, 7, 8, 8, 9,
10, 11, 12, 12, 12, 13, 12, 12,
12, 12, 12, 13, 12, 12, 12, 11,
11, 11, 10, 10, 9, 8, 6, 5,
2,
}

Definition at line 37 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_scfi0_codes

const uint8_t mpc8_scfi0_codes[MPC8_SCFI0_SIZE]
static
Initial value:
= {
0x00, 0x01, 0x01, 0x01,
}

Definition at line 48 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_scfi0_bits

const int8_t mpc8_scfi0_bits[MPC8_SCFI0_SIZE]
static
Initial value:
= {
3, 3, 1, 2,
}

Definition at line 51 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_scfi1_codes

const uint8_t mpc8_scfi1_codes[MPC8_SCFI1_SIZE]
static
Initial value:
= {
0x01, 0x00, 0x02, 0x03, 0x01, 0x03, 0x04, 0x05,
0x04, 0x06, 0x02, 0x02, 0x05, 0x07, 0x03, 0x03,
}

Definition at line 58 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_scfi1_bits

const int8_t mpc8_scfi1_bits[MPC8_SCFI1_SIZE]
static
Initial value:
= {
6, 7, 6, 6, 7, 5, 5, 5,
6, 5, 2, 3, 6, 5, 3, 2,
}

Definition at line 63 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_dscf0_codes

const uint8_t mpc8_dscf0_codes[MPC8_DSCF0_SIZE]
static
Initial value:
= {
0x03, 0x04, 0x05, 0x04, 0x05, 0x06, 0x05, 0x06,
0x07, 0x08, 0x09, 0x07, 0x08, 0x09, 0x0A, 0x07,
0x08, 0x09, 0x0A, 0x07, 0x08, 0x09, 0x0A, 0x06,
0x07, 0x05, 0x04, 0x05, 0x06, 0x06, 0x07, 0x0A,
0x08, 0x05, 0x06, 0x07, 0x09, 0x07, 0x08, 0x09,
0x0B, 0x0B, 0x0C, 0x0D, 0x0B, 0x0C, 0x0D, 0x0B,
0x0C, 0x0D, 0x07, 0x08, 0x09, 0x06, 0x07, 0x03,
0x04, 0x05, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
}

Definition at line 72 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_dscf0_bits

const int8_t mpc8_dscf0_bits[MPC8_DSCF0_SIZE]
static
Initial value:
= {
12, 12, 12, 11, 11, 11, 10, 10,
10, 10, 10, 9, 9, 9, 9, 8,
8, 8, 8, 7, 7, 7, 7, 6,
6, 5, 4, 4, 5, 4, 4, 10,
4, 3, 3, 3, 4, 5, 6, 6,
7, 8, 8, 8, 9, 9, 9, 10,
10, 10, 11, 11, 11, 12, 12, 13,
13, 13, 14, 14, 14, 14, 14, 14,
}

Definition at line 82 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_dscf1_codes

const uint8_t mpc8_dscf1_codes[MPC8_DSCF1_SIZE]
static
Initial value:
= {
0x00, 0x03, 0x04, 0x04, 0x05, 0x06, 0x05, 0x06,
0x07, 0x08, 0x07, 0x08, 0x09, 0x0A, 0x07, 0x08,
0x09, 0x0A, 0x07, 0x08, 0x09, 0x06, 0x07, 0x05,
0x06, 0x04, 0x03, 0x03, 0x04, 0x03, 0x04, 0x05,
0x06, 0x07, 0x05, 0x04, 0x05, 0x05, 0x07, 0x08,
0x09, 0x0A, 0x0B, 0x0B, 0x0C, 0x0D, 0x0B, 0x0C,
0x0D, 0x09, 0x0A, 0x0B, 0x0C, 0x07, 0x08, 0x09,
0x05, 0x06, 0x07, 0x01, 0x02, 0x03, 0x04, 0x05,
0x0D,
}

Definition at line 97 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_dscf1_bits

const int8_t mpc8_dscf1_bits[MPC8_DSCF1_SIZE]
static
Initial value:
= {
15, 14, 14, 13, 13, 13, 12, 12,
12, 12, 11, 11, 11, 11, 10, 10,
10, 10, 9, 9, 9, 8, 8, 7,
7, 6, 5, 4, 4, 3, 3, 3,
3, 3, 4, 5, 5, 6, 7, 8,
8, 9, 9, 10, 10, 10, 11, 11,
11, 12, 12, 12, 12, 13, 13, 13,
14, 14, 14, 15, 15, 15, 15, 15,
12,
}

Definition at line 108 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_res_codes

const uint8_t mpc8_res_codes[2][MPC8_RES_SIZE]
static
Initial value:
= {
{
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01,
0x01,
},
{
0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x00, 0x01, 0x02, 0x03, 0x01, 0x01, 0x01, 0x01,
0x03,
}
}

Definition at line 123 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_res_bits

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

Definition at line 135 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q1_codes

const uint8_t mpc8_q1_codes[MPC8_Q1_SIZE]
static
Initial value:
= {
0x01, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x03, 0x04, 0x05, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x00, 0x01,
}

Definition at line 151 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q1_bits

const int8_t mpc8_q1_bits[MPC8_Q1_SIZE]
static
Initial value:
= {
6, 4, 4, 3, 3, 3, 3, 3,
4, 4, 4, 5, 7, 8, 9, 10,
11, 12, 12,
}

Definition at line 156 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q9up_codes

const uint8_t mpc8_q9up_codes[MPC8_Q9UP_SIZE]
static

Definition at line 165 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q9up_bits

const int8_t mpc8_q9up_bits[MPC8_Q9UP_SIZE]
static

Definition at line 199 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q2_codes

const uint8_t mpc8_q2_codes[2][MPC8_Q2_SIZE]
static

Definition at line 237 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q2_bits

const int8_t mpc8_q2_bits[2][MPC8_Q2_SIZE]
static

Definition at line 275 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q3_codes

const uint8_t mpc8_q3_codes[MPC8_Q3_SIZE]
static
Initial value:
= {
0x07, 0x0D, 0x0C, 0x0B, 0x0A, 0x09, 0x08, 0x0F,
0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x13, 0x12, 0x11,
0x10, 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x09,
0x11, 0x10, 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A,
0x09, 0x08, 0x07, 0x06, 0x05, 0x09, 0x08, 0x07,
0x06, 0x05, 0x04, 0x03, 0x02, 0x03, 0x02, 0x01,
0x00,
}

Definition at line 318 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q3_bits

const int8_t mpc8_q3_bits[MPC8_Q3_SIZE]
static
Initial value:
= {
3, 4, 4, 4, 4, 4, 4, 5,
5, 5, 5, 5, 5, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 8, 8, 8,
8, 8, 8, 8, 8, 9, 9, 9,
9,
}

Definition at line 327 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q3_syms

const int8_t mpc8_q3_syms[MPC8_Q3_SIZE]
static
Initial value:
= {
48, 65, 64, 49, 63, 32, 47, 80,
79, 50, 62, 33, 16, 82, 81, 95,
94, 66, 78, 34, 46, 17, 31, 30,
97, 96, 111, 67, 77, 51, 61, 35,
45, 18, 1, 0, 15, 98, 110, 83,
93, 19, 29, 2, 14, 99, 109, 3,
13,
}

Definition at line 336 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q4_codes

const uint8_t mpc8_q4_codes[MPC8_Q4_SIZE]
static
Initial value:
= {
0x0F, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17,
0x16, 0x15, 0x14, 0x13, 0x12, 0x23, 0x22, 0x21,
0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19,
0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11,
0x10, 0x0F, 0x0E, 0x0D, 0x19, 0x18, 0x17, 0x16,
0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0x0F, 0x0E,
0x0D, 0x0C, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12,
0x11, 0x10, 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A,
0x09, 0x08, 0x07, 0x06, 0x05, 0x09, 0x08, 0x07,
0x06, 0x05, 0x04, 0x03, 0x02, 0x03, 0x02, 0x01,
0x00,
}

Definition at line 350 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q4_bits

const int8_t mpc8_q4_bits[MPC8_Q4_SIZE]
static
Initial value:
= {
4, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 9, 9, 9,
9, 9, 9, 9, 9, 10, 10, 10,
10,
}

Definition at line 363 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q4_syms

const int8_t mpc8_q4_syms[MPC8_Q4_SIZE]
static
Initial value:
= {
64, 96, 81, 80, 95, 66, 65, 79,
78, 49, 48, 63, 32, 113, 112, 98,
97, 111, 110, 83, 82, 94, 93, 67,
77, 51, 50, 62, 61, 34, 33, 47,
46, 17, 16, 31, 128, 114, 127, 126,
99, 109, 68, 76, 35, 45, 18, 30,
0, 15, 130, 129, 143, 142, 115, 125,
100, 108, 84, 92, 52, 60, 36, 44,
19, 29, 2, 1, 14, 131, 141, 116,
124, 20, 28, 3, 13, 132, 140, 4,
12,
}

Definition at line 376 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q5_codes

const uint8_t mpc8_q5_codes[2][MPC8_Q5_SIZE]
static
Initial value:
= {
{
0x00, 0x01, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03,
0x04, 0x05, 0x03, 0x03, 0x03, 0x02, 0x03,
},
{
0x00, 0x01, 0x02, 0x02, 0x03, 0x03, 0x04, 0x05,
0x06, 0x07, 0x04, 0x05, 0x03, 0x02, 0x03,
}
}

Definition at line 394 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q5_bits

const int8_t mpc8_q5_bits[2][MPC8_Q5_SIZE]
static
Initial value:
= {
{
7, 7, 6, 5, 4, 3, 3, 2,
3, 3, 4, 5, 6, 7, 7,
},
{
6, 6, 5, 4, 4, 3, 3, 3,
3, 3, 4, 4, 5, 6, 6,
}
}

Definition at line 404 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q6_codes

const uint8_t mpc8_q6_codes[2][MPC8_Q6_SIZE]
static
Initial value:
= {
{
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x04, 0x03,
0x04, 0x05, 0x05, 0x06, 0x04, 0x05, 0x04, 0x03,
0x05, 0x06, 0x07, 0x07, 0x06, 0x07, 0x08, 0x09,
0x05, 0x06, 0x07, 0x04, 0x05, 0x06, 0x07,
},
{
0x00, 0x01, 0x02, 0x03, 0x04, 0x04, 0x05, 0x04,
0x05, 0x06, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A,
0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x07, 0x08, 0x09,
0x06, 0x07, 0x05, 0x06, 0x07, 0x02, 0x03,
}
}

Definition at line 419 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q6_bits

const int8_t mpc8_q6_bits[2][MPC8_Q6_SIZE]
static
Initial value:
= {
{
9, 9, 9, 9, 8, 8, 7, 6,
6, 6, 5, 5, 4, 4, 3, 2,
3, 4, 4, 5, 6, 6, 6, 6,
7, 8, 8, 9, 9, 9, 9,
},
{
8, 8, 7, 7, 7, 6, 6, 5,
5, 5, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 5, 5, 5,
6, 6, 7, 7, 7, 8, 8,
}
}

Definition at line 433 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q7_codes

const uint8_t mpc8_q7_codes[2][MPC8_Q7_SIZE]
static
Initial value:
= {
{
0x00, 0x01, 0x02, 0x08, 0x09, 0x03, 0x04, 0x05,
0x06, 0x07, 0x0A, 0x0B, 0x0C, 0x0D, 0x0A, 0x0B,
0x0C, 0x0D, 0x0E, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E,
0x0A, 0x0B, 0x0C, 0x08, 0x09, 0x06, 0x04, 0x03,
0x05, 0x07, 0x0A, 0x0B, 0x0D, 0x0E, 0x0F, 0x0F,
0x10, 0x11, 0x12, 0x0F, 0x13, 0x10, 0x11, 0x12,
0x13, 0x0E, 0x0F, 0x10, 0x11, 0x08, 0x09, 0x0A,
0x0B, 0x0C, 0x12, 0x13, 0x0D, 0x0E, 0x0F,
},
{
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x09, 0x0A,
0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x0C, 0x0D,
0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15,
0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D,
0x1E, 0x1F, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16,
0x17, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x09, 0x0A,
0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x02, 0x03,
}
}

Definition at line 452 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q7_bits

const int8_t mpc8_q7_bits[2][MPC8_Q7_SIZE]
static
Initial value:
= {
{
10, 10, 10, 9, 9, 10, 10, 10,
10, 10, 9, 9, 9, 9, 8, 8,
8, 8, 8, 7, 7, 7, 7, 7,
6, 6, 6, 5, 5, 4, 3, 2,
3, 4, 5, 5, 6, 6, 6, 7,
7, 7, 7, 8, 7, 8, 8, 8,
8, 9, 9, 9, 9, 10, 10, 10,
10, 10, 9, 9, 10, 10, 10,
},
{
9, 9, 8, 8, 8, 8, 8, 8,
8, 7, 7, 7, 7, 7, 6, 6,
6, 6, 6, 6, 6, 6, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 6, 6, 6, 6, 6, 6,
6, 7, 7, 7, 7, 7, 8, 8,
8, 8, 8, 8, 8, 9, 9,
}
}

Definition at line 474 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q8_codes

const uint8_t mpc8_q8_codes[2][MPC8_Q8_SIZE]
static

Definition at line 501 of file mpc8huff.h.

Referenced by mpc8_decode_init().

◆ mpc8_q8_bits

const int8_t mpc8_q8_bits[2][MPC8_Q8_SIZE]
static

Definition at line 539 of file mpc8huff.h.

Referenced by mpc8_decode_init().