Function cwipc_new_encoder

Function Documentation

cwipc_encoder *cwipc_new_encoder(int version, cwipc_encoder_params *params, char **errorMessage, uint64_t apiVersion)

Create pointcloud decompressor.

Parameters:
  • version – Pass in CWIPC_ENCODER_PARAM_VERSION to ensure runtime compatibility.

  • params – Pointer to a structure with parameters than govern the encoding process.

  • errorMessage – Pointer to a string that will be filled with a message in case of errors.

  • apiVersion – Pass in CWIPC_API_VERSION to ensure dll compatibility.

Returns:

A cwipc_encoder object.