Pression
1.2.0
Compressor, decompressor, uploader and downloader plugins
|
Information about one compressor. More...
#include <compressor.h>
Public Attributes | |
unsigned | version |
The compressor API version used. More... | |
unsigned | name |
The type name of the compressor. More... | |
unsigned | tokenType |
The input token type supported by the compressor. More... | |
eq_uint64_t | capabilities |
Capabilities supported by the compressor. More... | |
float | quality |
Compression quality (1.0f: loss-less, <1.0f: lossy). More... | |
float | ratio |
Approximate compression ratio (sizeCompressed/sizeIn). More... | |
float | speed |
Approximate compression speed relative to BYTE_RLE. More... | |
unsigned | outputTokenType |
The output token type of a plugin. More... | |
unsigned | outputTokenSize |
The size of one output token in bytes. More... | |
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.
float EqCompressorInfo::quality |
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.