public class Codec
extends java.lang.Object
| Constructor and Description |
|---|
Codec() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
decode(byte[] encoded,
short[] lin,
int size) |
int |
encode(short[] lin,
int offset,
int size,
byte[] encoded) |
int |
encodeByte(byte[] lin,
int offset,
int size,
byte[] encoded) |
int |
getFrameSize() |
int |
open(int mode,
int quality) |
public int encodeByte(byte[] lin,
int offset,
int size,
byte[] encoded)
public int open(int mode,
int quality)
public int getFrameSize()
public int decode(byte[] encoded,
short[] lin,
int size)
public int encode(short[] lin,
int offset,
int size,
byte[] encoded)
public void close()