Implementation of the Decompressor class for the run-length decoding method.
More...
template<>
class daal::data_management::interface1::Decompressor< rle >
- References
-
void run |
( |
byte * |
outBlock, |
|
|
size_t |
size, |
|
|
size_t |
offset |
|
) |
| |
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 |
Performs run-length decoding of a data block
- Parameters
-
[out] | outBlock | Reference to the data block where decoding results are stored |
void setInputDataBlock |
( |
byte * |
inBlock, |
|
|
size_t |
size, |
|
|
size_t |
offset |
|
) |
| |
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 |
void setInputDataBlock |
( |
DataBlock & |
inBlock | ) |
|
|
inline |
Associates an input data block with a decompressor
- Parameters
-
[in] | inBlock | Reference to the data block to decode |
RLE compression parameters structure
The documentation for this class was generated from the following file: