MCPcopy Create free account
hub / github.com/PDAL/PDAL / baseCount

Function baseCount

io/private/las/Header.cpp:15–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13{
14
15int baseCount(int format)
16{
17 // LAZ screws with the high bits of the format, so we mask down to the low four bits.
18 switch (format & Header::FormatMask)
19 {
20 case 0:
21 return 20;
22 case 1:
23 return 28;
24 case 2:
25 return 26;
26 case 3:
27 return 34;
28 case 6:
29 return 30;
30 case 7:
31 return 36;
32 case 8:
33 return 38;
34 default:
35 return 0;
36 }
37}
38
39void Header::fill(const char *buf, size_t bufsize)
40{

Callers 8

preparedMethod · 0.85
fetchEbVlrMethod · 0.85
basePointLenMethod · 0.85
validateMethod · 0.85
ebCountMethod · 0.85
baseCountMethod · 0.85
writeCompressedMethod · 0.85
OutputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected