FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
opustab.c File Reference
#include "opustab.h"

Go to the source code of this file.

Variables

const uint8_t ff_opus_default_coupled_streams [] = { 0, 1, 1, 2, 2, 2, 2, 3 }
 
const uint8_t ff_celt_band_end [] = { 13, 17, 17, 19, 21 }
 
const uint16_t ff_silk_model_stereo_s1 []
 
const uint16_t ff_silk_model_stereo_s2 [] = {256, 85, 171, 256}
 
const uint16_t ff_silk_model_stereo_s3 [] = {256, 51, 102, 154, 205, 256}
 
const uint16_t ff_silk_model_mid_only [] = {256, 192, 256}
 
const uint16_t ff_silk_model_frame_type_inactive [] = {256, 26, 256}
 
const uint16_t ff_silk_model_frame_type_active [] = {256, 24, 98, 246, 256}
 
const uint16_t ff_silk_model_gain_highbits [3][9]
 
const uint16_t ff_silk_model_gain_lowbits [] = {256, 32, 64, 96, 128, 160, 192, 224, 256}
 
const uint16_t ff_silk_model_gain_delta []
 
const uint16_t ff_silk_model_lsf_s1 [2][2][33]
 
const uint16_t ff_silk_model_lsf_s2 [32][10]
 
const uint16_t ff_silk_model_lsf_s2_ext [] = { 256, 156, 216, 240, 249, 253, 255, 256 }
 
const uint16_t ff_silk_model_lsf_interpolation_offset [] = { 256, 13, 35, 64, 75, 256 }
 
const uint16_t ff_silk_model_pitch_highbits []
 
const uint16_t ff_silk_model_pitch_lowbits_nb [] = { 256, 64, 128, 192, 256 }
 
const uint16_t ff_silk_model_pitch_lowbits_mb [] = { 256, 43, 85, 128, 171, 213, 256 }
 
const uint16_t ff_silk_model_pitch_lowbits_wb [] = { 256, 32, 64, 96, 128, 160, 192, 224, 256 }
 
const uint16_t ff_silk_model_pitch_delta []
 
const uint16_t ff_silk_model_pitch_contour_nb10ms [] = { 256, 143, 193, 256 }
 
const uint16_t ff_silk_model_pitch_contour_nb20ms []
 
const uint16_t ff_silk_model_pitch_contour_mbwb10ms []
 
const uint16_t ff_silk_model_pitch_contour_mbwb20ms []
 
const uint16_t ff_silk_model_ltp_filter [] = { 256, 77, 157, 256 }
 
const uint16_t ff_silk_model_ltp_filter0_sel []
 
const uint16_t ff_silk_model_ltp_filter1_sel []
 
const uint16_t ff_silk_model_ltp_filter2_sel []
 
const uint16_t ff_silk_model_ltp_scale_index [] = { 256, 128, 192, 256 }
 
const uint16_t ff_silk_model_lcg_seed [] = { 256, 64, 128, 192, 256 }
 
const uint16_t ff_silk_model_exc_rate [2][10]
 
const uint16_t ff_silk_model_pulse_count [11][19]
 
const uint16_t ff_silk_model_pulse_location [4][168]
 
const uint16_t ff_silk_model_excitation_lsb [] = {256, 136, 256}
 
const uint16_t ff_silk_model_excitation_sign [3][2][7][3]
 
const int16_t ff_silk_stereo_weights []
 
const uint8_t ff_silk_lsf_s2_model_sel_nbmb [32][10]
 
const uint8_t ff_silk_lsf_s2_model_sel_wb [32][16]
 
const uint8_t ff_silk_lsf_pred_weights_nbmb [2][9]
 
const uint8_t ff_silk_lsf_pred_weights_wb [2][15]
 
const uint8_t ff_silk_lsf_weight_sel_nbmb [32][9]
 
const uint8_t ff_silk_lsf_weight_sel_wb [32][15]
 
const uint8_t ff_silk_lsf_codebook_nbmb [32][10]
 
const uint8_t ff_silk_lsf_codebook_wb [32][16]
 
const uint16_t ff_silk_lsf_min_spacing_nbmb []
 
const uint16_t ff_silk_lsf_min_spacing_wb []
 
const uint8_t ff_silk_lsf_ordering_nbmb []
 
const uint8_t ff_silk_lsf_ordering_wb []
 
const int16_t ff_silk_cosine []
 
const uint16_t ff_silk_pitch_scale [] = { 4, 6, 8}
 
const uint16_t ff_silk_pitch_min_lag [] = { 16, 24, 32}
 
const uint16_t ff_silk_pitch_max_lag [] = {144, 216, 288}
 
const int8_t ff_silk_pitch_offset_nb10ms [3][2]
 
const int8_t ff_silk_pitch_offset_nb20ms [11][4]
 
const int8_t ff_silk_pitch_offset_mbwb10ms [12][2]
 
const int8_t ff_silk_pitch_offset_mbwb20ms [34][4]
 
const int8_t ff_silk_ltp_filter0_taps [8][5]
 
const int8_t ff_silk_ltp_filter1_taps [16][5]
 
const int8_t ff_silk_ltp_filter2_taps [32][5]
 
const uint16_t ff_silk_ltp_scale_factor [] = {15565, 12288, 8192}
 
const uint8_t ff_silk_shell_blocks [3][2]
 
const uint8_t ff_silk_quant_offset [2][2]
 
const int ff_silk_stereo_interp_len [3]
 
