Implementation of the Decompressor class for the run-length decoding method.
More...
template<>
class daal::data_management::interface1::Decompressor< rle >
- References
-
◆ run() [1/2]
void run |
( |
byte * |
outBlock, |
|
|
size_t |
size, |
|
|
size_t |
offset |
|
) |
| |
|
virtual |
Performs run-length decoding of a data block
- Parameters
-
[out] | outBlock | Pointer to the data block where decoding results are stored. Must be at least size+offset bytes |
[in] | size | Number of bytes available in outBlock |
[in] | offset | Offset in bytes, the starting position for decoding in outBlock |
Implements Compression.
◆ run() [2/2]
Performs run-length decoding of a data block
- Parameters
-
[out] | outBlock | Reference to the data block where decoding 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 decompressor
- Parameters
-
[in] | inBlock | Pointer to the data block to decode. Must be at least size+offset bytes |
[in] | size | Number of bytes to decode in inBlock |
[in] | offset | Offset in bytes, the starting position for decoding in inBlock |
Implements Compression.
◆ setInputDataBlock() [2/2]
void setInputDataBlock |
( |
DataBlock & |
inBlock | ) |
|
|
inlinevirtual |
Associates an input data block with a decompressor
- Parameters
-
[in] | inBlock | Reference to the data block to decode |
Implements Compression.
◆ parameter
RLE compression parameters structure
The documentation for this class was generated from the following file: