74 #ifndef MS_NUMPRESS_THROW_ON_OVERFLOW
75 #define MS_NUMPRESS_THROW_ON_OVERFLOW true
81 namespace MSNumpress {
136 const size_t dataSize,
137 unsigned char *result,
148 const std::vector<double> &data,
149 std::vector<unsigned char> &result,
167 const unsigned char *data,
168 const size_t dataSize,
182 const std::vector<unsigned char> &data,
183 std::vector<double> &result);
202 const size_t dataSize,
203 unsigned char *result);
219 const unsigned char *data,
220 const size_t dataSize,
240 const size_t dataSize,
241 unsigned char *result);
250 const std::vector<double> &data,
251 std::vector<unsigned char> &result);
268 const unsigned char *data,
269 const size_t dataSize,
283 const std::vector<unsigned char> &data,
284 std::vector<double> &result);
309 const size_t dataSize,
310 unsigned char *result,
321 const std::vector<double> &data,
322 std::vector<unsigned char> &result,
338 const unsigned char *data,
339 const size_t dataSize,
351 const std::vector<unsigned char> &data,
352 std::vector<double> &result);
size_t encodePic(const double *data, const size_t dataSize, unsigned char *result)
size_t encodeSlof(const double *data, const size_t dataSize, unsigned char *result, double fixedPoint)
double optimalLinearFixedPoint(const double *data, size_t dataSize)
size_t decodeLinear(const unsigned char *data, const size_t dataSize, double *result)
double optimalSlofFixedPoint(const double *data, size_t dataSize)
size_t decodeSlof(const unsigned char *data, const size_t dataSize, double *result)
size_t encodeLinear(const double *data, const size_t dataSize, unsigned char *result, double fixedPoint)
size_t encodeSafe(const double *data, const size_t dataSize, unsigned char *result)
size_t decodeSafe(const unsigned char *data, const size_t dataSize, double *result)
size_t decodePic(const unsigned char *data, const size_t dataSize, double *result)
double optimalLinearFixedPointMass(const double *data, size_t dataSize, double mass_acc)
Definition: MSNumpress.h:78