MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / addHuffmanSymbol

Function addHuffmanSymbol

src/lodepng.cpp:1288–1291  ·  view source on GitHub ↗

bitlen is the size in bits of the code*/

Source from the content-addressed store, hash-verified

1286
1287/*bitlen is the size in bits of the code*/
1288static void addHuffmanSymbol(size_t* bp, ucvector* compressed, unsigned code, unsigned bitlen)
1289{
1290 addBitsToStreamReversed(bp, compressed, code, bitlen);
1291}
1292
1293/*search the index in the array, that has the largest value smaller than or equal to the given value,
1294given array must be sorted (if no value is smaller, it returns the size of the given array)*/

Callers 3

writeLZ77dataFunction · 0.85
deflateDynamicFunction · 0.85
deflateFixedFunction · 0.85

Calls 1

addBitsToStreamReversedFunction · 0.85

Tested by

no test coverage detected