API Reference Manual  1.45.0
odp_comp_alg_capability_t Struct Reference

Compression algorithm capabilities. More...

#include <comp.h>

Collaboration diagram for odp_comp_alg_capability_t:
[legend]

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...
 

Detailed Description

Compression algorithm capabilities.

Definition at line 200 of file api/spec/comp.h.

Field Documentation

◆ max_level

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.

◆ compression_ratio

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.

See also
odp_percent_t

Definition at line 222 of file api/spec/comp.h.


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