C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
Compressor< rle > Class Template Reference

Implementation of the Compressor class for the run-length encoding method. More...

Class Declaration

template<>
class daal::data_management::interface1::Compressor< rle >

References

Member Function Documentation

◆ run() [1/2]

void run ( byte *  outBlock,
size_t  size,
size_t  offset 
)
virtual

Performs run-length encoding of a data block

Parameters
[out]outBlockPointer to the data block where encoding results are stored. Must be at least size+offset bytes
[in]sizeNumber of bytes available in outBlock
[in]offsetOffset in bytes, the starting position for encoding in outBlock

Implements Compression.

◆ run() [2/2]

void run ( DataBlock outBlock)
inlinevirtual

Performs run-length encoding of a data block

Parameters
[out]outBlockReference to the data block where encoding results are stored

Implements Compression.

◆ setInputDataBlock() [1/2]

void setInputDataBlock ( byte *  inBlock,
size_t  size,
size_t  offset 
)
virtual

Associates an input data block with a compressor

Parameters
[in]inBlockPointer to the data block to encode. Must be at least size+offset bytes
[in]sizeNumber of bytes to encode in inBlock
[in]offsetOffset in bytes, the starting position for encoding in inBlock

Implements Compression.

◆ setInputDataBlock() [2/2]

void setInputDataBlock ( DataBlock inBlock)
inlinevirtual

Associates an input data block with a compressor

Parameters
[in]inBlockReference to the data block to encode

Implements Compression.

Member Data Documentation

◆ parameter

RLE compression parameters structure


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.