79 switch (laszip->
coder)
101 switch (items[i].type)
163 switch (items[i].type)
166 if (items[i].version == 1)
168 else if (items[i].version == 2)
174 if (items[i].version == 1)
176 else if (items[i].version == 2)
182 if (items[i].version == 1)
184 else if (items[i].version == 2)
190 if (items[i].version == 1)
196 if (items[i].version == 1)
198 else if (items[i].version == 2)
219 if (!instream)
return FALSE;
266 delta = target - chunk_totals[target_chunk];
295 delta = target - current;
298 else if (current > target)
305 else if (current < target)
307 delta = target - current;
317 if (current != target)
401 I64 chunk_table_start_position;
410 if ((chunk_table_start_position + 8) == chunks_start)
431 if (chunk_table_start_position == -1)
475 if (number_chunks > 0)
516 if (lower + 1 == upper)
return lower;
517 U32 mid = (lower+upper)/2;
I32 decompress(I32 iPred, U32 context=0)
LASreadItem ** readers_raw
virtual I64 tell() const =0
#define LASZIP_CODER_ARITHMETIC
virtual BOOL isSeekable() const =0
unsigned short compressor
BOOL setup(const U32 num_items, const LASitem *items, const LASzip *laszip=0)
virtual BOOL seek(const I64 position)=0
virtual void read(U8 *item)=0
LASreadItem ** readers_compressed
BOOL read(U8 *const *point)
BOOL seek(const U32 current, const U32 target)
virtual void get64bitsLE(U8 *bytes)=0
virtual BOOL init(ByteStreamIn *instream)=0
U32 search_chunk_table(const U32 index, const U32 lower, const U32 upper)
virtual void get32bitsLE(U8 *bytes)=0
BOOL init(ByteStreamIn *instream)
virtual BOOL seekEnd(const I64 distance=0)=0
#define LASZIP_COMPRESSOR_POINTWISE_CHUNKED