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

Method ArithmeticEncoder

src/arithmeticencoder.cpp:105–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103#include "arithmeticmodel.hpp"
104
105ArithmeticEncoder::ArithmeticEncoder()
106{
107 outstream = 0;
108 base = 0;
109 endbyte = 0;
110 length = 0;
111 outbyte = 0;
112
113 outbuffer = (U8*)malloc_las(sizeof(U8) * 2 * AC_BUFFER_SIZE);
114 endbuffer = outbuffer + 2 * AC_BUFFER_SIZE;
115}
116
117ArithmeticEncoder::~ArithmeticEncoder()
118{

Callers

nothing calls this directly

Calls 1

malloc_lasFunction · 0.85

Tested by

no test coverage detected