const uint16_t ff_celt_model_tapset [] = { 4, 2, 3, 4 }
 
const uint16_t ff_celt_model_spread [] = { 32, 7, 9, 30, 32 }
 
const uint16_t ff_celt_model_alloc_trim []
 
const uint16_t ff_celt_model_energy_small [] = { 4, 2, 3, 4 }
 
const uint8_t ff_celt_freq_bands []
 
const uint8_t ff_celt_freq_range []
 
const uint8_t ff_celt_log_freq_range []
 
const int8_t ff_celt_tf_select [4][2][2][2]
 
const float ff_celt_mean_energy []
 
const float ff_celt_alpha_coef []
 
const float ff_celt_beta_coef []
 
const uint8_t ff_celt_coarse_energy_dist [4][2][42]
 
const uint8_t ff_celt_static_alloc [11][21]
 
const uint8_t ff_celt_static_caps [4][2][21]
 
const uint8_t ff_celt_cache_bits [392]
 
const int16_t ff_celt_cache_index [105]
 
const uint8_t ff_celt_log2_frac []
 
const uint8_t ff_celt_bit_interleave []
 
const uint8_t ff_celt_bit_deinterleave []
 
const uint8_t ff_celt_hadamard_order []
 
const uint16_t ff_celt_qn_exp2 []
 
const uint32_t ff_celt_pvq_u [1272]
 
const float ff_celt_postfilter_taps [3][3]
 
static const float ff_celt_window_padded [136]
 
const float * ff_celt_window = &ff_celt_window_padded[8]
 
const float ff_celt_window2 [120]
 
const uint32_t *const ff_celt_pvq_u_row [15]
 

Variable Documentation

const uint8_t ff_opus_default_coupled_streams[] = { 0, 1, 1, 2, 2, 2, 2, 3 }

Definition at line 25 of file opustab.c.

Referenced by opus_encode_init().

const uint8_t ff_celt_band_end[] = { 13, 17, 17, 19, 21 }
const uint16_t ff_silk_model_stereo_s1[]
Initial value:
= {
256, 7, 9, 10, 11, 12, 22, 46, 54, 55, 56, 59, 82, 174, 197, 200,
201, 202, 210, 234, 244, 245, 246, 247, 249, 256
}

Definition at line 29 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_stereo_s2[] = {256, 85, 171, 256}

Definition at line 34 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_stereo_s3[] = {256, 51, 102, 154, 205, 256}

Definition at line 36 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_mid_only[] = {256, 192, 256}

Definition at line 38 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_frame_type_inactive[] = {256, 26, 256}

Definition at line 40 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_frame_type_active[] = {256, 24, 98, 246, 256}

Definition at line 42 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_gain_highbits[3][9]
Initial value:
= {
{256, 32, 144, 212, 241, 253, 254, 255, 256},
{256, 2, 19, 64, 124, 186, 233, 252, 256},
{256, 1, 4, 30, 101, 195, 245, 254, 256}
}

Definition at line 44 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_gain_lowbits[] = {256, 32, 64, 96, 128, 160, 192, 224, 256}

Definition at line 50 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_gain_delta[]
Initial value:
= {
256, 6, 11, 22, 53, 185, 206, 214, 218, 221, 223, 225, 227, 228, 229, 230,
231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246,
247, 248, 249, 250, 251, 252, 253, 254, 255, 256
}

Definition at line 52 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_lsf_s1[2][2][33]
Initial value:
= {
{
{
256, 44, 78, 108, 127, 148, 160, 171, 174, 177, 179, 195, 197, 199, 200, 205,
207, 208, 211, 214, 215, 216, 218, 220, 222, 225, 226, 235, 244, 246, 253, 255, 256
}, {
256, 1, 11, 12, 20, 23, 31, 39, 53, 66, 80, 81, 95, 107, 120, 131,
142, 154, 165, 175, 185, 196, 204, 213, 221, 228, 236, 237, 238, 244, 245, 251, 256
}
}, {
{
256, 31, 52, 55, 72, 73, 81, 98, 102, 103, 121, 137, 141, 143, 146, 147,
157, 158, 161, 177, 188, 204, 206, 208, 211, 213, 224, 225, 229, 238, 246, 253, 256
}, {
256, 1, 5, 21, 26, 44, 55, 60, 74, 89, 90, 93, 105, 118, 132, 146,
152, 166, 178, 180, 186, 187, 199, 211, 222, 232, 235, 245, 250, 251, 252, 253, 256
}
}
}

Definition at line 57 of file opustab.c.

Referenced by silk_decode_lpc().

const uint16_t ff_silk_model_lsf_s2[32][10]
Initial value:
= {
{ 256, 1, 2, 3, 18, 242, 253, 254, 255, 256 },
{ 256, 1, 2, 4, 38, 221, 253, 254, 255, 256 },
{ 256, 1, 2, 6, 48, 197, 252, 254, 255, 256 },
{ 256, 1, 2, 10, 62, 185, 246, 254, 255, 256 },
{ 256, 1, 4, 20, 73, 174, 248, 254, 255, 256 },
{ 256, 1, 4, 21, 76, 166, 239, 254, 255, 256 },
{ 256, 1, 8, 32, 85, 159, 226, 252, 255, 256 },
{ 256, 1, 2, 20, 83, 161, 219, 249, 255, 256 },
{ 256, 1, 2, 3, 12, 244, 253, 254, 255, 256 },
{ 256, 1, 2, 4, 32, 218, 253, 254, 255, 256 },
{ 256, 1, 2, 5, 47, 199, 252, 254, 255, 256 },
{ 256, 1, 2, 12, 61, 187, 252, 254, 255, 256 },
{ 256, 1, 5, 24, 72, 172, 249, 254, 255, 256 },
{ 256, 1, 2, 16, 70, 170, 242, 254, 255, 256 },
{ 256, 1, 2, 17, 78, 165, 226, 251, 255, 256 },
{ 256, 1, 8, 29, 79, 156, 237, 254, 255, 256 }
}

