Implementation of the Compressor class for the zlib compression method.
More...
template<>
class daal::data_management::interface1::Compressor< zlib >
- References
-
void run |
( |
byte * |
outBlock, |
|
|
size_t |
size, |
|
|
size_t |
offset |
|
) |
| |
Performs zlib compression of a data block
- Parameters
-
[out] | outBlock | Pointer to the data block where compression 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 compression in outBlock |
Performs zlib compression of a data block
- Parameters
-
[out] | outBlock | Reference to the data block where compression results are stored |
void setInputDataBlock |
( |
byte * |
inBlock, |
|
|
size_t |
size, |
|
|
size_t |
offset |
|
) |
| |
Associates an input data block with a compressor
- Parameters
-
[in] | inBlock | Pointer to the data block to compress. Must be at least size+offset bytes |
[in] | size | Number of bytes to compress in inBlock |
[in] | offset | Offset in bytes, the starting position for compression in inBlock |
void setInputDataBlock |
( |
DataBlock & |
inBlock | ) |
|
|
inline |
Associates an input data block with a compressor
- Parameters
-
[in] | inBlock | Reference to the data block to compress |
Zlib compression parameters structure
The documentation for this class was generated from the following file: