LzwEncoder

gif.LzwEncoder (Class)

Instance Members

gif
reset(pixels: haxe.io.UInt8Array, color_depth: Int): Void
Name Type
pixels haxe.io.UInt8Array
color_depth Int

gif
encode(os: haxe.io.Output): Void
Name Type
os haxe.io.Output

gif
new(): Void

Private Members

gif
EOF: Int

gif
BITS: Int

gif
HSIZE: Int


gif
initCodeSize: Int

gif
curPixel: Int

gif
n_bits: Int

gif
maxbits: Int

gif
maxcode: Int

gif
maxmaxcode: Int



gif
hsize: Int

gif
free_ent: Int

gif
clear_flg: Bool

gif
g_init_bits: Int

gif
ClearCode: Int

gif
EOFCode: Int

gif
cur_accum: Int

gif
cur_bits: Int

gif
masks: Array<Int>

gif
a_count: Int


gif
add(c: UInt, out: haxe.io.Output): Void
Name Type
c UInt
out haxe.io.Output

gif
clearTable(out: haxe.io.Output): Void
Name Type
out haxe.io.Output

gif
resetCodeTable(hsize: Int): Void
Name Type
hsize Int

gif
compress(init_bits: Int, out: haxe.io.Output): Void
Name Type
init_bits Int
out haxe.io.Output

gif
flush(out: haxe.io.Output): Void
Name Type
out haxe.io.Output

gif
maxCode(n_bits: Int): Int
Name Type
n_bits Int
Returns
Int

gif
nextPixel(): Int
Returns
Int

gif
output(code: Int, out: haxe.io.Output): Void
Name Type
code Int
out haxe.io.Output