Definition at line 77 of file opustab.c.

Referenced by silk_decode_lpc().

const uint16_t ff_silk_model_lsf_s2_ext[] = { 256, 156, 216, 240, 249, 253, 255, 256 }

Definition at line 99 of file opustab.c.

Referenced by silk_decode_lpc().

const uint16_t ff_silk_model_lsf_interpolation_offset[] = { 256, 13, 35, 64, 75, 256 }

Definition at line 101 of file opustab.c.

Referenced by silk_decode_lpc().

const uint16_t ff_silk_model_pitch_highbits[]
Initial value:
= {
256, 3, 6, 12, 23, 44, 74, 106, 125, 136, 146, 158, 171, 184, 196, 207,
216, 224, 231, 237, 241, 243, 245, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256
}

Definition at line 103 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_lowbits_nb[] = { 256, 64, 128, 192, 256 }

Definition at line 108 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_lowbits_mb[] = { 256, 43, 85, 128, 171, 213, 256 }

Definition at line 110 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_lowbits_wb[] = { 256, 32, 64, 96, 128, 160, 192, 224, 256 }

Definition at line 112 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_delta[]
Initial value:
= {
256, 46, 48, 50, 53, 57, 63, 73, 88, 114, 152, 182, 204, 219, 229, 236,
242, 246, 250, 252, 254, 256
}

Definition at line 114 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_contour_nb10ms[] = { 256, 143, 193, 256 }

Definition at line 119 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_contour_nb20ms[]
Initial value:
= {
256, 68, 80, 101, 118, 137, 159, 189, 213, 230, 246, 256
}

Definition at line 121 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_contour_mbwb10ms[]
Initial value:
= {
256, 91, 137, 176, 195, 209, 221, 229, 236, 242, 247, 252, 256
}

Definition at line 125 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_pitch_contour_mbwb20ms[]
Initial value:
= {
256, 33, 55, 73, 89, 104, 118, 132, 145, 158, 168, 177, 186, 194, 200, 206,
212, 217, 221, 225, 229, 232, 235, 238, 240, 242, 244, 246, 248, 250, 252, 253,
254, 255, 256
}

Definition at line 129 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_ltp_filter[] = { 256, 77, 157, 256 }

Definition at line 135 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_ltp_filter0_sel[]
Initial value:
= {
256, 185, 200, 213, 226, 235, 244, 250, 256
}

Definition at line 137 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_ltp_filter1_sel[]
Initial value:
= {
256, 57, 91, 112, 132, 147, 160, 172, 185, 195, 205, 214, 224, 233, 241, 248, 256
}

Definition at line 141 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_ltp_filter2_sel[]
Initial value:
= {
256, 15, 31, 45, 57, 69, 81, 92, 103, 114, 124, 133, 142, 151, 160, 168,
176, 184, 192, 199, 206, 212, 218, 223, 227, 232, 236, 240, 244, 247, 251, 254, 256
}

Definition at line 145 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_ltp_scale_index[] = { 256, 128, 192, 256 }

Definition at line 150 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_model_lcg_seed[] = { 256, 64, 128, 192, 256 }

Definition at line 152 of file opustab.c.

Referenced by silk_decode_excitation().

const uint16_t ff_silk_model_exc_rate[2][10]
Initial value:
= {
{ 256, 15, 66, 78, 124, 169, 182, 215, 242, 256 },
{ 256, 33, 63, 99, 116, 150, 199, 217, 238, 256 }
}

Definition at line 154 of file opustab.c.

Referenced by silk_decode_excitation().

const uint16_t ff_silk_model_pulse_count[11][19]
Initial value:
= {
{ 256, 131, 205, 230, 238, 241, 244, 245, 246,
247, 248, 249, 250, 251, 252, 253, 254, 255, 256 },
{ 256, 58, 151, 211, 234, 241, 244, 245, 246,
247, 248, 249, 250, 251, 252, 253, 254, 255, 256 },
{ 256, 43, 94, 140, 173, 197, 213, 224, 232,
238, 241, 244, 247, 249, 250, 251, 253, 254, 256 },
{ 256, 17, 69, 140, 197, 228, 240, 245, 246,
247, 248, 249, 250, 251, 252, 253, 254, 255, 256 },
{ 256, 6, 27, 68, 121, 170, 205, 226, 237,
243, 246, 248, 250, 251, 252, 253, 254, 255, 256 },
{ 256, 7, 21, 43, 71, 100, 128, 153, 173,
190, 203, 214, 223, 230, 235, 239, 243, 246, 256 },
{ 256, 2, 7, 21, 50, 92, 138, 179, 210,
229, 240, 246, 249, 251, 252, 253, 254, 255, 256 },
{ 256, 1, 3, 7, 17, 36, 65, 100, 137,
171, 199, 219, 233, 241, 246, 250, 252, 254, 256 },
{ 256, 1, 3, 5, 10, 19, 33, 53, 77,
104, 132, 158, 181, 201, 216, 227, 235, 241, 256 },
{ 256, 1, 2, 3, 9, 36, 94, 150, 189,
214, 228, 238, 244, 247, 250, 252, 253, 254, 256 },
{ 256, 2, 3, 9, 36, 94, 150, 189, 214,
228, 238, 244, 247, 250, 252, 253, 254, 256, 256 }
}

Definition at line 159 of file opustab.c.

Referenced by silk_decode_excitation().

const uint16_t ff_silk_model_pulse_location[4][168]

Definition at line 184 of file opustab.c.

Referenced by silk_count_children().

const uint16_t ff_silk_model_excitation_lsb[] = {256, 136, 256}

Definition at line 256 of file opustab.c.

Referenced by silk_decode_excitation().

const uint16_t ff_silk_model_excitation_sign[3][2][7][3]

Definition at line 258 of file opustab.c.

Referenced by silk_decode_excitation().

const int16_t ff_silk_stereo_weights[]
Initial value:
= {
-13732, -10050, -8266, -7526, -6500, -5000, -2950, -820,
820, 2950, 5000, 6500, 7526, 8266, 10050, 13732
}

Definition at line 316 of file opustab.c.

Referenced by silk_decode_frame().

const uint8_t ff_silk_lsf_s2_model_sel_nbmb[32][10]

Definition at line 321 of file opustab.c.

Referenced by silk_decode_lpc().

const uint8_t ff_silk_lsf_s2_model_sel_wb[32][16]

Definition at line 356 of file opustab.c.

Referenced by silk_decode_lpc().

const uint8_t ff_silk_lsf_pred_weights_nbmb[2][9]
Initial value:
= {
{179, 138, 140, 148, 151, 149, 153, 151, 163},
{116, 67, 82, 59, 92, 72, 100, 89, 92}
}

Definition at line 391 of file opustab.c.

Referenced by silk_decode_lpc().

const uint8_t ff_silk_lsf_pred_weights_wb[2][15]
Initial value:
= {
{175, 148, 160, 176, 178, 173, 174, 164, 177, 174, 196, 182, 198, 192, 182},
{ 68, 62, 66, 60, 72, 117, 85, 90, 118, 136, 151, 142, 160, 142, 155}
}

Definition at line 396 of file opustab.c.

Referenced by silk_decode_lpc().

const uint8_t ff_silk_lsf_weight_sel_nbmb[32][9]

Definition at line 401 of file opustab.c.

Referenced by silk_decode_lpc().

const uint8_t ff_silk_lsf_weight_sel_wb[32][15]

Definition at line 436 of file opustab.c.

Referenced by silk_decode_lpc().

const uint8_t ff_silk_lsf_codebook_nbmb[32][10]

Definition at line 471 of file opustab.c.

Referenced by silk_decode_lpc().

const uint8_t ff_silk_lsf_codebook_wb[32][16]

Definition at line 506 of file opustab.c.

Referenced by silk_decode_lpc().

const uint16_t ff_silk_lsf_min_spacing_nbmb[]
Initial value:
= {
250, 3, 6, 3, 3, 3, 4, 3, 3, 3, 461
}

Definition at line 541 of file opustab.c.

Referenced by silk_decode_lpc().

const uint16_t ff_silk_lsf_min_spacing_wb[]
Initial value:
= {
100, 3, 40, 3, 3, 3, 5, 14, 14, 10, 11, 3, 8, 9, 7, 3, 347
}

Definition at line 545 of file opustab.c.

Referenced by silk_decode_lpc().

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

Definition at line 549 of file opustab.c.

Referenced by silk_lsf2lpc().

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

Definition at line 553 of file opustab.c.

Referenced by silk_lsf2lpc().

const int16_t ff_silk_cosine[]

Definition at line 557 of file opustab.c.

Referenced by silk_lsf2lpc().

const uint16_t ff_silk_pitch_scale[] = { 4, 6, 8}

Definition at line 593 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_pitch_min_lag[] = { 16, 24, 32}

Definition at line 595 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_pitch_max_lag[] = {144, 216, 288}

Definition at line 597 of file opustab.c.

Referenced by silk_decode_frame().

const int8_t ff_silk_pitch_offset_nb10ms[3][2]
Initial value:
= {
{ 0, 0},
{ 1, 0},
{ 0, 1}
}

Definition at line 599 of file opustab.c.

Referenced by silk_decode_frame().

const int8_t ff_silk_pitch_offset_nb20ms[11][4]
Initial value:
= {
{ 0, 0, 0, 0},
{ 2, 1, 0, -1},
{-1, 0, 1, 2},
{-1, 0, 0, 1},
{-1, 0, 0, 0},
{ 0, 0, 0, 1},
{ 0, 0, 1, 1},
{ 1, 1, 0, 0},
{ 1, 0, 0, 0},
{ 0, 0, 0, -1},
{ 1, 0, 0, -1}
}

Definition at line 605 of file opustab.c.

Referenced by silk_decode_frame().

const int8_t ff_silk_pitch_offset_mbwb10ms[12][2]
Initial value:
= {
{ 0, 0},
{ 0, 1},
{ 1, 0},
{-1, 1},
{ 1, -1},
{-1, 2},
{ 2, -1},
{-2, 2},
{ 2, -2},
{-2, 3},
{ 3, -2},
{-3, 3}
}

Definition at line 619 of file opustab.c.

Referenced by silk_decode_frame().

const int8_t ff_silk_pitch_offset_mbwb20ms[34][4]

