FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
qdm2data.h File Reference

Various QDM2 tables. More...

#include <stdint.h>

Go to the source code of this file.

Variables

static const uint16_t vlc_tab_level_huffcodes [24]
 VLC TABLES.
 
static const uint8_t vlc_tab_level_huffbits [24]
 
static const uint16_t vlc_tab_diff_huffcodes [37]
 
static const uint8_t vlc_tab_diff_huffbits [37]
 
static const uint8_t vlc_tab_run_huffcodes [6]
 
static const uint8_t vlc_tab_run_huffbits [6]
 
static const uint16_t vlc_tab_tone_level_idx_hi1_huffcodes [20]
 
static const uint8_t vlc_tab_tone_level_idx_hi1_huffbits [20]
 
static const uint16_t vlc_tab_tone_level_idx_mid_huffcodes [24]
 
static const uint8_t vlc_tab_tone_level_idx_mid_huffbits [24]
 
static const uint16_t vlc_tab_tone_level_idx_hi2_huffcodes [24]
 
static const uint8_t vlc_tab_tone_level_idx_hi2_huffbits [24]
 
static const uint8_t vlc_tab_type30_huffcodes [9]
 
static const uint8_t vlc_tab_type30_huffbits [9]
 
static const uint8_t vlc_tab_type34_huffcodes [10]
 
static const uint8_t vlc_tab_type34_huffbits [10]
 
static const uint16_t vlc_tab_fft_tone_offset_0_huffcodes [23]
 
static const uint8_t vlc_tab_fft_tone_offset_0_huffbits [23]
 
static const uint16_t vlc_tab_fft_tone_offset_1_huffcodes [28]
 
static const uint8_t vlc_tab_fft_tone_offset_1_huffbits [28]
 
static const uint16_t vlc_tab_fft_tone_offset_2_huffcodes [32]
 
static const uint8_t vlc_tab_fft_tone_offset_2_huffbits [32]
 
static const uint16_t vlc_tab_fft_tone_offset_3_huffcodes [35]
 
static const uint8_t vlc_tab_fft_tone_offset_3_huffbits [35]
 
static const uint16_t vlc_tab_fft_tone_offset_4_huffcodes [38]
 
static const uint8_t vlc_tab_fft_tone_offset_4_huffbits [38]
 
static const uint16_t fft_level_exp_alt_huffcodes [28]
 FFT TABLES.
 
static const uint8_t fft_level_exp_alt_huffbits [28]
 
static const uint16_t fft_level_exp_huffcodes [20]
 
static const uint8_t fft_level_exp_huffbits [20]
 
static const uint8_t fft_stereo_exp_huffcodes [7]
 
static const uint8_t fft_stereo_exp_huffbits [7]
 
static const uint8_t fft_stereo_phase_huffcodes [9]
 
static const uint8_t fft_stereo_phase_huffbits [9]
 
static const int fft_cutoff_index_table [4][2]
 
static const int16_t fft_level_index_table [256]
 
static const uint8_t last_coeff [3]
 
static const uint8_t coeff_per_sb_for_avg [3][30]
 
static const uint32_t dequant_table [3][10][30]
 
static const uint8_t coeff_per_sb_for_dequant [3][30]
 
static const int8_t tone_level_idx_offset_table [30][4]
 
static const int8_t coding_method_table [5][30]
 
static const int vlc_stage3_values [60]
 
static const float fft_tone_sample_table [4][16][5]
 
static const float fft_tone_level_table [2][64]
 
static const float fft_tone_envelope_table [4][31]
 
static const float sb_noise_attenuation [32]
 
static const uint8_t fft_subpackets [32]
 
static const float dequant_1bit [2][3]
 
static const float type30_dequant [8]
 
static const float type34_delta [10]
 

Detailed Description

Various QDM2 tables.

Definition in file qdm2data.h.

Variable Documentation

