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

Method LASwriteItemCompressed_GPSTIME11_v2

src/laswriteitemcompressed_v2.cpp:246–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244#define LASZIP_GPSTIME_MULTI_TOTAL (LASZIP_GPSTIME_MULTI - LASZIP_GPSTIME_MULTI_MINUS + 6)
245
246LASwriteItemCompressed_GPSTIME11_v2::LASwriteItemCompressed_GPSTIME11_v2(ArithmeticEncoder* enc)
247{
248 /* set encoder */
249 assert(enc);
250 this->enc = enc;
251 /* create entropy models and integer compressors */
252 m_gpstime_multi = enc->createSymbolModel(LASZIP_GPSTIME_MULTI_TOTAL);
253 m_gpstime_0diff = enc->createSymbolModel(6);
254 ic_gpstime = new IntegerCompressor(enc, 32, 9); // 32 bits, 9 contexts
255
256 last = 0;
257}
258
259LASwriteItemCompressed_GPSTIME11_v2::~LASwriteItemCompressed_GPSTIME11_v2()
260{

Callers

nothing calls this directly

Calls 1

createSymbolModelMethod · 0.45

Tested by

no test coverage detected