public class DecAPI
extends java.lang.Object
Constructor and Description |
---|
DecAPI() |
Modifier and Type | Method and Description |
---|---|
(package private) static int |
SKP_Silk_SDK_Decode(java.lang.Object decState,
SKP_SILK_SDK_DecControlStruct decControl,
int lostFlag,
byte[] inData,
int inData_offset,
int nBytesIn,
short[] samplesOut,
int samplesOut_offset,
short[] nSamplesOut)
Decode a frame.
|
(package private) static void |
SKP_Silk_SDK_get_TOC(byte[] inData,
short nBytesIn,
SKP_Silk_TOC_struct Silk_TOC)
Getting type of content for a packet.
|
(package private) static java.lang.String |
SKP_Silk_SDK_get_version()
Get the version number.
|
(package private) static int |
SKP_Silk_SDK_InitDecoder(java.lang.Object decState)
Reset the decoder state.
|
(package private) static void |
SKP_Silk_SDK_search_for_LBRR(byte[] inData,
int inData_offset,
short nBytesIn,
int lost_offset,
byte[] LBRRData,
int LBRRData_offset,
short[] nLBRRBytes)
Find LBRR information in a packet.
|
static int SKP_Silk_SDK_InitDecoder(java.lang.Object decState)
decState
- the decoder statestatic int SKP_Silk_SDK_Decode(java.lang.Object decState, SKP_SILK_SDK_DecControlStruct decControl, int lostFlag, byte[] inData, int inData_offset, int nBytesIn, short[] samplesOut, int samplesOut_offset, short[] nSamplesOut)
decState
- the decoder state.decControl
- the decoder control.lostFlag
- the lost flag. 0: no loss; 1: loss.inData
- encoding input vector.inData_offset
- the actual data offset in the input vector.nBytesIn
- number of input bytes.samplesOut
- decoded output speech vector.samplesOut_offset
- the actual data offset in the output vector.nSamplesOut
- number of samples.static void SKP_Silk_SDK_search_for_LBRR(byte[] inData, int inData_offset, short nBytesIn, int lost_offset, byte[] LBRRData, int LBRRData_offset, short[] nLBRRBytes)
inData
- encoded input vector.inData_offset
- offset of the valid data.nBytesIn
- number of input bytes.lost_offset
- offset from lost packet.LBRRData
- LBRR payload.LBRRData_offset
- offset of the valid data.nLBRRBytes
- number of LBRR bytes.static void SKP_Silk_SDK_get_TOC(byte[] inData, short nBytesIn, SKP_Silk_TOC_struct Silk_TOC)
inData
- encoded input vector.nBytesIn
- number of input bytes.Silk_TOC
- type of content.static java.lang.String SKP_Silk_SDK_get_version()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.