const uint16_t vlc_tab_level_huffcodes[24]
static
Initial value:
= {
0x037c, 0x0004, 0x003c, 0x004c, 0x003a, 0x002c, 0x001c, 0x001a,
0x0024, 0x0014, 0x0001, 0x0002, 0x0000, 0x0003, 0x0007, 0x0005,
0x0006, 0x0008, 0x0009, 0x000a, 0x000c, 0x00fc, 0x007c, 0x017c
}

VLC TABLES.

Definition at line 38 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_level_huffbits[24]
static
Initial value:
= {
10, 6, 7, 7, 6, 6, 6, 6, 6, 5, 4, 4, 4, 3, 3, 3, 3, 4, 4, 5, 7, 8, 9, 10
}

Definition at line 44 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_diff_huffcodes[37]
static
Initial value:
= {
0x1c57, 0x0004, 0x0000, 0x0001, 0x0003, 0x0002, 0x000f, 0x000e,
0x0007, 0x0016, 0x0037, 0x0027, 0x0026, 0x0066, 0x0006, 0x0097,
0x0046, 0x01c6, 0x0017, 0x0786, 0x0086, 0x0257, 0x00d7, 0x0357,
0x00c6, 0x0386, 0x0186, 0x0000, 0x0157, 0x0c57, 0x0057, 0x0000,
0x0b86, 0x0000, 0x1457, 0x0000, 0x0457
}

Definition at line 49 of file qdm2data.h.

Referenced by qdm2_init_vlc().

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

Definition at line 57 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_run_huffcodes[6]
static
Initial value:
= {
0x1f, 0x00, 0x01, 0x03, 0x07, 0x0f
}

Definition at line 64 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_run_huffbits[6]
static
Initial value:
= {
5, 1, 2, 3, 4, 5
}

Definition at line 68 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_tone_level_idx_hi1_huffcodes[20]
static
Initial value:
= {
0x5714, 0x000c, 0x0002, 0x0001, 0x0000, 0x0004, 0x0034, 0x0054,
0x0094, 0x0014, 0x0114, 0x0214, 0x0314, 0x0614, 0x0e14, 0x0f14,
0x2714, 0x0714, 0x1714, 0x3714
}

Definition at line 73 of file qdm2data.h.

Referenced by qdm2_init_vlc().

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

Definition at line 79 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_tone_level_idx_mid_huffcodes[24]
static
Initial value:
= {
0x0fea, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x03ea, 0x00ea, 0x002a, 0x001a,
0x0006, 0x0001, 0x0000, 0x0002, 0x000a, 0x006a, 0x01ea, 0x07ea
}

Definition at line 84 of file qdm2data.h.

Referenced by qdm2_init_vlc().

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

Definition at line 90 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_tone_level_idx_hi2_huffcodes[24]
static
Initial value:
= {
0x0664, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0064, 0x00e4,
0x00a4, 0x0068, 0x0004, 0x0008, 0x0014, 0x0018, 0x0000, 0x0001,
0x0002, 0x0003, 0x000c, 0x0028, 0x0024, 0x0164, 0x0000, 0x0264
}

Definition at line 95 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_tone_level_idx_hi2_huffbits[24]
static
Initial value:
= {
11, 0, 0, 0, 0, 0, 10, 8, 8, 7, 6, 6, 5, 5, 4, 2, 2, 2, 4, 7, 8, 9, 0, 11
}

Definition at line 101 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_type30_huffcodes[9]
static
Initial value:
= {
0x3c, 0x06, 0x00, 0x01, 0x03, 0x02, 0x04, 0x0c, 0x1c
}

Definition at line 106 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_type30_huffbits[9]
static
Initial value:
= {
6, 3, 3, 2, 2, 3, 4, 5, 6
}

Definition at line 110 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_type34_huffcodes[10]
static
Initial value:
= {
0x18, 0x00, 0x01, 0x04, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08
}

Definition at line 115 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_type34_huffbits[10]
static
Initial value:
= {
5, 4, 3, 3, 3, 3, 3, 3, 3, 5
}

