Method | Description | |
---|---|---|
Clamp ( double i, int l, int h ) : int | ||
Clamp ( int i, int l, int h ) : int | ||
DivideRoundUp ( int x, int y ) : int | ||
GetRamp ( int x, int offset ) : short | ||
Mean ( ) : int | ||
Median ( int a ) : int | ||
RoundShift ( int x, int y ) : int | ||
RoundUpPow2 ( int x, int y ) : int | ||
RoundUpShift ( int x, int y ) : int |
public static Clamp ( double i, int l, int h ) : int | ||
i | double | |
l | int | |
h | int | |
return | int |
public static Clamp ( int i, int l, int h ) : int | ||
i | int | |
l | int | |
h | int | |
return | int |
public static DivideRoundUp ( int x, int y ) : int | ||
x | int | |
y | int | |
return | int |
public static GetRamp ( int x, int offset ) : short | ||
x | int | |
offset | int | |
return | short |
public static RoundShift ( int x, int y ) : int | ||
x | int | |
y | int | |
return | int |
public static RoundUpPow2 ( int x, int y ) : int | ||
x | int | |
y | int | |
return | int |
public static RoundUpShift ( int x, int y ) : int | ||
x | int | |
y | int | |
return | int |