Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Vos <koen.vos@skype.net>2011-10-29 03:44:26 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-29 03:44:26 +0400
commitacc7a6c78b266e3ef0e1f91ee405af92a0989dec (patch)
treed3e32cc66cf96fecdaffc924ff0d051028b72f31 /silk/shell_coder.c
parent2d4f61409186c7efa831387bf14e2164607a805a (diff)
Reformatting changes with an update to the MSVC project files
Diffstat (limited to 'silk/shell_coder.c')
-rw-r--r--silk/shell_coder.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/silk/shell_coder.c b/silk/shell_coder.c
index 2793887e..9ec343c0 100644
--- a/silk/shell_coder.c
+++ b/silk/shell_coder.c
@@ -34,9 +34,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* shell coder; pulse-subframe length is hardcoded */
static inline void combine_pulses(
- opus_int *out, /* O: combined pulses vector [len] */
- const opus_int *in, /* I: input vector [2 * len] */
- const opus_int len /* I: number of OUTPUT samples */
+ opus_int *out, /* O combined pulses vector [len] */
+ const opus_int *in, /* I input vector [2 * len] */
+ const opus_int len /* I number of OUTPUT samples */
)
{
opus_int k;
@@ -47,9 +47,9 @@ static inline void combine_pulses(
static inline void encode_split(
ec_enc *psRangeEnc, /* I/O compressor data structure */
- const opus_int p_child1, /* I: pulse amplitude of first child subframe */
- const opus_int p, /* I: pulse amplitude of current subframe */
- const opus_uint8 *shell_table /* I: table of shell cdfs */
+ const opus_int p_child1, /* I pulse amplitude of first child subframe */
+ const opus_int p, /* I pulse amplitude of current subframe */
+ const opus_uint8 *shell_table /* I table of shell cdfs */
)
{
if( p > 0 ) {
@@ -58,11 +58,11 @@ static inline void encode_split(
}
static inline void decode_split(
- opus_int *p_child1, /* O: pulse amplitude of first child subframe */
- opus_int *p_child2, /* O: pulse amplitude of second child subframe */
+ opus_int *p_child1, /* O pulse amplitude of first child subframe */
+ opus_int *p_child2, /* O pulse amplitude of second child subframe */
ec_dec *psRangeDec, /* I/O Compressor data structure */
- const opus_int p, /* I: pulse amplitude of current subframe */
- const opus_uint8 *shell_table /* I: table of shell cdfs */
+ const opus_int p, /* I pulse amplitude of current subframe */
+ const opus_uint8 *shell_table /* I table of shell cdfs */
)
{
if( p > 0 ) {
@@ -76,8 +76,8 @@ static inline void decode_split(
/* Shell encoder, operates on one shell code frame of 16 pulses */
void silk_shell_encoder(
- ec_enc *psRangeEnc, /* I/O compressor data structure */
- const opus_int *pulses0 /* I data: nonnegative pulse amplitudes */
+ ec_enc *psRangeEnc, /* I/O compressor data structure */
+ const opus_int *pulses0 /* I data: nonnegative pulse amplitudes */
)
{
opus_int pulses1[ 8 ], pulses2[ 4 ], pulses3[ 2 ], pulses4[ 1 ];
@@ -117,9 +117,9 @@ void silk_shell_encoder(
/* Shell decoder, operates on one shell code frame of 16 pulses */
void silk_shell_decoder(
- opus_int *pulses0, /* O data: nonnegative pulse amplitudes */
- ec_dec *psRangeDec, /* I/O Compressor data structure */
- const opus_int pulses4 /* I number of pulses per pulse-subframe */
+ opus_int *pulses0, /* O data: nonnegative pulse amplitudes */
+ ec_dec *psRangeDec, /* I/O Compressor data structure */
+ const opus_int pulses4 /* I number of pulses per pulse-subframe */
)
{
opus_int pulses3[ 2 ], pulses2[ 4 ], pulses1[ 8 ];