Definition at line 119 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_fft_tone_offset_0_huffcodes[23]
static
Initial value:
= {
0x038e, 0x0001, 0x0000, 0x0022, 0x000a, 0x0006, 0x0012, 0x0002,
0x001e, 0x003e, 0x0056, 0x0016, 0x000e, 0x0032, 0x0072, 0x0042,
0x008e, 0x004e, 0x00f2, 0x002e, 0x0036, 0x00c2, 0x018e
}

Definition at line 124 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_fft_tone_offset_0_huffbits[23]
static
Initial value:
= {
10, 1, 2, 6, 4, 5, 6, 7, 6, 6, 7, 7, 8, 7, 8, 8, 9, 7, 8, 6, 6, 8, 10
}

Definition at line 130 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_fft_tone_offset_1_huffcodes[28]
static
Initial value:
= {
0x07a4, 0x0001, 0x0020, 0x0012, 0x001c, 0x0008, 0x0006, 0x0010,
0x0000, 0x0014, 0x0004, 0x0032, 0x0070, 0x000c, 0x0002, 0x003a,
0x001a, 0x002c, 0x002a, 0x0022, 0x0024, 0x000a, 0x0064, 0x0030,
0x0062, 0x00a4, 0x01a4, 0x03a4
}

Definition at line 135 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t vlc_tab_fft_tone_offset_1_huffbits[28]
static
Initial value:
= {
11, 1, 6, 6, 5, 4, 3, 6, 6, 5, 6, 6, 7, 6, 6, 6,
6, 6, 6, 7, 8, 6, 7, 7, 7, 9, 10, 11
}

Definition at line 142 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_fft_tone_offset_2_huffcodes[32]
static
Initial value:
= {
0x1760, 0x0001, 0x0000, 0x0082, 0x000c, 0x0006, 0x0003, 0x0007,
0x0008, 0x0004, 0x0010, 0x0012, 0x0022, 0x001a, 0x0000, 0x0020,
0x000a, 0x0040, 0x004a, 0x006a, 0x002a, 0x0042, 0x0002, 0x0060,
0x00aa, 0x00e0, 0x00c2, 0x01c2, 0x0160, 0x0360, 0x0760, 0x0f60
}

Definition at line 148 of file qdm2data.h.

Referenced by qdm2_init_vlc().

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

Definition at line 155 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_fft_tone_offset_3_huffcodes[35]
static
Initial value:
= {
0x33ea, 0x0005, 0x0000, 0x000c, 0x0000, 0x0006, 0x0003, 0x0008,
0x0002, 0x0001, 0x0004, 0x0007, 0x001a, 0x000f, 0x001c, 0x002c,
0x000a, 0x001d, 0x002d, 0x002a, 0x000d, 0x004c, 0x008c, 0x006a,
0x00cd, 0x004d, 0x00ea, 0x020c, 0x030c, 0x010c, 0x01ea, 0x07ea,
0x0bea, 0x03ea, 0x13ea
}

Definition at line 161 of file qdm2data.h.

Referenced by qdm2_init_vlc().

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

Definition at line 169 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t vlc_tab_fft_tone_offset_4_huffcodes[38]
static
Initial value:
= {
0x5282, 0x0016, 0x0000, 0x0136, 0x0004, 0x0000, 0x0007, 0x000a,
0x000e, 0x0003, 0x0001, 0x000d, 0x0006, 0x0009, 0x0012, 0x0005,
0x0025, 0x0022, 0x0015, 0x0002, 0x0076, 0x0035, 0x0042, 0x00c2,
0x0182, 0x00b6, 0x0036, 0x03c2, 0x0482, 0x01c2, 0x0682, 0x0882,
0x0a82, 0x0082, 0x0282, 0x1282, 0x3282, 0x2282
}

Definition at line 176 of file qdm2data.h.

Referenced by qdm2_init_vlc().

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

