Equalizer  1.12.0
Parallel Rendering Framework
eq::plugin::CompressorYUV Class Reference
+ Inheritance diagram for eq::plugin::CompressorYUV:
+ Collaboration diagram for eq::plugin::CompressorYUV:

Public Member Functions

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
 
- Public Member Functions inherited from eq::plugin::Compressor
 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 Public Member Functions

static void * getNewCompressor (const unsigned)
 
static void * getNewDecompressor (const unsigned)
 
static bool isCompatible (const GLEWContext *)
 
- Static Public Member Functions inherited from eq::plugin::Compressor
static void registerEngine (const Functions &)
 

Protected Attributes

GLuint _program
 
lunchbox::Bufferb buffer
 
- Protected Attributes inherited from eq::plugin::Compressor
Results _results
 The compressed data.
 
unsigned _nResults
 Number of elements used in _results.
 

Additional Inherited Members

- Public Types inherited from eq::plugin::Compressor
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
 

Detailed Description

Definition at line 34 of file compressorYUV.h.

Member Function Documentation

void eq::plugin::CompressorYUV::compress ( const void *  inData,
const eq_uint64_t  nPixels,
const bool  useAlpha 
)
inlineoverridevirtual

Compress data.

Parameters
inDatadata to compress.
nPixelsnumber data to compress.
useAlphause 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: