diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/shell_coder.c')
-rw-r--r-- | lib/rbcodec/codecs/libopus/silk/shell_coder.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/shell_coder.c b/lib/rbcodec/codecs/libopus/silk/shell_coder.c index d80dd51f9e..4af341474b 100644 --- a/lib/rbcodec/codecs/libopus/silk/shell_coder.c +++ b/lib/rbcodec/codecs/libopus/silk/shell_coder.c | |||
@@ -45,7 +45,6 @@ static OPUS_INLINE void combine_pulses( | |||
45 | } | 45 | } |
46 | } | 46 | } |
47 | 47 | ||
48 | #if 0 | ||
49 | static OPUS_INLINE void encode_split( | 48 | static OPUS_INLINE void encode_split( |
50 | ec_enc *psRangeEnc, /* I/O compressor data structure */ | 49 | ec_enc *psRangeEnc, /* I/O compressor data structure */ |
51 | const opus_int p_child1, /* I pulse amplitude of first child subframe */ | 50 | const opus_int p_child1, /* I pulse amplitude of first child subframe */ |
@@ -57,7 +56,6 @@ static OPUS_INLINE void encode_split( | |||
57 | ec_enc_icdf( psRangeEnc, p_child1, &shell_table[ silk_shell_code_table_offsets[ p ] ], 8 ); | 56 | ec_enc_icdf( psRangeEnc, p_child1, &shell_table[ silk_shell_code_table_offsets[ p ] ], 8 ); |
58 | } | 57 | } |
59 | } | 58 | } |
60 | #endif | ||
61 | 59 | ||
62 | static OPUS_INLINE void decode_split( | 60 | static OPUS_INLINE void decode_split( |
63 | opus_int16 *p_child1, /* O pulse amplitude of first child subframe */ | 61 | opus_int16 *p_child1, /* O pulse amplitude of first child subframe */ |
@@ -76,7 +74,6 @@ static OPUS_INLINE void decode_split( | |||
76 | } | 74 | } |
77 | } | 75 | } |
78 | 76 | ||
79 | #if 0 | ||
80 | /* Shell encoder, operates on one shell code frame of 16 pulses */ | 77 | /* Shell encoder, operates on one shell code frame of 16 pulses */ |
81 | void silk_shell_encoder( | 78 | void silk_shell_encoder( |
82 | ec_enc *psRangeEnc, /* I/O compressor data structure */ | 79 | ec_enc *psRangeEnc, /* I/O compressor data structure */ |
@@ -116,7 +113,6 @@ void silk_shell_encoder( | |||
116 | encode_split( psRangeEnc, pulses0[ 12 ], pulses1[ 6 ], silk_shell_code_table0 ); | 113 | encode_split( psRangeEnc, pulses0[ 12 ], pulses1[ 6 ], silk_shell_code_table0 ); |
117 | encode_split( psRangeEnc, pulses0[ 14 ], pulses1[ 7 ], silk_shell_code_table0 ); | 114 | encode_split( psRangeEnc, pulses0[ 14 ], pulses1[ 7 ], silk_shell_code_table0 ); |
118 | } | 115 | } |
119 | #endif | ||
120 | 116 | ||
121 | 117 | ||
122 | /* Shell decoder, operates on one shell code frame of 16 pulses */ | 118 | /* Shell decoder, operates on one shell code frame of 16 pulses */ |