Definition at line 634 of file opustab.c.

Referenced by silk_decode_frame().

const int8_t ff_silk_ltp_filter0_taps[8][5]
Initial value:
= {
{ 4, 6, 24, 7, 5},
{ 0, 0, 2, 0, 0},
{ 12, 28, 41, 13, -4},
{ -9, 15, 42, 25, 14},
{ 1, -2, 62, 41, -9},
{-10, 37, 65, -4, 3},
{ -6, 4, 66, 7, -8},
{ 16, 14, 38, -3, 33}
}

Definition at line 671 of file opustab.c.

Referenced by silk_decode_frame().

const int8_t ff_silk_ltp_filter1_taps[16][5]
Initial value:
= {
{ 13, 22, 39, 23, 12},
{ -1, 36, 64, 27, -6},
{ -7, 10, 55, 43, 17},
{ 1, 1, 8, 1, 1},
{ 6, -11, 74, 53, -9},
{-12, 55, 76, -12, 8},
{ -3, 3, 93, 27, -4},
{ 26, 39, 59, 3, -8},
{ 2, 0, 77, 11, 9},
{ -8, 22, 44, -6, 7},
{ 40, 9, 26, 3, 9},
{ -7, 20, 101, -7, 4},
{ 3, -8, 42, 26, 0},
{-15, 33, 68, 2, 23},
{ -2, 55, 46, -2, 15},
{ 3, -1, 21, 16, 41}
}

Definition at line 682 of file opustab.c.

Referenced by silk_decode_frame().

const int8_t ff_silk_ltp_filter2_taps[32][5]

Definition at line 701 of file opustab.c.

Referenced by silk_decode_frame().

const uint16_t ff_silk_ltp_scale_factor[] = {15565, 12288, 8192}

Definition at line 736 of file opustab.c.

Referenced by silk_decode_frame().

const uint8_t ff_silk_shell_blocks[3][2]
Initial value:
= {
{ 5, 10},
{ 8, 15},
{10, 20}
}

Definition at line 738 of file opustab.c.

Referenced by silk_decode_excitation().

const uint8_t ff_silk_quant_offset[2][2]
Initial value:
= {
{25, 60},
{ 8, 25}
}

Definition at line 744 of file opustab.c.

Referenced by silk_decode_excitation().

const int ff_silk_stereo_interp_len[3]
Initial value:
= {
64, 96, 128
}

Definition at line 749 of file opustab.c.

Referenced by silk_unmix_ms().

const uint16_t ff_celt_model_tapset[] = { 4, 2, 3, 4 }

Definition at line 753 of file opustab.c.

Referenced by celt_enc_quant_pfilter(), and parse_postfilter().

const uint16_t ff_celt_model_spread[] = { 32, 7, 9, 30, 32 }

Definition at line 755 of file opustab.c.

Referenced by celt_decode_allocation(), and ff_celt_enc_bitalloc().

const uint16_t ff_celt_model_alloc_trim[]
Initial value:
= {
128, 2, 4, 9, 19, 41, 87, 109, 119, 124, 126, 128
}

Definition at line 757 of file opustab.c.

Referenced by celt_decode_allocation(), and ff_celt_enc_bitalloc().

const uint16_t ff_celt_model_energy_small[] = { 4, 2, 3, 4 }

Definition at line 761 of file opustab.c.

Referenced by celt_decode_coarse_energy(), and exp_quant_coarse().

const uint8_t ff_celt_freq_bands[]
Initial value:
= {
0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 34, 40, 48, 60, 78, 100
}

Definition at line 763 of file opustab.c.

Referenced by celt_decode_allocation(), celt_decode_bands(), celt_denormalize(), celt_frame_mdct(), celt_quant_bands(), ff_celt_enc_bitalloc(), process_anticollapse(), pvq_band_cost(), and step_collect_psy_metrics().

const uint8_t ff_celt_freq_range[]
Initial value:
= {
1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 6, 6, 8, 12, 18, 22
}

Definition at line 767 of file opustab.c.

Referenced by celt_decode_allocation(), celt_decode_bands(), celt_denormalize(), celt_frame_mdct(), celt_quant_bands(), ff_celt_enc_bitalloc(), process_anticollapse(), pvq_band_cost(), and step_collect_psy_metrics().

const uint8_t ff_celt_log_freq_range[]
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 8, 16, 16, 16, 21, 21, 24, 29, 34, 36
}

Definition at line 771 of file opustab.c.

Referenced by celt_decode_allocation(), ff_celt_enc_bitalloc(), and quant_band_template().

const int8_t ff_celt_tf_select[4][2][2][2]
Initial value:
= {
{ { { 0, -1 }, { 0, -1 } }, { { 0, -1 }, { 0, -1 } } },
{ { { 0, -1 }, { 0, -2 } }, { { 1, 0 }, { 1, -1 } } },
{ { { 0, -2 }, { 0, -3 } }, { { 2, 0 }, { 1, -1 } } },
{ { { 0, -2 }, { 0, -3 } }, { { 3, 0 }, { 1, -1 } } }
}

Definition at line 777 of file opustab.c.

Referenced by celt_decode_tf_changes(), celt_enc_tf(), and celt_search_for_tf().

const float ff_celt_mean_energy[]
Initial value:
= {
6.437500f, 6.250000f, 5.750000f, 5.312500f, 5.062500f,
4.812500f, 4.500000f, 4.375000f, 4.875000f, 4.687500f,
4.562500f, 4.437500f, 4.875000f, 4.625000f, 4.312500f,
4.500000f, 4.375000f, 4.625000f, 4.750000f, 4.437500f,
3.750000f, 3.750000f, 3.750000f, 3.750000f, 3.750000f
}

Definition at line 787 of file opustab.c.

Referenced by celt_denormalize(), and celt_frame_mdct().

const float ff_celt_alpha_coef[]
Initial value:
= {
29440.0f/32768.0f, 26112.0f/32768.0f, 21248.0f/32768.0f, 16384.0f/32768.0f
}

Definition at line 795 of file opustab.c.

Referenced by celt_decode_coarse_energy(), and exp_quant_coarse().

const float ff_celt_beta_coef[]
Initial value:
= {
1.0f - (30147.0f/32768.0f), 1.0f - (22282.0f/32768.0f), 1.0f - (12124.0f/32768.0f), 1.0f - (6554.0f/32768.0f),
}

Definition at line 799 of file opustab.c.

Referenced by celt_decode_coarse_energy(), and exp_quant_coarse().

const uint8_t ff_celt_coarse_energy_dist[4][2][42]

Definition at line 803 of file opustab.c.

Referenced by celt_decode_coarse_energy(), and exp_quant_coarse().

const uint8_t ff_celt_static_alloc[11][21]
Initial value:
= {
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 90, 80, 75, 69, 63, 56, 49, 40, 34, 29, 20, 18, 10, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 110, 100, 90, 84, 78, 71, 65, 58, 51, 45, 39, 32, 26, 20, 12, 0, 0, 0, 0, 0, 0 },
{ 118, 110, 103, 93, 86, 80, 75, 70, 65, 59, 53, 47, 40, 31, 23, 15, 4, 0, 0, 0, 0 },
{ 126, 119, 112, 104, 95, 89, 83, 78, 72, 66, 60, 54, 47, 39, 32, 25, 17, 12, 1, 0, 0 },
{ 134, 127, 120, 114, 103, 97, 91, 85, 78, 72, 66, 60, 54, 47, 41, 35, 29, 23, 16, 10, 1 },
{ 144, 137, 130, 124, 113, 107, 101, 95, 88, 82, 76, 70, 64, 57, 51, 45, 39, 33, 26, 15, 1 },
{ 152, 145, 138, 132, 123, 117, 111, 105, 98, 92, 86, 80, 74, 67, 61, 55, 49, 43, 36, 20, 1 },
{ 162, 155, 148, 142, 133, 127, 121, 115, 108, 102, 96, 90, 84, 77, 71, 65, 59, 53, 46, 30, 1 },
{ 172, 165, 158, 152, 143, 137, 131, 125, 118, 112, 106, 100, 94, 87, 81, 75, 69, 63, 56, 45, 20 },
{ 200, 200, 200, 200, 200, 200, 200, 200, 198, 193, 188, 183, 178, 173, 168, 163, 158, 153, 148, 129, 104 }
}

Definition at line 847 of file opustab.c.

Referenced by celt_decode_allocation(), and ff_celt_enc_bitalloc().

const uint8_t ff_celt_static_caps[4][2][21]
Initial value:
= {
{
{224, 224, 224, 224, 224, 224, 224, 224, 160, 160,
160, 160, 185, 185, 185, 178, 178, 168, 134, 61, 37},
{224, 224, 224, 224, 224, 224, 224, 224, 240, 240,
240, 240, 207, 207, 207, 198, 198, 183, 144, 66, 40},
}, {
{160, 160, 160, 160, 160, 160, 160, 160, 185, 185,
185, 185, 193, 193, 193, 183, 183, 172, 138, 64, 38},
{240, 240, 240, 240, 240, 240, 240, 240, 207, 207,
207, 207, 204, 204, 204, 193, 193, 180, 143, 66, 40},
}, {
{185, 185, 185, 185, 185, 185, 185, 185, 193, 193,
193, 193, 193, 193, 193, 183, 183, 172, 138, 65, 39},
{207, 207, 207, 207, 207, 207, 207, 207, 204, 204,
204, 204, 201, 201, 201, 188, 188, 176, 141, 66, 40},
}, {
{193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
193, 193, 194, 194, 194, 184, 184, 173, 139, 65, 39},
{204, 204, 204, 204, 204, 204, 204, 204, 201, 201,
201, 201, 198, 198, 198, 187, 187, 175, 140, 66, 40}
}
}

Definition at line 861 of file opustab.c.

Referenced by celt_decode_allocation(), and ff_celt_enc_bitalloc().

