|
void | compress (const void *const, const eq_uint64_t, const bool) override |
| Compress data. More...
|
|
void | download (const GLEWContext *, const eq_uint64_t *, const unsigned, const eq_uint64_t, eq_uint64_t *, void **) override |
|
void | upload (const GLEWContext *, const void *, const eq_uint64_t *, const eq_uint64_t, const eq_uint64_t *, const unsigned) override |
|
| Compressor () |
| Construct a new compressor. More...
|
|
const Results & | getResults () const |
|
unsigned | getNResults () const |
|
virtual void | download (const GLEWContext *glewContext, const eq_uint64_t inDims[4], const unsigned source, const eq_uint64_t flags, eq_uint64_t outDims[4], void **out) |
| Transfer frame buffer data into main memory. More...
|
|
virtual void | upload (const GLEWContext *glewContext, const void *buffer, const eq_uint64_t inDims[4], const eq_uint64_t flags, const eq_uint64_t outDims[4], const unsigned destination) |
| Transfer data from main memory into GPU memory. More...
|
|
virtual void | startDownload (const GLEWContext *glewContext, const eq_uint64_t inDims[4], const unsigned source, const eq_uint64_t flags) |
| Start transferring frame buffer data into main memory. More...
|
|
virtual void | finishDownload (const GLEWContext *glewContext, const eq_uint64_t inDims[4], const eq_uint64_t flags, eq_uint64_t outDims[4], void **out) |
| Finish transferring frame buffer data into main memory. More...
|
|
|
static void * | getNewCompressor (const unsigned) |
|
static void * | getNewDecompressor (const unsigned) |
|
static bool | isCompatible (const GLEWContext *) |
|
static void | registerEngine (const Functions &) |
|
|
GLuint | _program |
|
lunchbox::Bufferb | buffer |
|
Results | _results |
| The compressed data.
|
|
unsigned | _nResults |
| Number of elements used in _results.
|
|
|
typedef void(* | CompressorGetInfo_t )(EqCompressorInfo *const ) |
|
typedef void *(* | NewCompressor_t )(const unsigned) |
|
typedef void(* | Decompress_t )(const void *const *, const eq_uint64_t *const, const unsigned, void *const, const eq_uint64_t, const bool) |
|
typedef bool(* | IsCompatible_t )(const GLEWContext *) |
|
typedef lunchbox::Bufferb | Result |
|
typedef std::vector< Result * > | Results |
|
Definition at line 34 of file compressorYUV.h.
void eq::plugin::CompressorYUV::compress |
( |
const void * |
inData, |
|
|
const eq_uint64_t |
nPixels, |
|
|
const bool |
useAlpha |
|
) |
| |
|
inlineoverridevirtual |
Compress data.
- Parameters
-
inData | data to compress. |
nPixels | number data to compress. |
useAlpha | use alpha channel in compression. |
Reimplemented from eq::plugin::Compressor.
Definition at line 45 of file compressorYUV.h.
The documentation for this class was generated from the following file: