| 306 | } |
| 307 | |
| 308 | bool LASzip::request_compatibility_mode(const U16 requested_compatibility_mode) |
| 309 | { |
| 310 | if (num_items != 0) return return_error("request compatibility mode before calling setup()"); |
| 311 | if (requested_compatibility_mode > 1) |
| 312 | { |
| 313 | return return_error("compatibility mode larger than 1 not supported"); |
| 314 | } |
| 315 | if (requested_compatibility_mode) |
| 316 | { |
| 317 | options = options | 0x00000001; |
| 318 | } |
| 319 | else |
| 320 | { |
| 321 | options = options & 0xFFFFFFFE; |
| 322 | } |
| 323 | return true; |
| 324 | } |
| 325 | |
| 326 | bool LASzip::setup(const U8 point_type, const U16 point_size, const U16 compressor) |
| 327 | { |
no outgoing calls
no test coverage detected