const uint8_t ff_celt_cache_bits[392]
Initial value:
= {
40, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 40, 15, 23, 28,
31, 34, 36, 38, 39, 41, 42, 43, 44, 45, 46, 47, 47, 49, 50,
51, 52, 53, 54, 55, 55, 57, 58, 59, 60, 61, 62, 63, 63, 65,
66, 67, 68, 69, 70, 71, 71, 40, 20, 33, 41, 48, 53, 57, 61,
64, 66, 69, 71, 73, 75, 76, 78, 80, 82, 85, 87, 89, 91, 92,
94, 96, 98, 101, 103, 105, 107, 108, 110, 112, 114, 117, 119, 121, 123,
124, 126, 128, 40, 23, 39, 51, 60, 67, 73, 79, 83, 87, 91, 94,
97, 100, 102, 105, 107, 111, 115, 118, 121, 124, 126, 129, 131, 135, 139,
142, 145, 148, 150, 153, 155, 159, 163, 166, 169, 172, 174, 177, 179, 35,
28, 49, 65, 78, 89, 99, 107, 114, 120, 126, 132, 136, 141, 145, 149,
153, 159, 165, 171, 176, 180, 185, 189, 192, 199, 205, 211, 216, 220, 225,
229, 232, 239, 245, 251, 21, 33, 58, 79, 97, 112, 125, 137, 148, 157,
166, 174, 182, 189, 195, 201, 207, 217, 227, 235, 243, 251, 17, 35, 63,
86, 106, 123, 139, 152, 165, 177, 187, 197, 206, 214, 222, 230, 237, 250,
25, 31, 55, 75, 91, 105, 117, 128, 138, 146, 154, 161, 168, 174, 180,
185, 190, 200, 208, 215, 222, 229, 235, 240, 245, 255, 16, 36, 65, 89,
110, 128, 144, 159, 173, 185, 196, 207, 217, 226, 234, 242, 250, 11, 41,
74, 103, 128, 151, 172, 191, 209, 225, 241, 255, 9, 43, 79, 110, 138,
163, 186, 207, 227, 246, 12, 39, 71, 99, 123, 144, 164, 182, 198, 214,
228, 241, 253, 9, 44, 81, 113, 142, 168, 192, 214, 235, 255, 7, 49,
90, 127, 160, 191, 220, 247, 6, 51, 95, 134, 170, 203, 234, 7, 47,
87, 123, 155, 184, 212, 237, 6, 52, 97, 137, 174, 208, 240, 5, 57,
106, 151, 192, 231, 5, 59, 111, 158, 202, 243, 5, 55, 103, 147, 187,
224, 5, 60, 113, 161, 206, 248, 4, 65, 122, 175, 224, 4, 67, 127,
182, 234
}

Definition at line 885 of file opustab.c.

Referenced by quant_band_template().

const int16_t ff_celt_cache_index[105]
Initial value:
= {
-1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 41, 41, 41,
82, 82, 123, 164, 200, 222, 0, 0, 0, 0, 0, 0, 0, 0, 41,
41, 41, 41, 123, 123, 123, 164, 164, 240, 266, 283, 295, 41, 41, 41,
41, 41, 41, 41, 41, 123, 123, 123, 123, 240, 240, 240, 266, 266, 305,
318, 328, 336, 123, 123, 123, 123, 123, 123, 123, 123, 240, 240, 240, 240,
305, 305, 305, 318, 318, 343, 351, 358, 364, 240, 240, 240, 240, 240, 240,
240, 240, 305, 305, 305, 305, 343, 343, 343, 351, 351, 370, 376, 382, 387,
}

Definition at line 915 of file opustab.c.

Referenced by quant_band_template().

const uint8_t ff_celt_log2_frac[]
Initial value:
= {
0, 8, 13, 16, 19, 21, 23, 24, 26, 27, 28, 29, 30, 31, 32, 32, 33, 34, 34, 35, 36, 36, 37, 37
}

Definition at line 925 of file opustab.c.

Referenced by celt_decode_allocation(), and ff_celt_enc_bitalloc().

const uint8_t ff_celt_bit_interleave[]
Initial value:
= {
0, 1, 1, 1, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3
}

Definition at line 929 of file opustab.c.

Referenced by quant_band_template().

const uint8_t ff_celt_bit_deinterleave[]
Initial value:
= {
0x00, 0x03, 0x0C, 0x0F, 0x30, 0x33, 0x3C, 0x3F,
0xC0, 0xC3, 0xCC, 0xCF, 0xF0, 0xF3, 0xFC, 0xFF
}

Definition at line 933 of file opustab.c.

Referenced by quant_band_template().

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

Definition at line 938 of file opustab.c.

Referenced by celt_deinterleave_hadamard(), and celt_interleave_hadamard().

const uint16_t ff_celt_qn_exp2[]
Initial value:
= {
16384, 17866, 19483, 21247, 23170, 25267, 27554, 30048
}

Definition at line 946 of file opustab.c.

Referenced by celt_compute_qn().

const uint32_t ff_celt_pvq_u[1272]

Definition at line 950 of file opustab.c.

const float ff_celt_postfilter_taps[3][3]
Initial value:
= {
{ 0.3066406250f, 0.2170410156f, 0.1296386719f },
{ 0.4638671875f, 0.2680664062f, 0.0 },
{ 0.7998046875f, 0.1000976562f, 0.0 }
}

Definition at line 1093 of file opustab.c.

Referenced by celt_enc_quant_pfilter(), and parse_postfilter().