Definition at line 184 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t fft_level_exp_alt_huffcodes[28]
static
Initial value:
= {
0x1ec6, 0x0006, 0x00c2, 0x0142, 0x0242, 0x0246, 0x00c6, 0x0046,
0x0042, 0x0146, 0x00a2, 0x0062, 0x0026, 0x0016, 0x000e, 0x0005,
0x0004, 0x0003, 0x0000, 0x0001, 0x000a, 0x0012, 0x0002, 0x0022,
0x01c6, 0x02c6, 0x06c6, 0x0ec6
}

FFT TABLES.

Definition at line 193 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t fft_level_exp_alt_huffbits[28]
static
Initial value:
= {
13, 7, 8, 9, 10, 10, 10, 10, 10, 9, 8, 7, 6, 5, 4, 3,
3, 2, 3, 3, 4, 5, 7, 8, 9, 11, 12, 13
}

Definition at line 200 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint16_t fft_level_exp_huffcodes[20]
static
Initial value:
= {
0x0f24, 0x0001, 0x0002, 0x0000, 0x0006, 0x0005, 0x0007, 0x000c,
0x000b, 0x0014, 0x0013, 0x0004, 0x0003, 0x0023, 0x0064, 0x00a4,
0x0024, 0x0124, 0x0324, 0x0724
}

Definition at line 206 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t fft_level_exp_huffbits[20]
static
Initial value:
= {
12, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 8, 9, 10, 11, 12
}

Definition at line 212 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t fft_stereo_exp_huffcodes[7]
static
Initial value:
= {
0x3e, 0x01, 0x00, 0x02, 0x06, 0x0e, 0x1e
}

Definition at line 217 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t fft_stereo_exp_huffbits[7]
static
Initial value:
= {
6, 1, 2, 3, 4, 5, 6
}

Definition at line 221 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t fft_stereo_phase_huffcodes[9]
static
Initial value:
= {
0x35, 0x02, 0x00, 0x01, 0x0d, 0x15, 0x05, 0x09, 0x03
}

Definition at line 226 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const uint8_t fft_stereo_phase_huffbits[9]
static
Initial value:
= {
6, 2, 2, 4, 4, 6, 5, 4, 2
}

Definition at line 230 of file qdm2data.h.

Referenced by qdm2_init_vlc().

const int fft_cutoff_index_table[4][2]
static
Initial value:
= {
{ 1, 2 }, {-1, 0 }, {-1,-2 }, { 0, 0 }
}

Definition at line 234 of file qdm2data.h.

Referenced by qdm2_fft_generate_tone().

const int16_t fft_level_index_table[256]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
}

Definition at line 238 of file qdm2data.h.

Referenced by qdm2_fft_decode_tones().

const uint8_t last_coeff[3]
static
Initial value:
= {
4, 7, 10
}

Definition at line 257 of file qdm2data.h.

Referenced by calc_input_response(), and fill_tone_level_array().

