public class ShellCoder
extends java.lang.Object
Constructor and Description |
---|
ShellCoder() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
combine_pulses(int[] out,
int out_offset,
int[] in,
int in_offset,
int len) |
(package private) static void |
decode_split(int[] p_child1,
int p_child1_offset,
int[] p_child2,
int p_child2_offset,
SKP_Silk_range_coder_state sRC,
int p,
int[] shell_table) |
(package private) static void |
encode_split(SKP_Silk_range_coder_state sRC,
int p_child1,
int p,
int[] shell_table) |
(package private) static void |
SKP_Silk_shell_decoder(int[] pulses0,
int pulses0_offset,
SKP_Silk_range_coder_state sRC,
int pulses4)
Shell decoder, operates on one shell code frame of 16 pulses.
|
(package private) static void |
SKP_Silk_shell_encoder(SKP_Silk_range_coder_state sRC,
int[] pulses0,
int pulses0_offset)
Shell encoder, operates on one shell code frame of 16 pulses.
|
static void combine_pulses(int[] out, int out_offset, int[] in, int in_offset, int len)
out
- combined pulses vector [len]out_offset
- offset of valid data.in
- input vector [2 * len]in_offset
- offset of valid data.len
- number of OUTPUT samplesstatic void encode_split(SKP_Silk_range_coder_state sRC, int p_child1, int p, int[] shell_table)
sRC
- compressor data structurep_child1
- pulse amplitude of first child subframep
- pulse amplitude of current subframeshell_table
- table of shell cdfsstatic void decode_split(int[] p_child1, int p_child1_offset, int[] p_child2, int p_child2_offset, SKP_Silk_range_coder_state sRC, int p, int[] shell_table)
p_child1
- pulse amplitude of first child subframep_child1_offset
- offset of valid data.p_child2
- pulse amplitude of second child subframep_child2_offset
- offset of valid data.sRC
- compressor data structurep
- pulse amplitude of current subframeshell_table
- table of shell cdfsstatic void SKP_Silk_shell_encoder(SKP_Silk_range_coder_state sRC, int[] pulses0, int pulses0_offset)
sRC
- compressor data structure.pulses0
- data: nonnegative pulse amplitudes.pulses0_offset
- valid datastatic void SKP_Silk_shell_decoder(int[] pulses0, int pulses0_offset, SKP_Silk_range_coder_state sRC, int pulses4)
pulses0
- data: nonnegative pulse amplitudespulses0_offset
- offset of valid data.sRC
- compressor data structurepulses4
- number of pulses per pulse-subframe
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.