Package com.jcraft.jzlib
Class Tree
- java.lang.Object
-
- com.jcraft.jzlib.Tree
-
final class Tree extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static byte[]
_dist_code
(package private) static byte[]
_length_code
(package private) static int[]
base_dist
(package private) static int[]
base_length
private static int
BL_CODES
(package private) static byte[]
bl_order
(package private) static int
Buf_size
private static int
D_CODES
(package private) static int
DIST_CODE_LEN
(package private) short[]
dyn_tree
(package private) static int
END_BLOCK
(package private) static int[]
extra_blbits
(package private) static int[]
extra_dbits
(package private) static int[]
extra_lbits
private static int
HEAP_SIZE
private static int
L_CODES
private static int
LENGTH_CODES
private static int
LITERALS
private static int
MAX_BITS
(package private) static int
MAX_BL_BITS
(package private) int
max_code
(package private) static int
REP_3_6
(package private) static int
REPZ_11_138
(package private) static int
REPZ_3_10
(package private) StaticTree
stat_desc
-
Constructor Summary
Constructors Constructor Description Tree()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
bi_reverse(int code, int len)
(package private) void
build_tree(Deflate s)
(package private) static int
d_code(int dist)
(package private) void
gen_bitlen(Deflate s)
private static void
gen_codes(short[] tree, int max_code, short[] bl_count, short[] next_code)
-
-
-
Field Detail
-
MAX_BITS
private static final int MAX_BITS
- See Also:
- Constant Field Values
-
BL_CODES
private static final int BL_CODES
- See Also:
- Constant Field Values
-
D_CODES
private static final int D_CODES
- See Also:
- Constant Field Values
-
LITERALS
private static final int LITERALS
- See Also:
- Constant Field Values
-
LENGTH_CODES
private static final int LENGTH_CODES
- See Also:
- Constant Field Values
-
L_CODES
private static final int L_CODES
- See Also:
- Constant Field Values
-
HEAP_SIZE
private static final int HEAP_SIZE
- See Also:
- Constant Field Values
-
MAX_BL_BITS
static final int MAX_BL_BITS
- See Also:
- Constant Field Values
-
END_BLOCK
static final int END_BLOCK
- See Also:
- Constant Field Values
-
REP_3_6
static final int REP_3_6
- See Also:
- Constant Field Values
-
REPZ_3_10
static final int REPZ_3_10
- See Also:
- Constant Field Values
-
REPZ_11_138
static final int REPZ_11_138
- See Also:
- Constant Field Values
-
extra_lbits
static final int[] extra_lbits
-
extra_dbits
static final int[] extra_dbits
-
extra_blbits
static final int[] extra_blbits
-
bl_order
static final byte[] bl_order
-
Buf_size
static final int Buf_size
- See Also:
- Constant Field Values
-
DIST_CODE_LEN
static final int DIST_CODE_LEN
- See Also:
- Constant Field Values
-
_dist_code
static final byte[] _dist_code
-
_length_code
static final byte[] _length_code
-
base_length
static final int[] base_length
-
base_dist
static final int[] base_dist
-
dyn_tree
short[] dyn_tree
-
max_code
int max_code
-
stat_desc
StaticTree stat_desc
-
-
Method Detail
-
d_code
static int d_code(int dist)
-
gen_bitlen
void gen_bitlen(Deflate s)
-
build_tree
void build_tree(Deflate s)
-
gen_codes
private static final void gen_codes(short[] tree, int max_code, short[] bl_count, short[] next_code)
-
bi_reverse
private static final int bi_reverse(int code, int len)
-
-