MCPcopy Create free account
hub / github.com/LAStools/LAStools / LASwriteItemCompressed_RGB12_v1

Method LASwriteItemCompressed_RGB12_v1

LASzip/src/laswriteitemcompressed_v1.cpp:428–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426*/
427
428LASwriteItemCompressed_RGB12_v1::LASwriteItemCompressed_RGB12_v1(ArithmeticEncoder* enc)
429{
430 /* set encoder */
431 assert(enc);
432 this->enc = enc;
433
434 /* create models and integer compressors */
435 m_byte_used = enc->createSymbolModel(64);
436 ic_rgb = new IntegerCompressor(enc, 8, 6);
437
438 /* create last item */
439 last_item = new U8[6];
440}
441
442LASwriteItemCompressed_RGB12_v1::~LASwriteItemCompressed_RGB12_v1()
443{

Callers

nothing calls this directly

Calls 1

createSymbolModelMethod · 0.45

Tested by

no test coverage detected