MCPcopy Create free account
hub / github.com/LASzip/LASzip / decompress

Method decompress

src/integercompressor.cpp:320–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320I32 IntegerCompressor::decompress(I32 pred, U32 context)
321{
322 assert(dec);
323 I32 real = pred + readCorrector(mBits[context]);
324 if (real < 0) real += corr_range;
325 else if ((U32)(real) >= corr_range) real -= corr_range;
326 return real;
327}
328
329/*
330static const char log_table256[256] =

Callers 7

readMethod · 0.80
read_gps_timeMethod · 0.80
read_chunk_tableMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
read_gps_timeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected