summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/silk/tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/tables.h')
-rw-r--r--lib/rbcodec/codecs/libopus/silk/tables.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/tables.h b/lib/rbcodec/codecs/libopus/silk/tables.h
index a91431e854..95230c451a 100644
--- a/lib/rbcodec/codecs/libopus/silk/tables.h
+++ b/lib/rbcodec/codecs/libopus/silk/tables.h
@@ -47,8 +47,8 @@ extern const opus_uint8 silk_pitch_contour_NB_iCDF[ 11 ];
47extern const opus_uint8 silk_pitch_contour_10_ms_iCDF[ 12 ]; /* 12 */ 47extern const opus_uint8 silk_pitch_contour_10_ms_iCDF[ 12 ]; /* 12 */
48extern const opus_uint8 silk_pitch_contour_10_ms_NB_iCDF[ 3 ]; /* 3 */ 48extern const opus_uint8 silk_pitch_contour_10_ms_NB_iCDF[ 3 ]; /* 3 */
49 49
50extern const opus_uint8 silk_pulses_per_block_iCDF[ N_RATE_LEVELS ][ MAX_PULSES + 2 ]; /* 180 */ 50extern const opus_uint8 silk_pulses_per_block_iCDF[ N_RATE_LEVELS ][ SILK_MAX_PULSES + 2 ]; /* 180 */
51extern const opus_uint8 silk_pulses_per_block_BITS_Q5[ N_RATE_LEVELS - 1 ][ MAX_PULSES + 2 ]; /* 162 */ 51extern const opus_uint8 silk_pulses_per_block_BITS_Q5[ N_RATE_LEVELS - 1 ][ SILK_MAX_PULSES + 2 ]; /* 162 */
52 52
53extern const opus_uint8 silk_rate_levels_iCDF[ 2 ][ N_RATE_LEVELS - 1 ]; /* 18 */ 53extern const opus_uint8 silk_rate_levels_iCDF[ 2 ][ N_RATE_LEVELS - 1 ]; /* 18 */
54extern const opus_uint8 silk_rate_levels_BITS_Q5[ 2 ][ N_RATE_LEVELS - 1 ]; /* 18 */ 54extern const opus_uint8 silk_rate_levels_BITS_Q5[ 2 ][ N_RATE_LEVELS - 1 ]; /* 18 */
@@ -59,7 +59,7 @@ extern const opus_uint8 silk_shell_code_table0[ 152 ];
59extern const opus_uint8 silk_shell_code_table1[ 152 ]; /* 152 */ 59extern const opus_uint8 silk_shell_code_table1[ 152 ]; /* 152 */
60extern const opus_uint8 silk_shell_code_table2[ 152 ]; /* 152 */ 60extern const opus_uint8 silk_shell_code_table2[ 152 ]; /* 152 */
61extern const opus_uint8 silk_shell_code_table3[ 152 ]; /* 152 */ 61extern const opus_uint8 silk_shell_code_table3[ 152 ]; /* 152 */
62extern const opus_uint8 silk_shell_code_table_offsets[ MAX_PULSES + 1 ]; /* 17 */ 62extern const opus_uint8 silk_shell_code_table_offsets[ SILK_MAX_PULSES + 1 ]; /* 17 */
63 63
64extern const opus_uint8 silk_lsb_iCDF[ 2 ]; /* 2 */ 64extern const opus_uint8 silk_lsb_iCDF[ 2 ]; /* 2 */
65 65
@@ -76,10 +76,8 @@ extern const opus_uint8 silk_NLSF_EXT_iCDF[ 7 ];
76extern const opus_uint8 silk_LTP_per_index_iCDF[ 3 ]; /* 3 */ 76extern const opus_uint8 silk_LTP_per_index_iCDF[ 3 ]; /* 3 */
77extern const opus_uint8 * const silk_LTP_gain_iCDF_ptrs[ NB_LTP_CBKS ]; /* 3 */ 77extern const opus_uint8 * const silk_LTP_gain_iCDF_ptrs[ NB_LTP_CBKS ]; /* 3 */
78extern const opus_uint8 * const silk_LTP_gain_BITS_Q5_ptrs[ NB_LTP_CBKS ]; /* 3 */ 78extern const opus_uint8 * const silk_LTP_gain_BITS_Q5_ptrs[ NB_LTP_CBKS ]; /* 3 */
79extern const opus_int16 silk_LTP_gain_middle_avg_RD_Q14;
80extern const opus_int8 * const silk_LTP_vq_ptrs_Q7[ NB_LTP_CBKS ]; /* 168 */ 79extern const opus_int8 * const silk_LTP_vq_ptrs_Q7[ NB_LTP_CBKS ]; /* 168 */
81extern const opus_uint8 * const silk_LTP_vq_gain_ptrs_Q7[NB_LTP_CBKS]; 80extern const opus_uint8 * const silk_LTP_vq_gain_ptrs_Q7[NB_LTP_CBKS];
82
83extern const opus_int8 silk_LTP_vq_sizes[ NB_LTP_CBKS ]; /* 3 */ 81extern const opus_int8 silk_LTP_vq_sizes[ NB_LTP_CBKS ]; /* 3 */
84 82
85extern const opus_uint8 silk_LTPscale_iCDF[ 3 ]; /* 4 */ 83extern const opus_uint8 silk_LTPscale_iCDF[ 3 ]; /* 4 */
@@ -99,12 +97,6 @@ extern const opus_uint8 silk_NLSF_interpolation_factor_iCDF[ 5 ];
99extern const silk_NLSF_CB_struct silk_NLSF_CB_WB; /* 1040 */ 97extern const silk_NLSF_CB_struct silk_NLSF_CB_WB; /* 1040 */
100extern const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB; /* 728 */ 98extern const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB; /* 728 */
101 99
102/* Piece-wise linear mapping from bitrate in kbps to coding quality in dB SNR */
103extern const opus_int32 silk_TargetRate_table_NB[ TARGET_RATE_TAB_SZ ]; /* 32 */
104extern const opus_int32 silk_TargetRate_table_MB[ TARGET_RATE_TAB_SZ ]; /* 32 */
105extern const opus_int32 silk_TargetRate_table_WB[ TARGET_RATE_TAB_SZ ]; /* 32 */
106extern const opus_int16 silk_SNR_table_Q1[ TARGET_RATE_TAB_SZ ]; /* 32 */
107
108/* Quantization offsets */ 100/* Quantization offsets */
109extern const opus_int16 silk_Quantization_Offsets_Q10[ 2 ][ 2 ]; /* 8 */ 101extern const opus_int16 silk_Quantization_Offsets_Q10[ 2 ][ 2 ]; /* 8 */
110 102