class GifPixelsEncoder extends Object
Modifier and Type | Field | Description |
---|---|---|
(package private) int |
a_count |
|
(package private) byte[] |
accum |
|
(package private) static int |
BITS |
|
(package private) boolean |
clear_flg |
|
(package private) int |
ClearCode |
|
(package private) int[] |
codetab |
|
(package private) int |
cur_accum |
|
(package private) int |
cur_bits |
|
(package private) int |
EOFCode |
|
(package private) int |
free_ent |
|
(package private) int |
g_init_bits |
|
(package private) int |
hsize |
|
(package private) static int |
HSIZE |
|
(package private) int[] |
htab |
|
(package private) int[] |
masks |
|
(package private) int |
maxbits |
|
(package private) int |
maxcode |
|
(package private) int |
maxmaxcode |
|
(package private) int |
n_bits |
Constructor | Description |
---|---|
GifPixelsEncoder(int width,
int height,
byte[] pixels,
boolean interlaced,
int color_depth) |
Modifier and Type | Method | Description |
---|---|---|
(package private) void |
char_init() |
|
(package private) void |
char_out(byte c,
OutputStream outs) |
|
(package private) void |
cl_block(OutputStream outs) |
|
(package private) void |
cl_hash(int hsize) |
|
(package private) void |
compress(int init_bits,
OutputStream outs) |
|
(package private) void |
encode(OutputStream os) |
|
(package private) void |
flush_char(OutputStream outs) |
|
(package private) int |
MAXCODE(int n_bits) |
|
(package private) void |
output(int code,
OutputStream outs) |
static final int BITS
static final int HSIZE
int n_bits
int maxbits
int maxcode
int maxmaxcode
int[] htab
int[] codetab
int hsize
int free_ent
boolean clear_flg
int g_init_bits
int ClearCode
int EOFCode
int cur_accum
int cur_bits
int[] masks
int a_count
byte[] accum
GifPixelsEncoder(int width, int height, byte[] pixels, boolean interlaced, int color_depth)
void encode(OutputStream os) throws IOException
IOException
final int MAXCODE(int n_bits)
void compress(int init_bits, OutputStream outs) throws IOException
IOException
void output(int code, OutputStream outs) throws IOException
IOException
void cl_block(OutputStream outs) throws IOException
IOException
void cl_hash(int hsize)
void char_init()
void char_out(byte c, OutputStream outs) throws IOException
IOException
void flush_char(OutputStream outs) throws IOException
IOException