org.mobicents.media.server.impl.dsp.audio.gsm
Class BasicFunctions
java.lang.Object
org.mobicents.media.server.impl.dsp.audio.gsm.BasicFunctions
public class BasicFunctions
- extends Object
- Author:
- oifa yulian
|
Field Summary |
static short[] |
A
|
static short[] |
B
|
static short[] |
DLB
|
static short[] |
FAC
|
static short[] |
H
|
static short[] |
INVA
|
static short[] |
MAC
|
static short[] |
MIC
|
static short[] |
NRFAC
|
static short[] |
QLB
|
|
Method Summary |
static short |
abs(short var1)
|
static short |
add(short var1,
short var2)
|
static int |
checkIntOverflow(long value)
|
static short |
checkOverflow(int value)
|
static short |
div(short var1,
short var2)
|
static int |
L_add(int var1,
int var2)
|
static int |
L_mult(short var1,
short var2)
|
static int |
L_sub(int var1,
int var2)
|
static short |
mult_r(short var1,
short var2)
|
static short |
mult(short var1,
short var2)
|
static short |
norm(int var1)
|
static short |
sub(short var1,
short var2)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
A
public static final short[] A
B
public static final short[] B
MIC
public static final short[] MIC
MAC
public static final short[] MAC
INVA
public static final short[] INVA
DLB
public static final short[] DLB
QLB
public static final short[] QLB
H
public static final short[] H
NRFAC
public static final short[] NRFAC
FAC
public static final short[] FAC
BasicFunctions
public BasicFunctions()
checkOverflow
public static short checkOverflow(int value)
checkIntOverflow
public static int checkIntOverflow(long value)
add
public static short add(short var1,
short var2)
sub
public static short sub(short var1,
short var2)
mult
public static short mult(short var1,
short var2)
mult_r
public static short mult_r(short var1,
short var2)
abs
public static short abs(short var1)
div
public static short div(short var1,
short var2)
L_mult
public static int L_mult(short var1,
short var2)
L_add
public static int L_add(int var1,
int var2)
L_sub
public static int L_sub(int var1,
int var2)
norm
public static short norm(int var1)
throws ArithmeticException
- Throws:
ArithmeticException
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.