public class SumSqrShift
extends java.lang.Object
Constructor and Description |
---|
SumSqrShift() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
SKP_Silk_sum_sqr_shift(int[] energy,
int[] shift,
short[] x,
int x_offset,
int len)
Compute number of bits to right shift the sum of squares of a vector
of int16s to make it fit in an int32.
|
static void SKP_Silk_sum_sqr_shift(int[] energy, int[] shift, short[] x, int x_offset, int len)
energy
- Energy of x, after shifting to the right.shift
- Number of bits right shift applied to energy.x
- Input vector.x_offset
- offset of valid data.len
- Length of input vector.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.