Equalizer
1.2.1
|
Information about one compressor. More...
#include <compressor.h>
Public Attributes | |
unsigned | version |
The compressor API version used. | |
unsigned | name |
The type name of the compressor. | |
unsigned | tokenType |
The input token type supported by the compressor. | |
eq_uint64_t | capabilities |
Capabilities supported by the compressor. | |
float | quality |
Compression quality (1.0f: loss-less, <1.0f: lossy). | |
float | ratio |
Approximate compression ratio (sizeCompressed/sizeIn). | |
float | speed |
Approximate compression speed relative to BYTE_RLE. | |
unsigned | outputTokenType |
The output token type of a plugin. | |
unsigned | outputTokenSize |
The size of one output token in bytes. |
Information about one compressor.
Definition at line 290 of file compressor.h.
eq_uint64_t EqCompressorInfo::capabilities |
unsigned EqCompressorInfo::name |
unsigned EqCompressorInfo::outputTokenSize |
unsigned EqCompressorInfo::outputTokenType |
The output token type of a plugin.
The output token type describes the format of the data produced by a downloader and consumed by the uploader of the same compressor.
A CPU compressor might set the output token type if its decompressor produces an output different from the input.
If this parameter is set, outputTokenSize has to be set as well.
Definition at line 339 of file compressor.h.
Compression quality (1.0f: loss-less, <1.0f: lossy).
Definition at line 319 of file compressor.h.
float EqCompressorInfo::ratio |
Approximate compression ratio (sizeCompressed/sizeIn).
Definition at line 322 of file compressor.h.
float EqCompressorInfo::speed |
Approximate compression speed relative to BYTE_RLE.
Definition at line 325 of file compressor.h.
unsigned EqCompressorInfo::tokenType |
The input token type supported by the compressor.
The input token type describes the format of the input data for a compressor or downloader and the format of the output data for the decompressor or uploader of the same compressor.
Definition at line 313 of file compressor.h.
unsigned EqCompressorInfo::version |
The compressor API version used.
Set on input to the API version used in Equalizer. Has to be set to EQ_COMPRESSOR_VERSION on output to declare the API version used to compile the DSO.
Definition at line 300 of file compressor.h.