Equalizer
1.4.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 318 of file plugins/compressor.h.
eq_uint64_t EqCompressorInfo::capabilities |
Capabilities supported by the compressor.
Definition at line 344 of file plugins/compressor.h.
unsigned EqCompressorInfo::name |
unsigned EqCompressorInfo::outputTokenSize |
The size of one output token in bytes.
Definition at line 370 of file plugins/compressor.h.
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 367 of file plugins/compressor.h.
Compression quality (1.0f: loss-less, <1.0f: lossy).
Definition at line 347 of file plugins/compressor.h.
float EqCompressorInfo::ratio |
Approximate compression ratio (sizeCompressed/sizeIn).
Definition at line 350 of file plugins/compressor.h.
float EqCompressorInfo::speed |
Approximate compression speed relative to BYTE_RLE.
Definition at line 353 of file plugins/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 341 of file plugins/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 328 of file plugins/compressor.h.