summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/silk/shell_coder.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-01-04 02:01:18 -0600
committerSolomon Peachy <pizza@shaftnet.org>2021-04-23 14:23:04 +0000
commit14c6bb798d6bebc80f07e863236adbaf8d156a9c (patch)
tree551a4b641906c2626af844fa3239c1b2b1ff0ad3 /lib/rbcodec/codecs/libopus/silk/shell_coder.c
parent75d93937965ec4df70d37df6d4feea04577c996b (diff)
downloadrockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.tar.gz
rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.zip
Sync opus codec to upstream git
Change-Id: I0cfcc0005c4ad7bfbb1aaf454188ce70fb043dc1
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/shell_coder.c')
-rw-r--r--lib/rbcodec/codecs/libopus/silk/shell_coder.c4
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
49static OPUS_INLINE void encode_split( 48static 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
62static OPUS_INLINE void decode_split( 60static 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 */
81void silk_shell_encoder( 78void 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 */