A C++ class to handle one decompressor plugin instance.
More...
#include <decompressor.h>
|
| Decompressor () |
| Construct a new, invalid decompressor instance. More...
|
|
| Decompressor (PluginRegistry &from, const uint32_t name) |
| Construct a new decompressor instance. More...
|
|
virtual | ~Decompressor () |
| Destruct this decompressor. More...
|
|
bool | isGood () const |
|
| operator bool_t () const |
|
bool | operator! () const |
|
bool | uses (const uint32_t name) const |
|
const EqCompressorInfo & | getInfo () const |
|
bool | setup (PluginRegistry &from, const uint32_t name) |
| Set up a new, named decompressor instance. More...
|
|
void | clear () |
| Reset to EQ_COMPRESSOR_NONE. More...
|
|
void | decompress (const void *const *in, const uint64_t *const inSizes, const unsigned numInputs, void *const out, uint64_t outDim[2]) |
| Decompress one-dimensional data. More...
|
|
bool | decompress (const CompressorResult &input, void *const out, uint64_t pvpOut[4], const uint64_t flags) |
| Decompress two-dimensional data. More...
|
|
void | decompress (const void *const *in, const uint64_t *const inSizes, const unsigned numInputs, void *const out, uint64_t pvpOut[4], const uint64_t flags) LB_DEPRECATED |
|
A C++ class to handle one decompressor plugin instance.
Example:
Definition at line 36 of file decompressor.h.
lunchbox::Decompressor::Decompressor |
( |
| ) |
|
Construct a new, invalid decompressor instance.
- Version
- 1.7.1
lunchbox::Decompressor::Decompressor |
( |
PluginRegistry & |
from, |
|
|
const uint32_t |
name |
|
) |
| |
Construct a new decompressor instance.
- Parameters
-
from | the plugin registry. |
name | the name of the decompressor. |
- Version
- 1.7.1
virtual lunchbox::Decompressor::~Decompressor |
( |
| ) |
|
|
virtual |
Destruct this decompressor.
- Version
- 1.7.1
void lunchbox::Decompressor::clear |
( |
| ) |
|
Reset to EQ_COMPRESSOR_NONE.
- Version
- 1.7.1
void lunchbox::Decompressor::decompress |
( |
const void *const * |
in, |
|
|
const uint64_t *const |
inSizes, |
|
|
const unsigned |
numInputs, |
|
|
void *const |
out, |
|
|
uint64_t |
outDim[2] |
|
) |
| |
Decompress one-dimensional data.
- Parameters
-
in | the pointer to an array of input data pointers |
inSizes | the array of input data sizes in bytes |
numInputs | the number of input data elements |
out | the pointer to a pre-allocated buffer for the uncompressed output result. |
outDim | the dimensions of the output data. |
- Version
- 1.7.1
bool lunchbox::Decompressor::decompress |
( |
const CompressorResult & |
input, |
|
|
void *const |
out, |
|
|
uint64_t |
pvpOut[4], |
|
|
const uint64_t |
flags |
|
) |
| |
Decompress two-dimensional data.
The output is not modified on error.
- Parameters
-
input | the compressed data |
out | the pointer to a pre-allocated buffer for the uncompressed output result. |
pvpOut | the dimensions of the output data. |
flags | capability flags for the decompression. |
- Returns
- true on success, false otherwise
- Version
- 1.9.1
- Returns
- the information about the allocated instance.
- Version
- 1.7.1
bool lunchbox::Decompressor::isGood |
( |
| ) |
const |
lunchbox::Decompressor::operator bool_t |
( |
| ) |
const |
|
inline |
- Returns
- true if the instance is usable, false otherwise.
- Version
- 1.9.1
Definition at line 63 of file decompressor.h.
References isGood().
bool lunchbox::Decompressor::operator! |
( |
| ) |
const |
|
inline |
- Returns
- true if the instance is not usable.
- Version
- 1.9.1
Definition at line 66 of file decompressor.h.
References isGood().
bool lunchbox::Decompressor::setup |
( |
PluginRegistry & |
from, |
|
|
const uint32_t |
name |
|
) |
| |
Set up a new, named decompressor instance.
- Parameters
-
from | the plugin registry. |
name | the name of the decompressor. |
- Returns
- true on success, false otherwise.
- Version
- 1.7.1
bool lunchbox::Decompressor::uses |
( |
const uint32_t |
name | ) |
const |
- Returns
- true if the instance is usable for the given name.
- Version
- 1.7.1
The documentation for this class was generated from the following file: