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

Windows Media Voice (WMAVoice) tables. More...

#include <stdint.h>

Go to the source code of this file.

Variables

static const uint8_t wmavoice_dq_lsp10i [0xf00]
 
static const uint8_t wmavoice_dq_lsp16i1 [0x640]
 
static const uint8_t wmavoice_dq_lsp16i2 [0x3c0]
 
static const uint8_t wmavoice_dq_lsp16i3 [0x300]
 
static const uint8_t wmavoice_dq_lsp10r [0x1400]
 
static const uint8_t wmavoice_dq_lsp16r1 [0x500]
 
static const uint8_t wmavoice_dq_lsp16r2 [0x500]
 
static const uint8_t wmavoice_dq_lsp16r3 [0x600]
 
static const float wmavoice_lsp10_intercoeff_a [32][2][10]
 
static const float wmavoice_lsp10_intercoeff_b [32][2][10]
 
static const float wmavoice_lsp16_intercoeff_a [32][2][16]
 
static const float wmavoice_lsp16_intercoeff_b [32][2][16]
 
static const double wmavoice_mean_lsf10 [2][10]
 
static const double wmavoice_mean_lsf16 [2][16]
 
static const float wmavoice_std_codebook [1000]
 
static const float wmavoice_gain_silence [256]
 
static const float wmavoice_gain_universal [64]
 
static const float wmavoice_gain_codebook_acb [128]
 
static const float wmavoice_gain_codebook_fcb [128]
 
static const float wmavoice_ipol1_coeffs [17 *9]
 
static const float wmavoice_ipol2_coeffs [32]
 Hamming-window sinc function (num = 32, x = [ 0, 31 ]): (0.54 + 0.46 * cos(2 * M_PI * x / (num - 1))) * sin(x * M_PI / 4) / (x * M_PI / 4)
 
static const float wmavoice_energy_table [128]
 LUT for 1.071575641632 * pow(1.0331663, n - 127)
 
static const float wmavoice_denoise_power_table [12][64]
 LUT for f(x,y) = pow((y + 6.9) / 64, 0.025 * (x + 1)).
 

Detailed Description

Windows Media Voice (WMAVoice) tables.

Author
Ronald S. Bultje rsbul.nosp@m.tje@.nosp@m.gmail.nosp@m..com

Definition in file wmavoice_data.h.

Variable Documentation

const uint8_t wmavoice_dq_lsp10i[0xf00]
static

Definition at line 33 of file wmavoice_data.h.

Referenced by dequant_lsp10i().

const uint8_t wmavoice_dq_lsp16i1[0x640]
static

Definition at line 420 of file wmavoice_data.h.

Referenced by dequant_lsp16i().

const uint8_t wmavoice_dq_lsp16i2[0x3c0]
static

Definition at line 583 of file wmavoice_data.h.

Referenced by dequant_lsp16i().

const uint8_t wmavoice_dq_lsp16i3[0x300]
static

Definition at line 682 of file wmavoice_data.h.

Referenced by dequant_lsp16i().

const uint8_t wmavoice_dq_lsp10r[0x1400]
static

Definition at line 749 of file wmavoice_data.h.

Referenced by dequant_lsp10r().

const uint8_t wmavoice_dq_lsp16r1[0x500]
static

Definition at line 1264 of file wmavoice_data.h.

Referenced by dequant_lsp16r().

const uint8_t wmavoice_dq_lsp16r2[0x500]
static

Definition at line 1395 of file wmavoice_data.h.

Referenced by dequant_lsp16r().

const uint8_t wmavoice_dq_lsp16r3[0x600]
static

Definition at line 1526 of file wmavoice_data.h.

Referenced by dequant_lsp16r().

const float wmavoice_lsp10_intercoeff_a[32][2][10]
static

Definition at line 1657 of file wmavoice_data.h.

Referenced by dequant_lsp10r().

const float wmavoice_lsp10_intercoeff_b[32][2][10]
static

Definition at line 1852 of file wmavoice_data.h.

Referenced by dequant_lsp10r().

const float wmavoice_lsp16_intercoeff_a[32][2][16]
static

Definition at line 2047 of file wmavoice_data.h.

Referenced by dequant_lsp16r().

const float wmavoice_lsp16_intercoeff_b[32][2][16]
static

Definition at line 2306 of file wmavoice_data.h.

Referenced by dequant_lsp16r().

const double wmavoice_mean_lsf10[2][10]
static
Initial value:
= {
{ 0.2235394066, 0.4097484909, 0.7025292732, 1.1077160169,
1.3939179044, 1.6741291716, 1.9552949226, 2.2199793918,
2.5103400247, 2.7829212906 },
{ 0.1493683393, 0.3714357373, 0.7702730245, 1.0609411394,
1.3270362536, 1.5806033119, 1.8398507524, 2.1116740248,
2.3823505771, 2.6865718527 }
}

Definition at line 2565 of file wmavoice_data.h.

Referenced by synth_superframe().

const double wmavoice_mean_lsf16[2][16]
static
Initial value:
= {
{ 0.0999206754, 0.2345933590, 0.4621011210, 0.6772546160,
0.8346396060, 1.0067495130, 1.1571691668, 1.3292508688,
1.4941465650, 1.6600755584, 1.8461284908, 2.0529487333,
2.2690810112, 2.4949894820, 2.7172752965, 2.9164840903 },
{ 0.0918298402, 0.2475621892, 0.4782937721, 0.6284774045,
0.7861951264, 0.9303736000, 1.0940441024, 1.2521029300,
1.4434732098, 1.6551410742, 1.8917962963, 2.0967280403,
2.2981430375, 2.4826173497, 2.6827972461, 2.8811350800 }
}