const uint8_t coeff_per_sb_for_avg[3][30]
static
Initial value:
= {
{ 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 },
{ 0, 1, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
{ 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9 }
}

Definition at line 261 of file qdm2data.h.

Referenced by average_quantized_coeffs(), and process_subpacket_9().

const uint32_t dequant_table[3][10][30]
static

Definition at line 267 of file qdm2data.h.

const uint8_t coeff_per_sb_for_dequant[3][30]
static
Initial value:
= {
{ 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3 },
{ 0, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6 },
{ 0, 1, 2, 3, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9 }
}

Definition at line 300 of file qdm2data.h.

Referenced by fill_tone_level_array().

const int8_t tone_level_idx_offset_table[30][4]
static

Definition at line 307 of file qdm2data.h.

Referenced by fill_coding_method_array().

const int8_t coding_method_table[5][30]
static
Initial value:
= {
{ 34, 30, 24, 24, 16, 16, 16, 16, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10
},
{ 34, 30, 24, 24, 16, 16, 16, 16, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10
},
{ 34, 30, 30, 30, 24, 24, 16, 16, 16, 16, 16, 16, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10
},
{ 34, 34, 30, 30, 24, 24, 24, 24, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 10, 10, 10, 10, 10, 10, 10, 10
},
{ 34, 34, 30, 30, 30, 30, 30, 30, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16
},
}

Definition at line 342 of file qdm2data.h.

Referenced by fill_coding_method_array().

const int vlc_stage3_values[60]
static
Initial value:
= {
0, 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24,
28, 36, 44, 52, 60, 76, 92, 108, 124, 156, 188, 220,
252, 316, 380, 444, 508, 636, 764, 892, 1020, 1276, 1532, 1788,
2044, 2556, 3068, 3580, 4092, 5116, 6140, 7164, 8188, 10236, 12284, 14332,
16380, 20476, 24572, 28668, 32764, 40956, 49148, 57340, 65532, 81916, 98300,114684
}

Definition at line 360 of file qdm2data.h.

Referenced by qdm2_get_vlc().

const float fft_tone_sample_table[4][16][5]
static

Definition at line 368 of file qdm2data.h.

Referenced by qdm2_fft_tone_synthesizer().

const float fft_tone_level_table[2][64]
static

Definition at line 438 of file qdm2data.h.

Referenced by fill_tone_level_array(), and qdm2_fft_tone_synthesizer().

const float fft_tone_envelope_table[4][31]
static
Initial value:
= {
{ .009607375f, .038060248f, .084265202f, .146446645f, .222214907f, .308658302f,
.402454883f, .500000060f, .597545207f, .691341758f, .777785182f, .853553414f,
.915734828f, .961939812f, .990392685f, 1.00000000f, .990392625f, .961939752f,
.915734768f, .853553295f, .777785063f, .691341639f, .597545087f, .500000000f,
.402454853f, .308658272f, .222214878f, .146446615f, .084265172f, .038060218f,
.009607345f },
{ .038060248f, .146446645f, .308658302f, .500000060f, .691341758f, .853553414f,
.961939812f, 1.00000000f, .961939752f, .853553295f, .691341639f, .500000000f,
.308658272f, .146446615f, .038060218f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f },
{ .146446645f, .500000060f, .853553414f, 1.00000000f, .853553295f, .500000000f,
.146446615f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f },
{ .500000060f, 1.00000000f, .500000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f, .000000000f, .000000000f, .000000000f, .000000000f, .000000000f,
.000000000f }
}

Definition at line 476 of file qdm2data.h.

Referenced by qdm2_fft_generate_tone().

const float sb_noise_attenuation[32]
static
Initial value:
= {
0.0f, 0.0f, 0.3f, 0.4f, 0.5f, 0.7f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f,
}

Definition at line 503 of file qdm2data.h.

const uint8_t fft_subpackets[32]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0
}

Definition at line 510 of file qdm2data.h.

Referenced by qdm2_decode_fft_packets(), and qdm2_decode_super_block().

const float dequant_1bit[2][3]
static
Initial value:
= {
{-0.920000f, 0.000000f, 0.920000f },
{-0.890000f, 0.000000f, 0.890000f }
}

Definition at line 516 of file qdm2data.h.

Referenced by synthfilt_build_sb_samples().

const float type30_dequant[8]
static
Initial value:
= {
-1.0f,-0.625f,-0.291666656732559f,0.0f,
0.25f,0.5f,0.75f,1.0f,
}

Definition at line 521 of file qdm2data.h.

Referenced by synthfilt_build_sb_samples().

const float type34_delta[10]
static
Initial value:
= {
-1.0f,-0.60947573184967f,-0.333333343267441f,-0.138071194291115f,0.0f,
0.138071194291115f,0.333333343267441f,0.60947573184967f,1.0f,0.0f,
}

Definition at line 526 of file qdm2data.h.

Referenced by synthfilt_build_sb_samples().