const float ff_celt_window_padded[136]
static
Initial value:
= {
0.00000000f, 0.00000000f, 0.00000000f, 0.00000000f,
0.00000000f, 0.00000000f, 0.00000000f, 0.00000000f,
6.7286966e-05f, 0.00060551348f, 0.0016815970f, 0.0032947962f, 0.0054439943f,
0.0081276923f, 0.011344001f, 0.015090633f, 0.019364886f, 0.024163635f,
0.029483315f, 0.035319905f, 0.041668911f, 0.048525347f, 0.055883718f,
0.063737999f, 0.072081616f, 0.080907428f, 0.090207705f, 0.099974111f,
0.11019769f, 0.12086883f, 0.13197729f, 0.14351214f, 0.15546177f,
0.16781389f, 0.18055550f, 0.19367290f, 0.20715171f, 0.22097682f,
0.23513243f, 0.24960208f, 0.26436860f, 0.27941419f, 0.29472040f,
0.31026818f, 0.32603788f, 0.34200931f, 0.35816177f, 0.37447407f,
0.39092462f, 0.40749142f, 0.42415215f, 0.44088423f, 0.45766484f,
0.47447104f, 0.49127978f, 0.50806798f, 0.52481261f, 0.54149077f,
0.55807973f, 0.57455701f, 0.59090049f, 0.60708841f, 0.62309951f,
0.63891306f, 0.65450896f, 0.66986776f, 0.68497077f, 0.69980010f,
0.71433873f, 0.72857055f, 0.74248043f, 0.75605424f, 0.76927895f,
0.78214257f, 0.79463430f, 0.80674445f, 0.81846456f, 0.82978733f,
0.84070669f, 0.85121779f, 0.86131698f, 0.87100183f, 0.88027111f,
0.88912479f, 0.89756398f, 0.90559094f, 0.91320904f, 0.92042270f,
0.92723738f, 0.93365955f, 0.93969656f, 0.94535671f, 0.95064907f,
0.95558353f, 0.96017067f, 0.96442171f, 0.96834849f, 0.97196334f,
0.97527906f, 0.97830883f, 0.98106616f, 0.98356480f, 0.98581869f,
0.98784191f, 0.98964856f, 0.99125274f, 0.99266849f, 0.99390969f,
0.99499004f, 0.99592297f, 0.99672162f, 0.99739874f, 0.99796667f,
0.99843728f, 0.99882195f, 0.99913147f, 0.99937606f, 0.99956527f,
0.99970802f, 0.99981248f, 0.99988613f, 0.99993565f, 0.99996697f,
0.99998518f, 0.99999457f, 0.99999859f, 0.99999982f, 1.00000000f,
1.00000000f, 1.00000000f, 1.00000000f, 1.00000000f, 1.00000000f,
1.00000000f, 1.00000000f, 1.00000000f,
}

Definition at line 1099 of file opustab.c.

const float* ff_celt_window = &ff_celt_window_padded[8]

Definition at line 1130 of file opustab.c.

Referenced by celt_frame_mdct(), and ff_celt_decode_frame().

const float ff_celt_window2[120]
Initial value:
= {
4.5275357e-09f, 3.66647e-07f, 2.82777e-06f, 1.08557e-05f, 2.96371e-05f, 6.60594e-05f,
0.000128686f, 0.000227727f, 0.000374999f, 0.000583881f, 0.000869266f, 0.0012475f,
0.0017363f, 0.00235471f, 0.00312299f, 0.00406253f, 0.00519576f, 0.00654601f,
0.00813743f, 0.00999482f, 0.0121435f, 0.0146093f, 0.017418f, 0.0205957f, 0.0241684f,
0.0281615f, 0.0326003f, 0.0375092f, 0.0429118f, 0.0488308f, 0.0552873f, 0.0623012f,
0.0698908f, 0.0780723f, 0.0868601f, 0.0962664f, 0.106301f, 0.11697f, 0.12828f,
0.140231f, 0.152822f, 0.166049f, 0.179905f, 0.194379f, 0.209457f, 0.225123f, 0.241356f,
0.258133f, 0.275428f, 0.293212f, 0.311453f, 0.330116f, 0.349163f, 0.368556f, 0.388253f,
0.40821f, 0.428382f, 0.448723f, 0.469185f, 0.48972f, 0.51028f, 0.530815f, 0.551277f,
0.571618f, 0.59179f, 0.611747f, 0.631444f, 0.650837f, 0.669884f, 0.688547f, 0.706788f,
0.724572f, 0.741867f, 0.758644f, 0.774877f, 0.790543f, 0.805621f, 0.820095f, 0.833951f,
0.847178f, 0.859769f, 0.87172f, 0.88303f, 0.893699f, 0.903734f, 0.91314f, 0.921928f,
0.930109f, 0.937699f, 0.944713f, 0.951169f, 0.957088f, 0.962491f, 0.9674f, 0.971838f,
0.975832f, 0.979404f, 0.982582f, 0.985391f, 0.987857f, 0.990005f, 0.991863f, 0.993454f,
0.994804f, 0.995937f, 0.996877f, 0.997645f, 0.998264f, 0.998753f, 0.999131f, 0.999416f,
0.999625f, 0.999772f, 0.999871f, 0.999934f, 0.99997f, 0.999989f, 0.999997f, 0.99999964f, 1.0f,
}

Definition at line 1133 of file opustab.c.

Referenced by celt_postfilter_apply_transition(), opus_decode_frame(), and opus_flush_resample().

const uint32_t* const ff_celt_pvq_u_row[15]
Initial value:
= {
ff_celt_pvq_u + 0, ff_celt_pvq_u + 176, ff_celt_pvq_u + 351,
ff_celt_pvq_u + 525, ff_celt_pvq_u + 698, ff_celt_pvq_u + 870,
ff_celt_pvq_u + 1041, ff_celt_pvq_u + 1131, ff_celt_pvq_u + 1178,
ff_celt_pvq_u + 1207, ff_celt_pvq_u + 1226, ff_celt_pvq_u + 1240,
ff_celt_pvq_u + 1248, ff_celt_pvq_u + 1254, ff_celt_pvq_u + 1257
}
const uint32_t ff_celt_pvq_u[1272]
Definition: opustab.c:950

Definition at line 1152 of file opustab.c.

Referenced by celt_cwrsi().