API Reference Manual
1.46.0
|
Compression algorithm capabilities. More...
#include <comp.h>
Data Fields | |
uint32_t | max_level |
Maximum compression level supported by implementation of this algorithm. More... | |
odp_comp_hash_algos_t | hash_algo |
Supported hash algorithms. | |
odp_percent_t | compression_ratio |
Compression ratio Optimal compression operation ratio for this algorithm. More... | |
Compression algorithm capabilities.
Definition at line 200 of file api/spec/comp.h.
uint32_t odp_comp_alg_capability_t::max_level |
Maximum compression level supported by implementation of this algorithm.
Indicates number of compression levels supported by implementation. Valid range from (1 ... max_level)
Definition at line 205 of file api/spec/comp.h.
odp_percent_t odp_comp_alg_capability_t::compression_ratio |
Compression ratio Optimal compression operation ratio for this algorithm.
This is an estimate of maximum compression operation output for this algorithm. It is expressed as a percentage of maximum expected output data size with respect to input data size. i.e a value of 200% denotes the output data is 2x times the input data size. This is an optimal/most case estimate and it is possible that the percentage of output data produced might be greater than this value.
Definition at line 222 of file api/spec/comp.h.