cavm.huffman

huffman coding

->hu-tucker

(->hu-tucker codes dictionary)
Positional factory function for class cavm.huffman.hu-tucker.

->huffman

(->huffman groups dictionary)
Positional factory function for class cavm.huffman.huffman.

byte-freqs

(byte-freqs rdr)

coded-dictionary

(coded-dictionary groups out)

combine-freqs

(combine-freqs)(combine-freqs arr0 arr1)

decode-range

(decode-range tree buff8 initialP out maxP)

decode-to

(decode-to tree buff8 initialP out stop)

dictionary

(dictionary groups)

display-dictionary

(display-dictionary dict)

encode-bytes

(encode-bytes output dict vec-of-arr)

Encoder

protocol

members

write

(write this out text)

write-dictionary

(write-dictionary this out)

ht-dict-len

(ht-dict-len buff32 offset32)

ht-tree

(ht-tree buff32 buff8 offset8)

huff-dict-len

(huff-dict-len buff32 offset32)

huff-tree

(huff-tree buff32 buff8 offset32)

insert-code

(insert-code tree code len sym)

make-hu-tucker

(make-hu-tucker items)

make-huffman

(make-huffman items)

map->hu-tucker

(map->hu-tucker m__6289__auto__)
Factory function for class cavm.huffman.hu-tucker, taking a map of keywords to field values.

map->huffman

(map->huffman m__6289__auto__)
Factory function for class cavm.huffman.huffman, taking a map of keywords to field values.

map-to-arr

(map-to-arr m)

update-freqs

(update-freqs freqs item)

write-int

(write-int i out)