Definition at line 2574 of file wmavoice_data.h.

Referenced by synth_superframe().

const float wmavoice_std_codebook[1000]
static

Definition at line 2585 of file wmavoice_data.h.

Referenced by synth_block_hardcoded().

const float wmavoice_gain_silence[256]
static

Definition at line 2788 of file wmavoice_data.h.

Referenced by synth_frame().

const float wmavoice_gain_universal[64]
static
Initial value:
= {
0.0000000000, 0.0000000000, 0.0000015497, 0.0000015497,
0.0000095367, 0.0000164509, 0.0000379086, 0.0000494719,
0.0000799894, 0.0001058578, 0.0001349449, 0.0001627207,
0.0001972914, 0.0002325773, 0.0002671480, 0.0003106594,
0.0003589392, 0.0004127026, 0.0004582405, 0.0005071163,
0.0005759001, 0.0006588697, 0.0007554293, 0.0008602142,
0.0009772778, 0.0011068583, 0.0012603998, 0.0013889074,
0.0015437603, 0.0016924143, 0.0018980503, 0.0021264553,
0.0023632050, 0.0025693178, 0.0028522015, 0.0031896830,
0.0034654140, 0.0037885904, 0.0041683912, 0.0046081543,
0.0050576925, 0.0055632591, 0.0061818361, 0.0068151951,
0.0073953867, 0.0081818104, 0.0091186762, 0.0102789402,
0.0119919777, 0.0134155750, 0.0154829025, 0.0173798800,
0.0199711323, 0.0229473114, 0.0268185139, 0.0319474936,
0.0393068790, 0.0460114479, 0.0523469448, 0.0637906790,
0.0845471621, 0.1105458736, 0.1499300003, 0.2219169140
}

Definition at line 2855 of file wmavoice_data.h.

Referenced by synth_block_hardcoded().

const float wmavoice_gain_codebook_acb[128]
static
Initial value:
= {
0.05, 0.14, 0.16, 0.05, 0.17, 0.25, 0.07, 0.21,
0.12, 0.22, 0.23, 0.13, 0.24, 0.32, 0.14, 0.29,
0.31, 0.41, 0.43, 0.32, 0.43, 0.51, 0.34, 0.48,
0.38, 0.47, 0.49, 0.38, 0.49, 0.57, 0.40, 0.54,
0.49, 0.59, 0.61, 0.50, 0.61, 0.69, 0.52, 0.66,
0.56, 0.65, 0.67, 0.56, 0.67, 0.75, 0.58, 0.72,
0.65, 0.74, 0.76, 0.65, 0.76, 0.84, 0.67, 0.81,
0.71, 0.80, 0.82, 0.71, 0.82, 0.90, 0.73, 0.87,
0.81, 0.90, 0.92, 0.81, 0.93, 1.01, 0.83, 0.97,
0.87, 0.96, 0.98, 0.87, 0.98, 1.06, 0.89, 1.03,
0.92, 1.02, 1.04, 0.93, 1.04, 1.12, 0.95, 1.09,
0.93, 1.02, 1.04, 0.93, 1.04, 1.12, 0.95, 1.09,
0.94, 1.04, 1.05, 0.10, 1.06, 1.14, 0.96, 1.11,
0.98, 1.08, 1.10, 0.99, 1.10, 1.18, 1.01, 1.15,
1.06, 1.15, 1.17, 1.06, 1.17, 1.25, 1.08, 1.22,
1.16, 1.25, 1.27, 1.16, 1.28, 1.36, 1.18, 1.32
}

Definition at line 2874 of file wmavoice_data.h.

Referenced by synth_block_fcb_acb().

const float wmavoice_gain_codebook_fcb[128]
static

Definition at line 2893 of file wmavoice_data.h.

Referenced by synth_block_fcb_acb().

const float wmavoice_ipol1_coeffs[17 *9]
static

Definition at line 2960 of file wmavoice_data.h.

Referenced by synth_block_fcb_acb().

const float wmavoice_ipol2_coeffs[32]
static
Initial value:
= {
1, 0.8563459515, 0.5888634918, 0.2648358640,
0, -0.1360490318, -0.1434589471, -0.0758505310,
0, 0.0410402636, 0.0412485781, 0.0200064587,
0, -0.0081391358, -0.0068223253, -0.0029313546,
0, 0.0025864919, 0.0053062555, 0.0055688801,
0, -0.0104795941, -0.0187493577, -0.0160592399,
0, 0.0212381664, 0.0331059131, 0.0251942366,
0, -0.0273968070, -0.0392575669, -0.0276240534
}

Hamming-window sinc function (num = 32, x = [ 0, 31 ]): (0.54 + 0.46 * cos(2 * M_PI * x / (num - 1))) * sin(x * M_PI / 4) / (x * M_PI / 4)

Definition at line 3012 of file wmavoice_data.h.

Referenced by synth_block_fcb_acb().

const float wmavoice_energy_table[128]
static

LUT for 1.071575641632 * pow(1.0331663, n - 127)

Definition at line 3026 of file wmavoice_data.h.

Referenced by calc_input_response().

const float wmavoice_denoise_power_table[12][64]
static

LUT for f(x,y) = pow((y + 6.9) / 64, 0.025 * (x + 1)).

Definition at line 3064 of file wmavoice_data.h.

Referenced by calc_input_response().