Point Cloud Library (PCL)
1.8.0
|
StaticRangeCoder compression class More...
#include <pcl/compression/entropy_range_coder.h>
Public Member Functions | |
StaticRangeCoder () | |
Constructor. More... | |
virtual | ~StaticRangeCoder () |
Empty deconstructor. More... | |
unsigned long | encodeIntVectorToStream (std::vector< unsigned int > &inputIntVector_arg, std::ostream &outputByterStream_arg) |
Encode integer vector to output stream. More... | |
unsigned long | decodeStreamToIntVector (std::istream &inputByteStream_arg, std::vector< unsigned int > &outputIntVector_arg) |
Decode stream to output integer vector. More... | |
unsigned long | encodeCharVectorToStream (const std::vector< char > &inputByteVector_arg, std::ostream &outputByteStream_arg) |
Encode char vector to output stream. More... | |
unsigned long | decodeStreamToCharVector (std::istream &inputByteStream_arg, std::vector< char > &outputByteVector_arg) |
Decode char stream to output vector. More... | |
Protected Types | |
typedef boost::uint32_t | DWord |
Protected Member Functions | |
double | Log2 (double n_arg) |
Helper function to calculate the binary logarithm. More... | |
StaticRangeCoder compression class
Definition at line 118 of file entropy_range_coder.h.
|
protected |
Definition at line 166 of file entropy_range_coder.h.
|
inline |
Constructor.
Definition at line 122 of file entropy_range_coder.h.
|
inlinevirtual |
Empty deconstructor.
Definition at line 129 of file entropy_range_coder.h.
References pcl::AdaptiveRangeCoder::decodeStreamToCharVector(), and pcl::AdaptiveRangeCoder::encodeCharVectorToStream().
unsigned long pcl::StaticRangeCoder::decodeStreamToCharVector | ( | std::istream & | inputByteStream_arg, |
std::vector< char > & | outputByteVector_arg | ||
) |
Decode char stream to output vector.
inputByteStream_arg | input stream of compressed data |
outputByteVector_arg | decompressed output vector |
Definition at line 601 of file entropy_range_coder.hpp.
unsigned long pcl::StaticRangeCoder::decodeStreamToIntVector | ( | std::istream & | inputByteStream_arg, |
std::vector< unsigned int > & | outputIntVector_arg | ||
) |
Decode stream to output integer vector.
inputByteStream_arg | input stream of compressed data |
outputIntVector_arg | decompressed output vector |
Definition at line 390 of file entropy_range_coder.hpp.
unsigned long pcl::StaticRangeCoder::encodeCharVectorToStream | ( | const std::vector< char > & | inputByteVector_arg, |
std::ostream & | outputByteStream_arg | ||
) |
Encode char vector to output stream.
inputByteVector_arg | input vector |
outputByteStream_arg | output stream containing compressed data |
Definition at line 492 of file entropy_range_coder.hpp.
unsigned long pcl::StaticRangeCoder::encodeIntVectorToStream | ( | std::vector< unsigned int > & | inputIntVector_arg, |
std::ostream & | outputByterStream_arg | ||
) |
Encode integer vector to output stream.
[in] | inputIntVector_arg | input vector |
[out] | outputByterStream_arg | output stream containing compressed data |
Definition at line 242 of file entropy_range_coder.hpp.
|
inlineprotected |
Helper function to calculate the binary logarithm.
n_arg | some value |
Definition at line 173 of file entropy_range_coder.h.