107 std::vector<char> outputCharVector_;
177 return std::log2 (n_arg);
182 std::vector<std::uint64_t> cFreqTable_;
185 std::vector<char> outputCharVector_;
AdaptiveRangeCoder compression class
unsigned long decodeStreamToCharVector(std::istream &inputByteStream_arg, std::vector< char > &outputByteVector_arg)
Decode char stream to output vector.
unsigned long encodeCharVectorToStream(const std::vector< char > &inputByteVector_arg, std::ostream &outputByteStream_arg)
Encode char vector to output stream.
AdaptiveRangeCoder()
Empty constructor.
virtual ~AdaptiveRangeCoder()
Empty deconstructor.
StaticRangeCoder compression class
unsigned long decodeStreamToIntVector(std::istream &inputByteStream_arg, std::vector< unsigned int > &outputIntVector_arg)
Decode stream to output integer vector.
double Log2(double n_arg)
Helper function to calculate the binary logarithm.
unsigned long encodeCharVectorToStream(const std::vector< char > &inputByteVector_arg, std::ostream &outputByteStream_arg)
Encode char vector to output stream.
StaticRangeCoder()
Constructor.
unsigned long decodeStreamToCharVector(std::istream &inputByteStream_arg, std::vector< char > &outputByteVector_arg)
Decode char stream to output vector.
unsigned long encodeIntVectorToStream(std::vector< unsigned int > &inputIntVector_arg, std::ostream &outputByterStream_arg)
Encode integer vector to output stream.
virtual ~StaticRangeCoder()
Empty deconstructor.
Defines all the PCL and non-PCL macros used.
#define PCL_DEPRECATED(Major, Minor, Message)
macro for compatibility across compilers and help remove old deprecated items for the Major....